User:Avdmeers/wiki/home.css

From 2008.igem.org

< User:Avdmeers | wiki
Revision as of 07:35, 18 August 2008 by Avdmeers (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh); Konqueror: click Reload or press F5; Opera: clear the cache in Tools → Preferences; Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.

/* Warning: wiki links don't work in a div with position specified to relative! */

/* global */
h3 {color: #003e81;}

#kul {
	margin-top: 12px;
}

/* main area */
#kul-main {
	width: 680px;
	float: left;
	z-index: -1; /* display sidebar behind menu */
}

	#kul-main-header {
		width: 100%;
		padding: 0.3em;
		margin-bottom: 7px; /* leave a gap between header and container */
		border: 2px solid #ccc7dd;
		background: url(https://static.igem.org/mediawiki/2008/8/8d/Kul_header_background.png) no-repeat left top;
	}

	#kul-main-header h3 {border-bottom: 1px dotted #ccc7dd;padding: 0.5em 0.5em 0.3em;margin: 0;}

	#kul-main-container {
		width: 100%;
	}

		#kul-main-content {
			width: 670px;
			margin: 0 5px;
		}

		#kul-main-content > div  {
			margin:0;
			width: 680px;
			overflow: hidden; /* keep images in div element */
			border-right: 5px solid #bbb;
			border-bottom: 3px solid #bbb;
		}

		#kul-main-content div {margin: 10px 0; width: 100%; padding: 0.3em;}
		#kul-main-content p {}

/* sidebar area */
#kul-sidebar  {
	width: 265px;
	float: right;
	z-index: -1; /* display sidebar behind menu */
}

	#kul-sidebar-header {
		margin: 0;
		padding: 0.5em;
		border: 2px solid #003e81;
	}

	#kul-sidebar-content {
		width: 100%;
	}

		#kul-sidebar-content h3 {padding: 0.5em 0.5em 0.3em;margin: 0;}
		#kul-sidebar-content p {padding: 2px 10px 3px;margin: 0;}
		#kul-sidebar-content ul {padding: 2px 5px 3px;margin-top: 0;}
		.external {list-style: url(https://static.igem.org/mediawiki/2008/4/44/External.png);}
		.bioscenter {list-style: url(https://static.igem.org/mediawiki/2008/d/d0/KUL_icon_arrow.png);}

		.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 p, .sidebox ul {
			position: relative;
			border-right: 2px solid #ccc7dd;
		}

/* calendar css modified for the homepage */
table {width: 100%; border-left: 2px solid #ccc7dd; border-right: 2px solid #ccc7dd;}
table.calendar          { margin: 0; padding: 10px;}
table.calendar td       { margin: 0; padding: 2px; vertical-align: top; }
table.month .heading td { display: none; }
table.month .dow td     { color: #003e81; text-align:center; font-size:110%; }
table.month td.today    { background-color:#ddd; }
table.month td {
    border: none;
    margin: 0;
    padding: 1pt 1.5pt;
    font-weight: bold;
    font-size: 8pt;
    text-align: right;
    background-color: #eee;
    }
#bodyContent table.month a { background:none; padding:0 }
.day-active { color:#0000cc }
.day-empty  { color:#cc0000 }