Przeglądaj źródła

优化article的样式

bhikkhu-kosalla-china 1 rok temu
rodzic
commit
61a207eb63

+ 8 - 7
dashboard/src/components/article/article.css

@@ -6,28 +6,29 @@ h5,
 h6 {
   font-weight: 700;
 }
-.pcd_article h2 {
+.pcd_article h1 {
   margin-top: 1em;
-  font-size: 28px;
+  font-size: 27px !important;
   border-bottom: 1px solid gray;
 }
 .pcd_article h2 {
   margin-top: 1em;
-  font-size: 22px;
+  font-size: 24px !important;
   border-bottom: 1px solid gray;
 }
 .pcd_article h3 {
   margin-top: 0.5em;
-  font-size: 16px;
+  font-size: 22px !important;
 }
 .pcd_article h4 {
-  font-size: 100%;
+  font-size: 20px !important;
 }
 .pcd_article h5 {
-  font-size: 100%;
+  font-size: 18px !important;
 }
 .pcd_article h6 {
-  font-size: 100%;
+  font-size: 16px !important;
+  font-weight: 700;
 }
 .pcd_article blockquote {
   margin-left: 1em;

+ 1 - 1
dashboard/src/theme/antd.dark.css

@@ -72,7 +72,7 @@ h5,
 h6 {
   margin-top: 0;
   margin-bottom: 0.5em;
-  color: rgba(255, 255, 255, 0.85);
+  color: #000000d9;
   font-weight: 500;
 }
 p {