minor print style tweaks

This commit is contained in:
Heydon Pickering 2017-07-27 17:21:19 +01:00
parent a3abd5c844
commit d96be1e072
3 changed files with 49 additions and 7 deletions

View File

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

File diff suppressed because one or more lines are too long

View File

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