X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=static%2Fexodus%2Fcss%2Fscreen.css;h=bddf19b1a378f0db09861cb1b345d34ffb95910b;hb=bca7a535d5c77b71a60e5f535db8b6f8116ca698;hp=58a820f763157b03807c1145ec4bc82c7486ba03;hpb=f9a15ac4f4dc75e6162d6b45cdc16893a5643e17;p=matthijs%2Fprojects%2Fwipi.git diff --git a/static/exodus/css/screen.css b/static/exodus/css/screen.css index 58a820f..bddf19b 100644 --- a/static/exodus/css/screen.css +++ b/static/exodus/css/screen.css @@ -17,6 +17,10 @@ html { font-size:11px; } +a {color: #ffd200;} +a:visited {color: #ffd200;} +a.nonexistent, a.badinterwiki {color: #cc8900;} + img { border:0px; } @@ -36,7 +40,7 @@ body { #header { /* Fit exactly into the header in the background, and push the menu bar in place */ padding-top: 70px; - height: 30px; + height: 40px; /* Center the header */ width:1024px; margin:auto; @@ -71,40 +75,58 @@ ul#menubar li a { text-decoration:none; } -#footer { - /* Put a dotted line at the top of the footer */ - border-top: 1px dotted #9C9C9C; - /* Include some spacing around the line */ - padding-top: 5px; - margin-top: 5px; +#page, #footer{ + /* Center the page and footer, just like the header */ + width:1024px; + margin-right: auto; + margin-left: auto; } -/* Format the editbar, copied from modern theme */ -.editbar { - float: left; - margin: 5px 0; - padding: 0; +#pagetop { + width: 694px; + height:39px; + background-image:url('../img/perkamentTop.gif'); } -.editbar a, .editbar a:visited { color: #0044B3; } +#pagemiddle { + background-image:url('../img/perkamentCenter.gif'); + background-repeat:repeat-y; + /* Force a new block-formatting context, to prevent any margins from + * content to stick out of this div, causing a gap between #pagetop + * and #pagemiddle */ + overflow: hidden; + /* Indent the text a bit, so it skips the jagged edges of the + * background */ + padding:0px 45px 0px 45px; + /* 694px image width minus two times 45px padding*/ + width: 604px; + /* Set a font colour that's readable on the background image. We + * should really also set a background colour here (for when images + * are disabled), but it seems it's impossible to do that without the + * colour showing always */ + color:#731E01; + font-weight:bold; +} -.editbar form, .editbar form div { - display: inline; - margin: 0; +#pagebottom { + width: 694px; + height:37px; + background-image:url('../img/perkamentBottom.gif'); } -.editbar li { - display: inline; - padding: 0; - margin: 4px 6px; +#footer { + /* Put a dotted line at the top of the footer */ + border-top: 1px dotted #9C9C9C; + /* Include some spacing around the line */ + padding-top: 5px; + margin-top: 5px; } + #footerbar { } -.editbar a, .editbar a:visited { color: #0044B3; } - #editor { margin: 0; padding: 2px 20px 20px 20px; @@ -120,45 +142,61 @@ ul#menubar li a { margin-top: 0.5em; } +/* Format the pageinfo bar. */ +#pageinfo { + float: right; + margin: 0px 12px; +} /* Format the username bar, copied from the modern theme */ #username { - float: right; + float: left; display: inline; - margin: 5px 12px; + margin: 0px 12px; padding: 0; text-align: right; font-size: 0.82em; white-space: nowrap; } -*[dir="rtl"] #username { - text-align: left; - margin: 5px 0px; -} - #username li { display: inline; padding: 0 0.5em 0 0; } -#username form { - display: inline; +#searchform { + /* Put the searchform below the pageinfo / username bar */ + clear: both; + float: right; + /* Put a bit of offset between the pageinfo and searchform. Don't use + * margin here, that collapses with the floating pageinfo. */ + padding-top: 10px; +} + +.editbar { + /* Put a bit of offset between the pageinfo and searchform. Don't use + * margin here, that collapses with the floating pageinfo. */ + /*padding-top: 10px; + margin: 5px 0;*/ + /* Unset the default ul margins */ + margin-top: 0px; + margin-bottom: 0px; + /* Put the editbar at the right side (but not over the image there */ + float: right; + margin-right: 220px; + /* Prevent weird linebreaks */ + white-space: nowrap; } -#username input { +.editbar form, .editbar form div { display: inline; - padding: 0; margin: 0; - border: none; - background: #E7E7E7; /* inherit doesnt work on IE */ - color: blue; - font-size: 0.82em; - cursor: pointer; } -#username input:hover { - color: red; +.editbar li { + /* display: inline;*/ + padding: 0; + margin: 4px 6px; } /****************** Next pages ************************/