소스 검색

minor print style tweaks

Heydon Pickering 8 년 전
부모
커밋
d96be1e072
3개의 변경된 파일48개의 추가작업 그리고 6개의 파일을 삭제
  1. 24 3
      docs/css/styles.css
  2. 0 0
      docs/service-worker.js
  3. 24 3
      themes/infusion/static/css/styles.css

+ 24 - 3
docs/css/styles.css

@@ -684,9 +684,13 @@ pre[class*=language-] code * {
   padding: 1.5rem 0 0.75rem;
 }
 
-.expandable-section + .expandable-section {
-  margin-top: 0;
-  border-top: 0;
+@media screen {
+
+  .expandable-section + .expandable-section {
+    margin-top: 0;
+    border-top: 0;
+  }
+
 }
 
 [data-expands] {
@@ -940,6 +944,23 @@ h1 svg {
     padding-left: 0;
   }
 
+  .expandable-section {
+    border: 0;
+    padding: 0;
+  }
+
+  .expandable-section + p {
+    margin-top: 0.75rem;
+  }
+
+  [id^="expandable-"] {
+    display: block;
+  }
+
+  [data-expands] svg {
+    display: none;
+  }
+
   main * {
     page-break-inside: avoid;
   }

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
docs/service-worker.js


+ 24 - 3
themes/infusion/static/css/styles.css

@@ -684,9 +684,13 @@ pre[class*=language-] code * {
   padding: 1.5rem 0 0.75rem;
 }
 
-.expandable-section + .expandable-section {
-  margin-top: 0;
-  border-top: 0;
+@media screen {
+
+  .expandable-section + .expandable-section {
+    margin-top: 0;
+    border-top: 0;
+  }
+
 }
 
 [data-expands] {
@@ -940,6 +944,23 @@ h1 svg {
     padding-left: 0;
   }
 
+  .expandable-section {
+    border: 0;
+    padding: 0;
+  }
+
+  .expandable-section + p {
+    margin-top: 0.75rem;
+  }
+
+  [id^="expandable-"] {
+    display: block;
+  }
+
+  [data-expands] svg {
+    display: none;
+  }
+
   main * {
     page-break-inside: avoid;
   }

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.