diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-07-13 10:36:19 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-07-13 10:36:19 +0200 |
commit | fc073c245fb2122d3afbe16d3188cc96c022baa8 (patch) | |
tree | 92facb4211a5e9668021d1c72cf8c038b507c763 /styles | |
parent | ed5122a5fb89a8512fa96a7ae591f8843690c5ed (diff) |
print css
Diffstat (limited to 'styles')
-rw-r--r-- | styles/layout.css | 7 | ||||
-rw-r--r-- | styles/print.css | 19 |
2 files changed, 26 insertions, 0 deletions
diff --git a/styles/layout.css b/styles/layout.css index 5c8cc50..70f94dc 100644 --- a/styles/layout.css +++ b/styles/layout.css @@ -88,6 +88,13 @@ blockquote:before { background-color: var(--cyan-process); } +@media (prefers-color-scheme: light) { + blockquote { + color: var(--oxford-blue); + opacity: .8; + } +} + @media screen and (max-device-width: 550px) { .navAreaWrapper { grid-column: none; diff --git a/styles/print.css b/styles/print.css new file mode 100644 index 0000000..4867c83 --- /dev/null +++ b/styles/print.css @@ -0,0 +1,19 @@ +@media print { + :root { + --nav-width: 0px; + + --bg: #ffffff; + --fg: #000000; + + --heliotrope-gray: var(--bg); + --purple-navy: #989abb; + + --fire-opal: #ba3321; + --cyan-process: #397889; + --forest-green-crayola: #376848; + + } + + .centeredPage { grid-gap: var(--page-margins) 0; } + pre { border: solid 2px var(--fg); } +} |