X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=local.css;h=fd7efe37c8a3a3decc436e2a3b65e5eab1b75644;hb=ea819c407683a50e0ef98435bb80b1903438ebba;hp=fe01a50afd104e1da5045a74ef6c00d942206f85;hpb=659df0fbed8d13d7f44cd3e8e37082ca28bbffc8;p=libreriscv.git diff --git a/local.css b/local.css index fe01a50af..fd7efe37c 100644 --- a/local.css +++ b/local.css @@ -1,11 +1,12 @@ body{ font-family:arial,sans-serif; - margin-left: 8%; - margin-right: 8%; margin-top: 20px; margin-bottom: 40px; - background-color: #ffffe0; + margin-left: 0px; + margin-right 0px; + background-color: #fff8ff; color: #00000; + width: 100%; } .actions{ font-family:arial,sans-serif; @@ -13,11 +14,8 @@ body{ text-align: left; } #content{ - margin-left: 10px; - margin-right: -10px; text-align: left; - border-right: dashed 1px; - padding-right: 30px; + width: 100%; } .pagedate{ font-family: times; @@ -42,16 +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; - padding: 10px; + /*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;} @@ -113,10 +174,10 @@ 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: 500px; + width: 100%; margin-bottom: 10px; } input#comments{ @@ -194,8 +255,13 @@ div.tright { border-width: .5em 0 .8em 1.4em; } +pre { + margin-left: 45px; +} + + table { - margin-left: 25px; + margin-left: 35px; } table, th, td {