User:Avdmeers/wiki/core.css

From 2008.igem.org

(Difference between revisions)
m
m
Line 118: Line 118:
}
}
 +
/*
#content h1 {
#content h1 {
border: none;
border: none;
}
}
 +
*/
#content h2 {
#content h2 {

Revision as of 12:09, 29 October 2008

* {
	margin: 0;
	padding: 0;
}

/* default font and color information */
html {
	font-size: 100%;
}

body {
	background: #45A2B5;
	color: #000;
	font: x-small/1.6em Arial, Helvetica, sans-serif;
}
/* END default font and color information */

/* default link rules */
a:link {
	color: #1472a0;
}

a:visited {
	color: #72aabe;
}

a:hover {
	text-decoration: underline;
}
/* END default link rules */

/* headings */
h1, h2, h3, h4, h5, h6 {
	position: relative;
	overflow: hidden;
	clear: left;
}

h1 {
	margin: 0;
	padding: 0;
	line-height: 1.2em;
	font-weight: normal;
	font-size: 2em;
	color: #111;
	margin-bottom: 7em;
}

h2 {
	margin: 1em 0 0.5em 0;
	line-height: 1.2;
	font-weight: normal;
	font-size:1.5em;
	color: #45a2b5;
}

h3 {
	margin: 0.9em 0 0.7em 0;
	line-height: 1.2;
	font-size: 1.3em;
	color: #075a90;
	font-weight: bold;
}

h4 {
	margin: 1em 0 0.5em 0;
	line-height: 1.2;
	color: #00407a;
	font-size: 1.1em;
	font-weight: bold;
}
/* END headings */

/* cols */
.colcontainer {
	clear: both;
}
.twocol {
	width: 47%;
	float: left;
	position: relative;
}
.twocol + .twocol {
	float: right;
}
/* END cols */

/* top-section */
div#menubar {top: 77px;}
div#menubar.left-menu {left: -13px;}
div#menubar.right-menu {right: 5px;}

#menubar li {
	padding: 0 10px;
	border-right: 1px solid #72aabe;
}
#menubar li:first-child {
	border-left: 1px solid #72aabe;
}
#menubar li a {
	padding: 0 4px;
	white-space: nowrap;
	color: #eee;
}
#menubar li a:hover {
	color: #ee8f03;
}
#menubar li a:active {outline: none;}
#menubar li a:focus {-moz-outline-style: none;}
/* END top-section */

/* content */
div#content {
	border-color: #444444;
	border-style: solid;
	border-width: 0 1px 0 1px;
	text-align: justify;
}

/*
#content h1 {
	border: none;
}
*/

#content h2 {
	border-color: #45a2b5;
	border-style: dotted;
	border-width: 0 0 1px 0;
	letter-spacing: 1px;
}
#content h2 span.mw-headline {text-transform: uppercase;}

#content h3 {
	margin-left: 1.9em;
	border-color: #075a90;
	border-style: dotted;
	border-width: 0 0 1px 0;
}
#content h3 span.mw-headline {}

#content h4 {
	margin-left: 2.7em;
	border:none;
}
#content h4 span.mw-headline {}

#content span.editsection {
	color: #ccc7dd;
	font-size: 12px;
	font-weight: normal;
	position: absolute;
	top: 50%;
	right: 0;
}
#content span.editsection a {
	color: #ccc7dd;
	text-decoration: none;
}
#content span.editsection a:hover {
	color: #075a90;
	text-decoration: underline;
}

#content p {
	margin-bottom: 0.85em;
	margin-left: 3em;
	margin-right: 3em;
}

#content ul, #content ol, #content dl {
	margin: 1em 3em;
	margin-left: 4.9em;
}
#content ul ul, #content ol ol, #content ul ol, #content ol ul {
	margin: 0.3em 0 0 2em;
}
#content ul li, #content ol li {
	padding-left: 12px;
}

#content ul {
	/* background: url(https://static.igem.org/mediawiki/2008/7/75/Kul_icon_bullet.png) no-repeat -12px 50%; */
}

#content table {
	margin: 0 auto;
}

#content div.floatleft, #content table.floatleft {
	margin: 0 8px 2px 3em;
	clear: left;
}
#content div.floatright, #content table.floatright {
	margin: 0 3em 2px 8px;
	clear: right;
}

#content div.tleft {
	margin: 0 8px 0 3em;
}
#content div.tright {
	margin: 0 3em 0 8px;
}

#content hr {
	margin: 0 3em;
	color: #bbb;
	background: #bbb;
	height: 1px;
}
#content blockquote {
	display:list-item;
	color:#075a90;
	font-family: "Adobe Caslon Pro","Hoefler Text",Georgia,Garamond,Times,serif;
	margin: 15px 5em;
	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;
}
#content code {
	display: block;
	line-height: 1.2;
	background: #e9e9e9;
	font-family: "Courier New";
}
#content pre {
	margin: 0 3.2em;
	white-space:normal;
}

#content div.instructions {
	font-size: xx-small;
}
/* END content */

/* toc */
table#toc, table.toc {
	margin: 0;
	min-width: 17em;
}
#toc h2, .toc h2 {
	color: #000;
	border: none;
}
#toctitle, .toctitle {
	min-width: 17em;
	border-bottom: 1px dotted #000;
}
#toc ul, .toc ul {
	margin: 0.3em 0 0 0;
	font-size: 0.92em;
	list-style-image: none;
}
#toc ul ul, .toc ul ul {
	font-size: 1em;
}

#content #toc ul ul {margin: 0.1em 0 0 0.6em;}
/* END toc */