add nlnet proposals links
[libreriscv.git] / local.css
index e5e78bff3f6617df33e308b7d3e1bbff3c64870f..fd7efe37c8a3a3decc436e2a3b65e5eab1b75644 100644 (file)
--- a/local.css
+++ b/local.css
@@ -40,17 +40,79 @@ p{
 ol{
        margin-left: 2em;
 }
+/* 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;
+    }
+
+
 /* Headings */
 
-.pageheader { min-height: 100px; overflow: auto; }
+.pageheader { min-height: 100px; overflow: none; width: 95%; margin: 4px; }
 .header {
     height: 50px;
     background: #4b6983;
-    border: 2px solid #7590ae; 
+    /*border: 2px solid #7590ae; */
     color: #ffffff; 
     font-family: sans-serif;
     width: 100%;
-    padding: 2px;
+    margin: 4px;
+    padding: -4px;
 }
 .header a { margin-right: 1ex; color: #ffffff; font-family: sans-serif;}
 
@@ -112,8 +174,8 @@ form{
        padding-bottom: 2em;
 }
 textarea{
-       font-family: "Inconsolata", "monaco", "droid sans mono",fixed;
-       font-size: .9em;
+       /*font-family: "Inconsolata", "monaco", "droid sans mono",fixed;*/
+       /*font-size: .9em;*/
         border: solid 1px;
        width: 100%;
        margin-bottom: 10px;