mirror of
https://github.com/AtHeartEngineer/upgrading-ethereum-book.git
synced 2026-01-09 21:38:07 -05:00
Add print media style (issue #2)
This commit is contained in:
@@ -226,3 +226,28 @@ div.footnotes hr {
|
||||
div.footnotes {
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
@media print {
|
||||
html, body, main, div.main-content {
|
||||
overflow: visible !important;
|
||||
width: initial !important;
|
||||
max-width: initial !important;
|
||||
min-width: initial !important;
|
||||
margin: initial !important;
|
||||
padding: initial !important;
|
||||
font-size: initial !important;
|
||||
}
|
||||
td, th {
|
||||
color: inherit;
|
||||
border: solid #999999 1px;
|
||||
}
|
||||
a {
|
||||
color: black;
|
||||
}
|
||||
a[rel*="external"] {
|
||||
color: blue;
|
||||
}
|
||||
a[rel*="external"]::after {
|
||||
content: "";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,3 +32,9 @@ div.page-navi > ul > li {
|
||||
padding-top: 1ex;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@media print {
|
||||
div.page-navi {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,3 +26,9 @@ div.prevnext span.next {
|
||||
div.prevnext span.next a {
|
||||
padding-left: 100%;
|
||||
}
|
||||
|
||||
@media print {
|
||||
div.prevnext {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,3 +57,9 @@ nav.sidebar div.sidebar-title {
|
||||
nav.sidebar div.sidebar-title a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@media print {
|
||||
nav.sidebar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user