소스 검색

feat: scope figure style

Carson 11 달 전
부모
커밋
cccd635c97
1개의 변경된 파일8개의 추가작업 그리고 6개의 파일을 삭제
  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;
+    }
   }
 }