]> git.plutz.net Git - httpchat/blobdiff - webchat.css
fix syntax error m)
[httpchat] / webchat.css
index 123a0522ee3563fdc80c15de49770999762403c3..457b63247d8a2ff91640459d49d8075fa1c3abc2 100644 (file)
@@ -32,6 +32,7 @@ button {
   background-color: #FFF;
   border: 1px solid;
   border-radius: 1ex 1ex .5ex .5ex;
+  z-index: 2;
 }
 #settings h1 {
   background-color: #08b;
@@ -77,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;
@@ -112,7 +113,7 @@ form#channel button[value=submit] { display: none; }
   left: 0; right: 0;
   padding: 1ex;
   margin: .5ex;
-  z-index: -1;
+  -z-index: -1;
 }
 
 #chat p.message {
@@ -141,3 +142,70 @@ form#channel button[value=submit] { display: none; }
   border-radius: 0 .5em .5em 0;
   padding-right: .5em;
 }
+
+#chat div.nicklist {
+  position: fixed;
+  top: 1em; bottom: 3em;
+  right: 0; width: 1em;
+  background-color: rgba(255, 255, 255, .875);
+  padding: .5em;
+  z-index: 1;
+  border: 1px solid black;
+  border-width: 1px 0 1px 1px;
+  overflow-y: auto;
+  white-space: nowrap;
+}
+#chat div.nicklist:hover {
+  width: 20%;
+  min-width: 10em;
+  white-space: normal;
+}
+#chat div.nicklist h2 {
+  font-weight: bold;
+  border-bottom: 1px solid black;
+}
+#chat div.nicklist .nick {
+  margin-top: .5em;
+  display: block;
+  line-height: 1.5em;
+}
+#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;
+}