User: gaute Date: 2007/04/11 06:03:59 Modified: no/www/test.css
Log: code formatting File Changes: Directory: /no/www/ =================== File [changed]: test.css Url: http://no.openoffice.org/source/browse/no/www/test.css?r1=1.28&r2=1.29 Delta lines: +148 -98 ---------------------- --- test.css 11 Apr 2007 10:28:06 -0000 1.28 +++ test.css 11 Apr 2007 13:03:54 -0000 1.29 @@ -1,13 +1,54 @@ -h1, h2, h3, h4 {color: #31559c} -h1 {text-align: center;} -.framhevet {margin: -0.7ex -0.7ex 0 -0.7ex; padding: 1ex; background-color: #ffce9c; color: black; border: 1px solid black;} -.helramme, .rammeH, .rammeV {margin: 1ex; padding: 1ex; background: #eee; border: 1px solid black} -.helramme { margin-left: 10%; margin-right: 10%;} -.mindre {font-size: 80%} -.rammeH {width: 44%; float: right;} -.rammeV {width: 48%; float: left;} -.topploes {margin-top: 0} -.viktig {text-align: middle; font-size: 120%; margin:0} +h1, h2, h3, h4 { + color: #31559c +} + +h1 { + text-align: center; +} + +.framhevet { + margin: -0.7ex -0.7ex 0 -0.7ex; + padding: 1ex; + background-color: #ffce9c; + color: black; + border: 1px solid black; +} + +.helramme, .rammeH, .rammeV { + margin: 1ex; + padding: 1ex; + background: #eee; + border: 1px solid black +} + +.helramme { + margin-left: 10%; + margin-right: 10%; +} + +.mindre { + font-size: 80% +} + +.rammeH { + width: 44%; + float: right; +} + +.rammeV { + width: 48%; + float: left; +} + +.topploes { + margin-top: 0; +} + +.viktig { + text-align: middle; + font-size: 120%; + margin:0 +} /* Hide parts of the framework on the frontpage. */ .contentpart#contextualinformation, #breadcrumbs, #navcol, #toptabs, @@ -19,9 +60,9 @@ .button { display: block; width: 193px; - margin: 0px; + margin: 0; margin-bottom: 4px; - padding: 0px; + padding: 0; color: #505256; background: #C4DAE9 no-repeat; /* @@ -34,16 +75,18 @@ text-decoration: none; text-transform: none; } + .button:hover { color: #395073; background-color: #E1ECF4; /* color: #000000; */ cursor: pointer; } + .button span { display: block; width: 163px; - margin: 0px; + margin: 0; padding-left: 30px; padding-top: 1em; height: auto!important; /* IE 'hack' for min-height */ @@ -51,6 +94,7 @@ min-height: 35px; background: url("http://www.openoffice.org/style/buttonsmall_bottom.gif") no-repeat bottom right; } + .button span small { font-weight: normal; } @@ -60,26 +104,29 @@ .contentpart#spotlight { float: left; width: 100%; - margin: 0px; + margin: 0; margin-top: 1em; - padding: 0px; + padding: 0; /* background: url("http://www.openoffice.org/style/spotlight_background.gif");*/ } + .contentpart#spotlight #spotlightgull { float: left; width: 100%; - margin: 0px; - padding: 0px; + margin: 0; + padding: 0; background: url("http://www.openoffice.org/style/background_OOogulls.gif") no-repeat top right; } + .contentpart#spotlight p { - padding: 0px; - border: 0px; + padding: 0; + border: none; } + .contentpart#spotlight h1 { - margin: 0px; + margin: 0; margin-top: .5em; - padding: 0px; + padding: 0; font-size: 1.6em; /* war 1.8 */ } @@ -90,7 +137,7 @@ } .contentpart#spotlight .buttongroup { - margin: 0px; + margin: 0; margin-top: 1em; margin-right: 1em; /* padding: 26px 0 0 0; */ @@ -98,13 +145,14 @@ float: left; clear: none; } + .contentpart#spotlight .buttongroup ul { float: left; list-style: none; display: block; - margin: 0px; + margin: 0; margin-bottom: .5em; - padding: 0px; + padding: 0; } .contentpart#spotlight .buttongroup #buttonforum, @@ -119,39 +167,42 @@ clear: none; overflow: hidden; display: block; - margin: 0px; - padding: 0px; + margin: 0; + padding: 0; width: 32%; font-size: .8em; text-align: right; } + .contentpart#spotlight .graphicalpresentation h2 { font-size: 1.2em; } + .contentpart#spotlight .graphicalpresentation img { float: left; - padding:0px; - margin: 0px; + padding: 0; + margin: 0; margin-left: auto; } + .contentpart#spotlight .omooo { -/* display: none; */ float: right; width: 100%; - margin: 0px; + margin: 0; margin-bottom: 1px; - padding :0px; + padding: 0; background: #F6F8FB url("http://www.openoffice.org/branding/images/fadelightbluetowhitevertica.gif") repeat-x top right; - border: none 0px; + border: none; border-top: 1px solid #5684af; } + .contentpart#spotlight .omooo h2 { font-weight: bold; text-align: center; } .contentpart#spotlight #midten { - margin-left: 210px; /* The OOo logo is 200px. */ + margin-left: 210px; /* The OOo logo is 200px. The buttons are 193px. */ margin-right: 33%; /* #graphicalpresentation is 32% */ } @@ -176,7 +227,6 @@ } #nyheter h2 { -/* border-bottom: 2px solid #31559c; */ margin-bottom: 2ex; padding: 1ex 0; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
