logo

lanodan.eu

Unnamed repository; edit this file 'description' to name the repository.
commit: 51cfaeb8996bd3f33a3425a0e102de75e0a8b28f
parent: e20295d2cf73977bcebc2bd00ca250447876124d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 18 Mar 2020 01:49:28 +0100

style.css: inline-table for event sums, reformat

Diffstat:

Mstyle.css40++++++++++++++++------------------------
1 file changed, 16 insertions(+), 24 deletions(-)

diff --git a/style.css b/style.css @@ -3,16 +3,18 @@ text-rendering: optimizelegibility; font-kerning: normal; } -.small-caps { font-variant: small-caps; } -nav li { list-style: none; } +.small-caps { font-variant: small-caps } +nav li { list-style: none } main { margin: 0 auto; display: table; } -code { font-family: monospace; } -.p-nickname::before { content:"("; } -.p-nickname { font-family: monospace; } -.p-nickname::after { content:")"; } +code { font-family: monospace } +.p-nickname::before { content:"(" } +.p-nickname { font-family: monospace } +.p-nickname::after { content:")" } + +.h-event .p-summary { display: inline-table } h1,h2,h3,h4,h5,h6 { font-family: sans; @@ -24,28 +26,18 @@ h1,h2 { padding: 0.25ex 0.5em; } -h1 { border-bottom: 2pt solid; } -h2 { border-bottom: 1pt solid; } - -h1::before,h2::before,h3::before,h4::before,h5::before,h6::before { - display: none; -} +h1 { border-bottom: 2pt solid } +h2 { border-bottom: 1pt solid } @media screen { - main { max-width: 90em; } + main { max-width: 90em } } @media print { - nav, footer { display: none; } + nav, footer { display: none } a::before { content: "[" attr(href) "]("; } - a::after { content: ")"; } - a::before, a::after { - font-family: monospace; - } - a { - text-decoration: none; - } - section { - page-break-inside: avoid; - } + a::after { content: ")" } + a::before, a::after { font-family: monospace } + a { text-decoration: none } + section { page-break-inside: avoid } } \ No newline at end of file