add id="content" back into page template
[libreriscv.git] / local.css
index bf7b5dd30291f8324eb05f1e1ec760d95fe3b865..e35e9a3fb61f7297d94a738c8e38c3b06eb9b486 100644 (file)
--- a/local.css
+++ b/local.css
-body{
-       font-family:arial,sans-serif; 
-       margin-top: 20px;
-       margin-bottom: 40px;
-    margin-left: 0px;
-    margin-right 0px;
-    background-color: #fff8ff;
-    color: #00000;
-    width: 100%;
-}
-.actions{
-       font-family:arial,sans-serif; 
-       font-size: .95em;
-       text-align: left;
-}
-#content{
-       text-align: left;
-    width: 100%;
-}
-.pagedate{
-       font-family: times;
-       font-size: .8em;
+/* Sticky footer styles
+-------------------------------------------------- */
+html {
+  position: relative;
+  min-height: 100%;
+}
+body {
+  /* Margin bottom by footer height */
+  margin-bottom: 60px;
+}
+.footer {
+  position: absolute;
+  bottom: 0;
+  width: 100%;
+  /* Set the fixed height of the footer here */
+  height: 60px;
+  background-color: #f5f5f5;
 }
 
-/*Elements*/
-hr{
-       width: 50%;
-       border: solid 1px black;
-}
-blockquote{
-       border: dashed 1px;
-       padding-left: 20px;
-       margin-left: 15px;
-       background-color: #ccc;
-}
-p{
-       margin-bottom: 1.2em;
-       margin-left: 1.5em;
-}
-ol{
-       margin-left: 2em;
-}
-/* Headings */
-
-.pageheader { min-height: 100px; overflow: none; width: 95%; margin: 4px; }
-.header {
-    height: 50px;
-    background: #4b6983;
-    /*border: 2px solid #7590ae; */
-    color: #ffffff; 
-    font-family: sans-serif;
-    width: 100%;
-    margin: 4px;
-    padding: -4px;
-}
-.header a { margin-right: 1ex; color: #ffffff; font-family: sans-serif;}
 
-/*.header{
-       font-family: georgia;
-       font-size: 1.25em;
-       line-height: 1em;       
-       font-weight: bolder;
+/* Custom page CSS
+-------------------------------------------------- */
+/* Not required for template or sticky footer method. */
+
+body > .container {
+  padding: 60px 15px 0;
 }
-*/
-h1{
-       font-size: 1.5em;
-       font-weight: bold;
-       line-height: 1em;
-       margin-left: 1em;
-       text-indent: -1em;
+.container .text-muted {
+  margin: 20px 0;
 }
-h2{
-       font-size: 1.4em;
-       line-height: 1em;       
-       font-weight: bold;
-       margin-left: 1em;
-       text-indent: -1em;
+
+.footer > .container {
+  padding-right: 15px;
+  padding-left: 15px;
 }
-h3{
-       font-size: 1.3em;
-       font-weight: bold;
-       line-height: 1em;
-       margin-left: 1em;
-       text-indent: -1em;      
+
+code {
+  font-size: 80%;
 }
-h4{
-       font-size: 1.2em;       
-       font-weight: bold;
-       line-height: 1em;
-       margin-left: 1em;
-       text-indent: -1em;
+
+
+/* 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;
 }
-h5{
-       font-size: 1.1em;       
-       font-weight: bold;
-       line-height: 1em;
-       margin-left: 1em;
-       text-indent: -1em;
+
+table, th, td {
+    border: 1px solid black;
 }
-h6{
-       font-size: 1em; 
-       font-weight: bold;
-       line-height: 1em;
-       margin-left: 1em;
-       text-indent: -1em;
+
+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;
+    font-size: .9em;
+    font-family: "Inconsolata", "monaco", "droid sans mono",fixed;
+    margin-left: 0em;
+    margin-top: 1.2em;
+    padding-bottom: 2em;
 }
 textarea{
-       font-family: "Inconsolata", "monaco", "droid sans mono",fixed;
-       font-size: .9em;
-        border: solid 1px;
-       width: 100%;
-       margin-bottom: 10px;
+    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;
+    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; 
+    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;
-}
-
-#blogform input[name="title"]{
-       font-family: "inconsolata", "monaco", "droid sans mono",fixed;
-       font-size: .9em;
-       line-height: 1.2em;
-       font-size: 1.1em;
-       margin-left: .4em;
-       margin-right: .4em;
-        border: solid 1px;
-}
-#blogform input[type="submit"]{
-       font-family: "Inconsolata", "monaco", "droid sans mono",fixed;
-       font-size: .9em;
-       line-height: 1em;
-       font-size: 1em;
-       background-color: #ddd;
-        border: solid 1px;
-}
-div.thumb {
-    margin-bottom: .5em;
-    border-style: solid;
-    border-color: white;
-    width: auto;
-}
-div.thumbinner {
-    border: 1px solid #ccc;
-    padding: 3px !important;
-    background-color: #f9f9f9;
-    font-size: 94%;
+    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;
-    overflow: hidden;
-}
-html .thumbimage {
-    border: 1px solid #ccc;
-}
-
-img.thumbborder {
-    border: 1px solid #dddddd;
-}
-
-div.tright {
-    clear: right;
-    float: right;
-    border-width: .5em 0 .8em 1.4em;
-}
-
-pre {
-    margin-left: 45px;
-}
-
-
-table {
-    margin-left: 35px;
+    width: 9.5em;
+        border: solid 1px;
 }
 
-table, th, td {
-    border: 1px solid black;
-}
 
-td {
-    padding: 4px;
-}