Explorar o código

feat: scope figure style

Carson hai 9 meses
pai
achega
cccd635c97
Modificáronse 1 ficheiros con 8 adicións e 6 borrados
  1. 8 6
      .vitepress/theme/custom-doc.scss

+ 8 - 6
.vitepress/theme/custom-doc.scss

@@ -1,9 +1,11 @@
-figure {
-  text-align: center;
+.vp-doc {
+  figure {
+    text-align: center;
 
-  figcaption {
-    color: var(--vp-c-text-3);
-    font-size: 0.875em;
-    margin-top: 5px;
+    figcaption {
+      color: var(--vp-c-text-3);
+      font-size: 0.875em;
+      margin-top: 5px;
+    }
   }
 }