X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=local.css;h=1de0b1bc0c36505c77ff9559d07db68ea002ff4b;hb=a4a524fd6af1353961d811e0d9bfffcf97d1b7a2;hp=d8bd72a8c18928e7b922ef6b2c367595f724249a;hpb=6d2e809b171f4dc284f802b9a53ddf33c98135bd;p=libreriscv.git diff --git a/local.css b/local.css index d8bd72a8c..1de0b1bc0 100644 --- a/local.css +++ b/local.css @@ -1,211 +1,166 @@ -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; +/* 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; } -#content{ - text-align: left; - width: 100%; + + +/* Custom page CSS +-------------------------------------------------- */ +/* Not required for template or sticky footer method. */ + +body > .container { + padding: 60px 15px 0; } -.pagedate{ - font-family: times; - font-size: .8em; +.container .text-muted { + margin: 20px 0; } -/*Elements*/ -hr{ - width: 50%; - border: solid 1px black; +.footer > .container { + padding-right: 15px; + padding-left: 15px; } -blockquote{ - border: dashed 1px; - padding-left: 20px; - margin-left: 15px; - background-color: #ccc; + +code { + font-size: 80%; } -p{ - margin-bottom: 1.2em; - margin-left: 1.5em; + + +/* 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; } -ol{ - margin-left: 2em; + +table, th, td { + border: 1px solid black; } -/* Headings */ -.pageheader { min-height: 100px; overflow: none; padding: 2px; } -.header { - height: 50px; - background: #4b6983; - border: 2px solid #7590ae; - color: #ffffff; - font-family: sans-serif; - width: 100%; - padding: 2px; -} -.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; -} -*/ -h1{ - font-size: 1.5em; - font-weight: bold; - line-height: 1em; - margin-left: 1em; - text-indent: -1em; -} -h2{ - font-size: 1.4em; - line-height: 1em; - font-weight: bold; - margin-left: 1em; - text-indent: -1em; -} -h3{ - font-size: 1.3em; - font-weight: bold; - line-height: 1em; - margin-left: 1em; - text-indent: -1em; -} -h4{ - font-size: 1.2em; - font-weight: bold; - line-height: 1em; - margin-left: 1em; - text-indent: -1em; -} -h5{ - font-size: 1.1em; - font-weight: bold; - line-height: 1em; - margin-left: 1em; - text-indent: -1em; -} -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; +} +form#searchform{ + font-size: .9em; + font-family: "Inconsolata", "monaco", "droid sans mono",fixed; + margin-left: 0em; + margin-top: 0em; + padding-bottom: 0em; } 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: 1.2em; + 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; -}