CSS used in swib2009 theme
Page to hold new or amended CSS. The CSS must always be inside [[code type="CSS"]] [[/code]] tags. If there are likely to be lots of changes to CSS it is always best to hold this in a page on the site and then import the code into the theme,. That way anything that doesn't work can be rolled back.
/* THEME COLOURS ==============================*/ /* The grey colour of the main content box and sidebar is #EAEAEA */ /* The "sepia" type of colour of the main background is #86682C */ /* Note boxes have a background of #FFF7CF */ /* Code boxes have a border of #DA9644 */ /* CONTAINERS ==============================*/ div#container-wrap { background-color:#CC9A41; background-image: url(http://southwestimagebank.org/local--files/css:theme/bannerleft.jpg); background-repeat: repeat-y; background-position:left top; padding:0 0 0 40px; } #container { background-image: url(http://southwestimagebank.org/local--files/css:theme/bannerright.jpg); background-position:right top; background-repeat:repeat-y; padding:0 40px 0 0; } #content-wrap { margin:25px 0 auto; min-height:1px; padding-left: 5em; } /* LINKS ==============================*/ a { color:#86682C; text-decoration:none; } a.newpage { color:#7F5C1C; text-decoration:none; } a:hover { background-color: transparent; text-decoration: underline } /* COMMON ELEMENTS ==============================*/ hr { border:1px solid darkgray; height:1px; margin:1em 2em; padding:0; } /* HEADER ==============================*/ #header { background-color:#ffffff; background-image:url(http://southwestimagebank.org/local--files/css:theme/swib5.png); background-position:center; background-repeat: no-repeat; color:#86682C; font-size:90%; height:140px; margin-top:0px; padding-bottom:0px; padding-top:0px; text-decoration:none; } #header h1 { float:left; margin:0; max-height:105px; padding:0; } h1 { color:#86682C; } h1 a { background: url(/) no-repeat; display:block; filter:alpha(opacity=0); // for IE height:140px; margin-top:0px; opacity: 0; padding-bottom:0px; padding-top:0px; text-align:left; text-indent: -9000px; width:100%; } #header h2 span { color:#AA0022; display:none; font-weight:bold; line-height:0; margin:0; max-height:0; padding:0; } /* TOP BAR ==============================*/ #header, #top-bar { margin:0 auto; width:100%; } #top-bar { -moz-border-radius-bottomleft:10px; -moz-border-radius-bottomright:10px; -webkit-border-bottom-right-radius: 10px; -webkit-border-bottom-left-radius: 10px; background-color:#CC9A41; font-size:100%; height:21px; line-height:18px; padding:0; position: absolute; right:0; top:140px; z-index:20; } #top-bar ul li.sfhover a:hover, #top-bar ul li:hover a:hover { background:#D7DAE4 none repeat scroll 0 0; padding-top 14px; text-decoration:none; } #top-bar ul li.sfhover a, #top-bar ul li:hover a { background:#D7DAE4 none repeat scroll 0 0; color:#CB9A41; } #top-bar ul li ul a, #top-bar a:hover { color:#CB9A41; } #top-bar a:hover { background-color:#D7DAE4; text-decoration:underline; } #top-bar ul li a { border:none; line-height:1px; max-height:1px; overflow:hidden; padding-bottom:10px; padding-top:10px; text-decoration:none; } #top-bar li a { display:block; font-weight: bold; margin:0; padding:1px 1em; text-align:center; text-decoration:none; } #top-bar a { background:transparent none repeat scroll 0 0; color:#FFFFFF; } #top-bar ul li, #top-bar ul li ul { border:medium none; } /* PAGE TITLE ==============================*/ #page-title { color:#86682C; font-weight:normal; margin:0 0 0.6em; border-color:#BBBBBB; border-bottom: 1px solid #86682C; font-size:200%; line-height: 115%; margin:0 0 0.5em; padding-top:0.5em; padding-bottom: 10px; } /* SIDE MENU ==============================*/ #side-bar { -moz-border-radius-bottomleft:10px; -moz-border-radius-bottomright:10px; -moz-border-radius-topleft:10px; -moz-border-radius-topright:10px; -webkit-border-radius: 10px; background-color:#EAEAEA; border:1px solid #86682C; clear:both; margin:0 0 0 1em; padding:1em; width:14em; clear:left; float:left; } /* ACCOUNT ==============================*/ #account-topbutton { border:1px solid #8FCFEE; font-size:80%; font-weight:bold; margin-left:5px; padding:0 5px; text-decoration:none; } #account-topbutton { background: transparent; color: #86682C; } #account-options { background-color:#dddddd; border:0 none; display:none; opacity:0.5; padding:0; position:absolute; right:280px; text-align:center; top:0.5em; width:135px; z-index:7; } #account-options ul { color: white; display:block; list-style-image:none; list-style-position:outside; list-style-type:none; margin: 0; padding:0; } #account-options li { color: white; display:block; margin:0; padding:0; width:100%; } #account-options li a { -moz-box-sizing:border-box; color: #86682C; display:block; padding:2px 5px; width:100%; z-index:8; } #account-options li a:hover { color: #86682C; background-color: #dddddd; opacity: 0.5; } .printuser img.small { margin-right: 0.4em; } /* LOGIN STATUS ==============================*/ #login-status { color:#86682C; font-size:100%; overflow:visible; position:absolute; right:10px; top:0px; width: 220px; z-index:25; } #login-status a { background:transparent none repeat scroll 0 0; color:#86682C; } /* SEARCH BOX ==============================*/ #search-top-box { right:0; text-align: left; top:143px; width: 200px; z-index:100; } /* MAIN BODY & CONTENT ==============================*/ body { no-repeat scroll center top; color:#000000; font-family:Helvetica,Arial,sans-serif; font-size:12px; line-height:1.5em; margin:0; padding:0; width: 100%; } #main-content { -moz-border-radius-bottomleft:10px; -moz-border-radius-bottomright:10px; -moz-border-radius-topleft:10px; -moz-border-radius-topright:10px; -webkit-border-radius: 10px; background-image:none; background-repeat: no-repeat; background-color:#EAEAEA; border:1px solid #86682C; margin:0 75px 0 18em; padding-left:1em; padding-top:2em; position: relative; } /* FOOTER, OPTIONS, TAGS ==============================*/ #footer { -moz-border-radius-topleft:10px; -moz-border-radius-topright:10px; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; background-color: #dddddd; clear: both; margin-top: 5px; overflow: hidden; padding: 3px 10px; } #footer .options { position: relative; } .page-tags span { border: none; font-size:85%; padding-top:2px; } #license-area { background-color: darkgray; color: #555555; padding: 0.5em 0; text-align: center; } /* NOTE BOXES (e.g. on start page) ==============================*/ div.wiki-note { -moz-border-radius-bottomleft:5px; -moz-border-radius-bottomright:5px; -moz-border-radius-topleft:5px; -moz-border-radius-topright:5px; -webkit-border-radius:5px; background-color:#FFF7CF; border-bottom:1px solid #DA9644; border-top:5px solid #DA9644; margin:0.5em 5em; padding: 0.6em; text-align:center; width:auto; } /* CODE BOXES (e.g. on this page) ==============================*/ .code { -moz-border-radius: 5px; -webkit-border-radius: 5px; background-color:#F7F7F7; border-bottom:1px solid #DA9644; border-top:5px solid #DA9644; font-family:'Andale Mono','Courier New',Courier,monospace; margin:0.4em 0; overflow:auto; padding:0 1em; } pre { white-space:pre-wrap; } /* TABLES (e.g. ListPages) ==============================*/ table.wiki-content-table { border-collapse:collapse; border-spacing:0; width:70% } table.wiki-content-table th { background-color:#EEEEEE; border:1px solid #888888; padding:0.3em 4em; } table.wiki-content-table td { border:1px solid darkgray; padding:0.5em 0.7em; } /* YOUTUBE VIDEOS ==============================*/ .youtube { background-color: transparent; border-spacing:0; margin-left:auto; text-align:center; } /* SITE MANAGER ==============================*/ #site-manager-menu .head { border-bottom:1px solid #8888BB; color:#333333; font-family:"trebuchet ms",verdana,arial; font-size:180%; margin-bottom:10px; padding:5px 10px; } /* IE6 HACKS ==============================*/ * html #top-bar { left: 1px; } * html #side-bar { margin-left: 6px; } * html #main-content { margin-left: 1em; left: 10px; width: 64%; } * html pre { word-wrap: break-word; }


















