46 lines
760 B
CSS
46 lines
760 B
CSS
/* Mike Gerwitz Résumé print stylesheet */
|
|
/* CC-BY-SA */
|
|
|
|
body {
|
|
border: none;
|
|
}
|
|
|
|
a, a:active, a:link, a:visited, a:hover {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
border: none;
|
|
}
|
|
|
|
/* links cannot be followed when printed, so provide URLs for hand-selected */
|
|
/* links, and for title links */
|
|
a[data-print]::after {
|
|
content: ' (' attr( href ) ')';
|
|
}
|
|
#content > dl[data-print-links] > dt > a::after {
|
|
content: '(' attr( href ) ')';
|
|
margin-left: 2em;
|
|
}
|
|
|
|
abbr {
|
|
border: none;
|
|
}
|
|
|
|
#footer, #misc, #header ul.links {
|
|
display: none;
|
|
}
|
|
#footer-print {
|
|
text-align: center;
|
|
margin-top: 2ex;
|
|
}
|
|
|
|
div.sec-header {
|
|
break-inside: avoid;
|
|
}
|
|
dt, dd.perod, dd.type {
|
|
break-inside: avoid;
|
|
}
|
|
|
|
.print-only {
|
|
display: inline-block;
|
|
}
|