Procházet zdrojové kódy

minor print style tweaks

Heydon Pickering před 8 roky
rodič
revize
d96be1e072

+ 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;
   }

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 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;
   }

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů