Jelajahi Sumber

[docs] Update pro badge, h2 and blockquote styles

DarthSim 1 tahun lalu
induk
melakukan
ee25c32ba0
1 mengubah file dengan 10 tambahan dan 2 penghapusan
  1. 10 2
      docs/assets/style.css

+ 10 - 2
docs/assets/style.css

@@ -23,6 +23,9 @@
   --code-theme-background: var(--white-5);
   --code-inline-background: var(--white-20);
 
+  --blockquote-background: var(--white-5);
+  --blockquote-border-width: 0 0 0 2px;
+
   --heading-font-family: 'Roboto Condensed',sans-serif;
   --heading-h1-font-weight: 700;
   --heading-h2-font-weight: 700;
@@ -30,6 +33,9 @@
   --heading-h4-font-weight: 700;
   --heading-h5-font-weight: 700;
 
+  --heading-h2-border-color: var(--white-20);
+  --heading-h2-border-width: 0 0 2px;
+
   --link-color: var(--theme-color);
 
   --sidebar-background: var(--white-5);
@@ -199,8 +205,10 @@
 }
 
 h1 .badge img, h3 .badge img, h3 .badge img, h4 .badge img, h5 .badge img {
-  height: 0.8em;
-  margin-top: -0.20em;
+  display: inline-block;
+  position: relative;
+  height: .8em;
+  top: .125em;
   margin-left: .1em;
 }