From: Paul Hänsch Date: Thu, 7 Oct 2021 23:54:35 +0000 (+0200) Subject: generalized styling rules X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=eccb45f610d8c5afcb8ade0389f442d93af802bc;p=rawnet generalized styling rules --- diff --git a/rawnet.css b/rawnet.css index a4b5548..d034a6d 100644 --- a/rawnet.css +++ b/rawnet.css @@ -95,17 +95,15 @@ main nav > * { body.channel main h1.name { text-align: center; } -body.channel main .description, -body.channel main form.edit, -body.video main form.edit { +body main .description, +body main form { max-width: 40em; margin: auto; } -body.video main form.edit input[name=name], -body.video main form.edit textarea[name=description], -body.channel main form.edit input[name=name], -body.channel main form.edit textarea[name=description] { +body main form input[name=name], +body main form input[name=email], +body main form textarea { display: block; width: 100%; margin-bottom: .5em;