logo

lanodan.eu

Unnamed repository; edit this file 'description' to name the repository.
commit: 83edb03e9549cc0badeca3e8fb2724524d2ed38c
parent: 0d514c82dfe3b3f1ada6a1dfef2b6dca73c4d7ff
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 12 Jan 2020 09:17:53 +0100

style.css: max-width to @screen, hide footer in @print

Diffstat:

Mstyle.css7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/style.css b/style.css @@ -7,7 +7,6 @@ nav li { list-style: none; } main { margin: 0 auto; - max-width: 90em; display: table; } code { font-family: monospace; } @@ -32,8 +31,12 @@ h1::before,h2::before,h3::before,h4::before,h5::before,h6::before { display: none; } +@media screen { + main { max-width: 90em; } +} + @media print { - nav { display: none; } + nav, footer { display: none; } a::before { content: "[" attr(href) "]("; } a::after { content: ")"; } a::before, a::after {