User:Avdmeers/wiki/home.css
From 2008.igem.org
< User:Avdmeers | wiki(Difference between revisions)
m |
m |
||
(4 intermediate revisions not shown) | |||
Line 8: | Line 8: | ||
/* header fix for homepage */ | /* header fix for homepage */ | ||
- | h1.firstHeading {line-height: 1. | + | h1.firstHeading {line-height: 1.35em;} |
#home { | #home { | ||
Line 79: | Line 79: | ||
#home-content {margin-left:3px;} | #home-content {margin-left:3px;} | ||
- | #home-content | + | #home-content div { |
margin:0 0 12px 0; | margin:0 0 12px 0; | ||
overflow:auto; | overflow:auto; | ||
- | padding: 0 10px | + | padding: 0 10px 5px; |
position:relative; | position:relative; | ||
border-color:grey; | border-color:grey; | ||
border-style:solid; | border-style:solid; | ||
border-width:0 4px 3px 0; | border-width:0 4px 3px 0; | ||
+ | } | ||
+ | #home-content div div { | ||
+ | margin: 0; | ||
+ | padding: 0 10px; | ||
+ | border: none; | ||
} | } | ||
#home-content h3 {margin:0.9em 0 0.7em;line-height:1.2;font-size:1.3em;color:#075a90;font-weight:bold;} | #home-content h3 {margin:0.9em 0 0.7em;line-height:1.2;font-size:1.3em;color:#075a90;font-weight:bold;} |
Latest revision as of 23:06, 29 October 2008
@import url(ui.menubar.css); @import url(ui.tabs.css); @import url(ui.calendar.css); html, body, div, ul, li, h1, h2, h3, h4, h5, h6, p {margin:0;padding:0;} ul {list-style-image:none;} /* IE fix */ body {background-color:#45a2b5;} /* header fix for homepage */ h1.firstHeading {line-height: 1.35em;} #home { margin:1.5em 1em 2em 1em; font-family:Arial, Helvetica, sans-serif; font-size:1em; /* reset */ } #bodyContent {font-size:small;} #content {font-size:0.92em;} .more {float:right;} .external-links li {background:url(https://static.igem.org/mediawiki/2008/4/44/External.png) no-repeat 5px 0.65em;} .general-links li {background:url(https://static.igem.org/mediawiki/2008/4/43/KUL_Icon_arrow.gif) no-repeat 2px 0.5em;} .more li {background: url(https://static.igem.org/mediawiki/2008/d/d0/KUL_icon_arrow.png) no-repeat 0 0.35em;} .floatleft {float:left;margin:0 8px 0 0;} .floatright {float:right;margin: 0 0 0 8px;} /* home header */ #home-header { margin-bottom:10px; width:100%; border:2px solid #CCC7DD; } #home-header h2 { line-height:1.2; margin:0.5em 1em 0.5em; overflow:hidden; font-family: Trebuchet MS, Arial; font-size:1.8em; } #home-header p {margin:0 0 0.5em 2em;} #home-header blockquote {display:list-item;color:#075a90;margin: 25px 150px 25px 150px;padding-right: 25px;list-style-image: url(https://static.igem.org/mediawiki/2008/9/9a/KUL_quotes1.png);background: url(https://static.igem.org/mediawiki/2008/9/9a/KUL_quotes1.png);background-position: bottom right;background-repeat: no-repeat;} .countdown {float:right;margin-left:1em;border-left:2px dotted #ccc7dd;} .alert-box { margin: 0 auto; padding: 5px 5px 5px 50px; font-size: x-small; height: 48px; width: 330px; background: #FFF url(https://static.igem.org/mediawiki/2008/6/6d/Lock-48x48.png) no-repeat left 50%; border: 1px solid #00407a; } #igem-kuleuven { position: absolute; top: 0; right: 0; } #igem-kuleuven a { display: block; width: 215px; height: 54px; background: #FFF url(https://static.igem.org/mediawiki/2008/c/cc/KUL_iGEM_link1.png) no-repeat left top; } #igem-kuleuven a:hover { background: #FFF url(https://static.igem.org/mediawiki/2008/5/5d/KUL_iGEM_link2.png) no-repeat left top; } /* home main */ #home-main { clear:none; float:left; margin-right:19px; /* fill up space between main and sidebar */ width:730px; } #home-content {margin-left:3px;} #home-content div { margin:0 0 12px 0; overflow:auto; padding: 0 10px 5px; position:relative; border-color:grey; border-style:solid; border-width:0 4px 3px 0; } #home-content div div { margin: 0; padding: 0 10px; border: none; } #home-content h3 {margin:0.9em 0 0.7em;line-height:1.2;font-size:1.3em;color:#075a90;font-weight:bold;} #home-content h4 {margin:0.5em 0;line-height:1.2;color:#00407a;font-size:1.1em;margin-top:1em;margin-bottom:5px;font-weight:bold;} #home-content p {margin-bottom:0.85em;text-align:justify;} #home-content ul {margin:1em 0 1em 15px;} #home-content ul ul {margin:0;} #home-content ul li {padding-left:15px;list-style:none;} #home-content img {padding:5px;} /* home sidebar */ #home-sidebar { clear:none; float:left; width:190px; } #home-sidebar h3 { font-size:1.08em; font-weight:bold; padding:0.5em 0.5em 0.3em; color:#40668C; margin:0; } #home-sidebar ul {padding:2px 0 10px 0;} #home-sidebar a:link, #home-sidebar a:visited {border-bottom:0.08em solid #fff;color:#075a90;text-decoration:none;} #home-sidebar a:hover {border-bottom:0.08em solid #72AABE;color:#075a90;text-decoration:none} #home-sidebar p img {float:left;margin:3px 5px 2px 0;border:1px solid #00407A;} #home-sidebar p {overflow:hidden;padding:2px 10px 3px;position:relative;} #home-sidebar ul {padding:2px 0 10px 7px;} #home-sidebar ul li {list-style:none;} .sidebox, .visitors {margin:0 0 15px 0;} .visitors {margin-top:20px;} .sidebox {background: url(https://static.igem.org/mediawiki/2008/2/2c/KULeuven_Sidebox.gif) no-repeat left bottom;} .sidebox h3 {border-left:2px solid #ccc7dd;border-bottom:2px dotted #ccc7dd; background:#e8e4f1 url(https://static.igem.org/mediawiki/2008/2/2c/KULeuven_Sidebox.gif) no-repeat right top; } .sidebox div {border-right: 2px solid #ccc7dd;} .sidebox p, .sidebox ul {border-right:2px solid #ccc7dd;} .sidebox li {padding:3px 10px 0 20px;text-indent:0;} .sidebox a:hover img {border:1px solid #72AABE !important;} .sidebox * *, .visitors * * {border:none;} .sidebox p:after {content:".";display:block;clear:left;height:0;visibility:hidden;} .visitors {background: url(https://static.igem.org/mediawiki/2008/f/f7/KULeuven_Visitors.gif) no-repeat left bottom;} .visitors h3 {border-left:2px solid #cbeeee;border-bottom:2px dotted #cbeeee; background:#e8f5f6 url(https://static.igem.org/mediawiki/2008/f/f7/KULeuven_Visitors.gif) no-repeat right top;} .visitors ul {text-align:center;} .visitors li {padding: 0.1em;} .fun-stuff img {height:44px;width:44px;} .visitors ul {border-right:2px solid #cbeeee;} #home-sidebar .visitors ul {padding:10px 0;} #home-sidebar .month a:link, #home-sidebar .month a:visited, #home-sidebar .month a:hover {border-bottom:none;} #home-sidebar #geo:hover {border-bottom:none;text-decoration:none;} /* Hide from IE5-mac. Only IE-win sees this. \*/ * html .sidebox p {height:1%;margin-left:0;} /* End hide from IE5/mac */