set textarea to monospace, something keeps messing about
[libreriscv.git] / local.css
index f9c655215193e87e26c7c3abac4137ef14385580..e35e9a3fb61f7297d94a738c8e38c3b06eb9b486 100644 (file)
--- a/local.css
+++ b/local.css
@@ -39,3 +39,121 @@ code {
 }
 
 
+/* Counter Headings */
+body {
+counter-reset : h1;
+    }
+
+h1 {
+counter-reset : h2;
+    }
+
+h2 {
+counter-reset : h3;
+    }
+
+h3 {
+counter-reset : h4;
+    }
+
+h4 {
+counter-reset : h5;
+    }
+
+h5 {
+counter-reset : h6;
+    }
+
+#content h1:before {
+content : counter(h1,decimal) ". ";
+counter-increment : h1;
+    }
+
+#content h2:before {
+content : counter(h1,decimal) "." counter(h2,decimal) ". ";
+counter-increment : h2;
+    }
+
+#content h3:before {
+content : counter(h1,decimal) "." counter(h2,decimal) "." counter(h3,decimal) ". ";
+counter-increment : h3;
+    }
+
+#content h4:before {
+content : counter(h1,decimal) "." counter(h2,decimal) "." counter(h3,decimal) "." counter(h4,decimal) ". ";
+counter-increment : h4;
+    }
+
+#content h5:before {
+content : counter(h1,decimal) "." counter(h2,decimal) "." counter(h3,decimal) "." counter(h4,decimal) "." counter(h5,decimal) ". ";
+counter-increment : h5;
+    }
+
+#content h6:before {
+content : counter(h1,decimal) "." counter(h2,decimal) "." counter(h3,decimal) "." counter(h4,decimal) "." counter(h5,decimal) "." counter(h6,decimal) ". ";
+counter-increment : h6;
+    }
+
+h1.nocount:before, h2.nocount:before, h3.nocount:before, h4.nocount:before, h5.nocount:before, h6.nocount:before {
+content : "";
+counter-increment : none;
+    }
+
+table {
+    margin-left: 35px;
+}
+
+table, th, td {
+    border: 1px solid black;
+}
+
+td {
+    padding: 4px;
+}
+
+/*Forums*/
+form{
+    font-size: .9em;
+    font-family: "Inconsolata", "monaco", "droid sans mono",fixed;
+    margin-left: 0em;
+    margin-top: 1.2em;
+    padding-bottom: 2em;
+}
+textarea{
+    font-family: monospace;
+    font-size: .9em;
+    border: solid 1px;
+    width: 100%;
+    margin-bottom: 10px;
+}
+input#comments{
+    font-family: "Inconsolata", "monaco", "droid sans mono",fixed;
+    font-size: .9em;
+    width: 550px;
+    line-height: 1em;
+    background-color: #fff;
+    border: solid 1px;
+}
+input#comments{
+    font-family: "Inconsolata", "monaco", "droid sans mono",fixed;
+    font-size: .9em;
+    width: 550px;
+    line-height: 1em;
+    background-color: #fff;
+        border: solid 1px;
+}
+input[type="submit"]{
+    font-family:
+    font-size: .9em;
+    font-weight: bold;
+    line-height: 1em;
+    background-color: #ddd;
+    margin-right: 1.1em;
+    margin-top: 10px;
+    padding: 3px;
+    text-align: center;
+    width: 9.5em;
+        border: solid 1px;
+}
+
+