X-Git-Url: https://git.plutz.net/?p=httpchat;a=blobdiff_plain;f=webchat.css;h=457b63247d8a2ff91640459d49d8075fa1c3abc2;hp=1335fe64d027a95460e69a29a48aab2c8255ea27;hb=HEAD;hpb=7481a68367b471a6a5058817342340a3e069e581 diff --git a/webchat.css b/webchat.css index 1335fe6..457b632 100644 --- a/webchat.css +++ b/webchat.css @@ -78,7 +78,7 @@ button { } #settings .error.nick ~ a.section + #nick, #settings .error.register ~ a.section + #register, -#settings a.section + #nick, +#settings a.section + .open, #settings a.section + *:target { max-height: 20ex; padding: 1ex 1ex .5ex 1ex; @@ -172,3 +172,40 @@ form#channel button[value=submit] { display: none; } #chat div.nicklist a.nick { color: #00F; } + +body.create, +body.front { + text-align: center; +} +body.create h1, +body.front h1 { + font-size: 1.25em; + font-weight: bold; + margin: 2em 1ex 1em 1ex; +} +body.front h2 { + font-weight: bold; + margin: 2em 1ex 1em 1ex; +} + +body.front label { + font-weight: bold; +} + +body.front #channels { + display: block; + margin: auto; + width: 20em; max-width: 100%; + text-align: left; +} +body.front #channels a { + display: block; + color: #44F; + text-decoration: underline; + margin: .5em 0 0 0; +} + +body.create button { + display: block; + margin: 1em auto; +}