css: add basic print styles
This commit is contained in:
parent
cfb837fb45
commit
ab353e2166
1 changed files with 11 additions and 0 deletions
11
x/s.css
11
x/s.css
|
@ -170,6 +170,17 @@ a.áµáµáµ { display: inline-flex; align-items: center; width: 80px; height: 15
|
|||
.áµáµáµ.áµá¶¦ { border: 1px solid #999; background: #fefefe; color: #444; }
|
||||
.áµáµáµ.áµá¶¦ span:first-of-type { background: #999; color: #fefefe; padding: 0 0.75em; margin: 0 2px 0 1px; }
|
||||
|
||||
@media print {
|
||||
#ðððððð, #ðððððð { display: none; }
|
||||
main:before { display: block; content: "val.packett.cool"; text-align: center; --fnt-casl: .8; font-size: 1em; font-weight: 900; }
|
||||
*, *:before, *:after { box-shadow: none !important; text-shadow: none !important; }
|
||||
a[href^="http"]:after { content: " (" attr(href) ")"; }
|
||||
abbr[title]:after { content: " (" attr(title) ")"; }
|
||||
a.showcase-spread:after { content: ""; }
|
||||
h1, h2, h3 { page-break-after: avoid; }
|
||||
tr, img { page-break-inside: avoid; }
|
||||
p, h2, h3, h4 { orphans: 3; widows: 3; }
|
||||
}
|
||||
|
||||
/*!
|
||||
Theme: Rebecca
|
||||
|
|
Loadingâ¦
Reference in a new issue