wrapper.fhtml: Add `license' relationship to the AGPL link.
[chopwood] / chpwd.css
index 64b98be..caa9375 100644 (file)
--- a/chpwd.css
+++ b/chpwd.css
 
 /*----- General typesetting and layout -----------------------------------*/
 
+body {
+       background: white;
+       color: black;
+       margin: 1ex 2em;
+}
+
 h1 {
-        border-bottom-style: solid;
-        border-bottom-width: medium;
-        padding-bottom: 1ex;
+       border-bottom: thick solid;
+       padding: 8px 0;
+       margin-bottom: 24px;
 }
 
 h2 {
-        border-top-style: solid;
-        border-top-width: thin;
-        padding-top: 1ex;
-        margin-top: 4ex;
+       border-top: thin solid;
+       padding-top: 1ex;
+       margin-top: 3ex;
 }
 
 h1 + h2, h2:first-child {
-        border-top-style: hidden;
-        margin-top: inherit;
+       border-top: none;
+       padding-top: 0;
+       margin-top: inherit;
+}
+
+h1, h2 {
+       font-family: sans-serif;
+       font-weight: bold;
 }
 
 div.credits {
-        border-top-style: solid;
-        border-top-width: thin;
-        padding-top: 0.5ex;
-        margin-top: 2ex;
-        text-align: right;
-        font-size: small;
-        font-style: italic;
+       border-top: thin solid;
+       padding-top: 1ex;
+       margin-top: 3.43ex;
+       text-align: right;
+       font-size: small;
+       font-style: italic;
+}
+
+div.warn {
+       border: thin solid;
+       padding: 0ex 1em 2ex 1em;
+       margin: 2ex 1em;
+       background: red;
+}
+
+a { text-decoration: none; }
+a:link { color: blue; }
+a:link:active, a:visited { color: darkblue; }
+a:link:hover, a:visited:hover { background: #ccc; }
+
+dl { display: block; }
+dt {
+       font-weight: bold;
+       width: 9em;
+       clear: left;
+       float: left;
+}
+dd {
+       margin: 1.5ex 0 1.5ex 10em;
+       display: block;
 }
 
 /*----- Form layout -------------------------------------------------------*/
@@ -59,13 +93,17 @@ div.credits {
 /* Common form validation styling. */
 
 .whinge {
-        font-size: smaller;
-        visibility: hidden;
+       font-size: smaller;
+       visibility: hidden;
+}
+
+.login-whinge {
+       text-align: center;
 }
 
 .wrong {
-        color: red;
-        visibility: visible;
+       color: red;
+       visibility: visible;
 }
 
 /* Specific forms. */
@@ -75,26 +113,26 @@ td.label { text-align: right; }
 .expand { height: 100%; }
 div.expand-outer { position: relative; }
 div.expand-inner {
-        position: absolute;
-        width: 50%;
-        height: 100%;
+       position: absolute;
+       width: 50%;
+       height: 100%;
 }
 div.expand-reference {
-        margin-left: 50%;
+       margin-left: 50%;
 }
 
 table.expand { width: 95%; }
 table.expand,
 table.expand tbody,
 table.expand tr {
-        border-collapse: collapse;
-        border-spacing: 0;
+       border-collapse: collapse;
+       border-spacing: 0;
 }
 table.expand td { padding: 0; }
 
 #acct-list {
-        width: 100%;
-        height: 100%;
+       width: 100%;
+       height: 100%;
 }
 
 /*----- That's all, folks -------------------------------------------------*/