X-Git-Url: https://git.plutz.net/?p=httpchat;a=blobdiff_plain;f=webchat.css;h=4309596a20bccbc06d1e9cb82e1c672d35b11631;hp=ff70761ded124d6d67b36679022e8fda019ba947;hb=66f78a6d8a1142403c1614f20a56e66ca16ca168;hpb=5433386b7480acb11a05f0dcb9d854e6268a896f diff --git a/webchat.css b/webchat.css index ff70761..4309596 100644 --- a/webchat.css +++ b/webchat.css @@ -59,6 +59,11 @@ button { content: "x"; padding: 0 1ex; } +#settings .error { + padding: 1ex 1ex .5ex 1ex; + background-color: #FCC; + font-weight: bold; +} #settings a.section { display: block; font-weight: bold; @@ -74,6 +79,8 @@ button { overflow: hidden; transition: max-height .5s; } +#settings .error.nick ~ a.section + #nick, +#settings .error.register ~ a.section + #register, #settings a.section + *:target { max-height: 20ex; padding: 1ex 1ex .5ex 1ex;