Team:ITB Indonesia/template/ITB Indonesia-style-v2.css
From 2013.igem.org
- {
margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; }
- container:after, #header:after, #main:after, #main-fullwidth:after, #footer:after, .clearfix:after {
content:"\0020"; display:block; height:0; clear:both; visibility:hidden; overflow:hidden;
}
.clearfix, #main { display: block; }
body { background: url('https://static.igem.org/mediawiki/igem.org/e/e7/ITB_Indonesia-background.png'); color: #555555; font-family: Arial, Helvetica, Sans-serif; font-size: 13px; }
- wrapper {
background: url('https://static.igem.org/mediawiki/igem.org/9/92/ITB_Indonesia-wrapper-bg.png') left top repeat-x; }
- container {
display: block; width: 960px; margin: 0 auto; }
- header {
height: 60px; padding: 25px 0; }
- main {
padding: 15px; background: #fff; }
- content {
overflow: hidden; float: left; width: 960px; }
.post-wrap div:first-child { margin-left: 2px; }
.post { margin-bottom: 15px; }
.post-box { width: 456px; height: auto; float: left; margin-left: 15px; overflow: hidden; }
.menu-secondary-container { position: relative; height: 38px; z-index: 300; background: url('https://static.igem.org/mediawiki/igem.org/2/23/ITB_Indonesia-menu-secondary-bg.png') left top repeat-x; margin-top: 15px; }
.readmore { margin-bottom: 15px; margin-right: 20px; float: right; }
.readmore a { color: #fff; background: #F77E00 url('https://static.igem.org/mediawiki/igem.org/7/71/ITB_Indonesia-readmore-bg.png') left top repeat-x; padding: 8px 14px; font-size: 12px; line-height: 12px; display: inline-block; text-decoration: none; text-transform: uppercase; -moz-border-radius: 2px; -khtml-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; }
- copyrights {
color: #FFFFFF; background: #121F40; text-align: center; padding: 20px 0; }
.title { color: #333333; margin: 0 0 10px 0; padding: 0; font-family: 'Oswald', sans-serif; font-size: 20px; line-height: 20px; font-weight: normal; }
/* Default CSS */ /**
- GENERAL
*/
body {
font-family: Arial, Helvetica, Sans-serif; font-size: 13px;
}
- container:after, #header:after, #main:after, #main-fullwidth:after, #footer:after, .clearfix:after {
content:"\0020"; display:block; height:0; clear:both; visibility:hidden; overflow:hidden;
}
- container, #header, #main, #main-fullwidth, #footer, .clearfix { display:block; }
.clear {clear:both;}
/* Headings */
h1,h2,h3,h4,h5,h6 {
font-weight: normal; margin-bottom: 16px; line-height: 1;
}
h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 20px; }
h4 { font-size: 16px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img { margin:0; }
/* Paragraps */
p { margin:5px 0 20px 0;}
/* Tables */
table {
margin-bottom: 20px; width:100%;
}
th { font-weight: bold; } thead th { background: #c3d9ff; } th,td,caption { padding: 4px 10px 4px 5px; } tr.even td { background: #e5ecf9; } tfoot { font-style: italic; } caption { background: #eee; }
/* Lists */
li ul, li ol { margin: 0; } ul, ol {
margin: 0 20px 20px 0; padding-left: 40px;
}
ul { list-style-type: disc; } ol { list-style-type: decimal; }
dl { margin: 0 0 20px 0; } dl dt { font-weight: bold; } dd { margin-left: 20px;}
/* Misc */
blockquote {
margin: 20px; color: #666; font-style: italic;
}
pre {
margin: 20px 0; white-space: pre;
}
pre,code,tt {
font: 13px 'andale mono', 'lucida console', monospace; line-height: 18px;
}
/**
- MNEUS
*/
.menus, .menus * {
margin: 0; padding: 0; list-style: none; list-style-type: none; line-height: 1.0;
}
.menus ul {
position: absolute; top: -999em; width: 100%;
}
.menus ul li {
width: 100%;
}
.menus li:hover {
visibility: inherit;
}
.menus li {
float: left; position: relative;
}
.menus a {
display: block; position: relative;
}
.menus li:hover ul, .menus li.sfHover ul {
left: 0; top: 100%; /* match top ul list item height */ z-index: 99;
}
.menus li:hover li ul, .menus li.sfHover li ul {
top: -999em;
}
.menus li li:hover ul, .menus li li.sfHover ul {
left: 100%; /* match ul width */ top: 0;
}
.menus li li:hover li ul, .menus li li.sfHover li ul {
top: -999em;
}
.menus li li li:hover ul, .menus li li li.sfHover ul {
left: 100%; /* match ul width */ top: 0;
}
/* Shadows */
.sf-shadow ul {
padding: 0 8px 9px 0; -moz-border-radius-bottomleft: 17px; -moz-border-radius-topright: 17px; -webkit-border-top-right-radius: 17px; -webkit-border-bottom-left-radius: 17px;
}
.menus .sf-shadow ul.sf-shadow-off {
background: transparent;
}
/**
- Some Default and WP required styles.
*/
blockquote {
overflow: hidden; padding-left: 9px; font-style: italic; color: #666; border-left: 3px solid #CADAE7;
}
img.wp-smiley {
max-height: 12px; margin: 0; padding: 0; border: none;
}
.aligncenter, div.aligncenter {
display: block; margin-left: auto; margin-right: auto;
}
.alignleft {
float: left;
}
.alignright {
float: right;
}
.wp-caption {
background: #eee; border: 1px solid #ddd; text-align: center; padding-top: 4px; margin: 10px; /* optional rounded corners for browsers that support it */ -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;
}
.wp-caption img {
margin: 0; padding: 0; border: 0 none;
}
.wp-caption p.wp-caption-text {
font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0;
}
.gallery-caption { }
.sticky { }
/**
- Add padding to images in the posts
*/
.post img.alignleft {
margin: 0 10px 10px 0;
}
.post img.alignright {
margin: 0 0 10px 10px;
}
.post img.aligncenter {
margin-bottom: 10px;
}
/**
- Wp Calendar
*/
- wp-calendar {
empty-cells: show; font-family: Arial, Helvetica, Sans-serif; margin: 0; font-weight: normal; width: 100%; border-spacing: 1px; border-collapse: separate;
}
- wp-calendar caption {
padding: 4px 0; text-transform: uppercase; margin: 2px 0 2px 0; text-align: left; background: none;
}
- wp-calendar th {
font-style: normal; text-transform: capitalize; background: none;
}
- wp-calendar td {
font-family: Arial, Helvetica, Sans-serif; letter-spacing: normal; padding: 4px 0; text-align: center; background: none;
}
.error { text-align: center; color: #fff;
font-weight: bold;
background: Red; padding: 8px;
font-size: 12px;
margin: 0 0 10px 0; }
.message { text-align: center; color: #fff;
font-weight: bold;
background: Green; padding: 8px;
font-size: 12px;
margin: 0 0 10px 0; }
.menu-secondary li a { color: #D7D7D7; padding: 13px 1px 12px 15px; text-decoration: none; font-family: 'Oswald', sans-serif; font-size: 12px; text-transform: uppercase; font-weight: normal; text-shadow: 0 1px 0 #000000; }
.menus, .menus * { margin: 0; padding: 0; list-style: none; list-style-type: none; line-height: 1.0; }
.menus a { display: block; position: relative; }
/* Dropdown Menu */ a { text-decoration: none; } ul { list-style: none; }
/* LEVEL ONE
- /
ul.dropdown { position: relative; } ul.dropdown li { font-weight: bold; float: left; zoom: 1; /* background: #091638; */ } ul.dropdown a:hover { color: #000; } ul.dropdown a:active { color: #ffa500; } ul.dropdown li a { display: block; } ul.dropdown li:last-child a { border-right: none; } /* Doesn't work in IE */ ul.dropdown li.hover, ul.dropdown li:hover { background: #F3D673; color: black; position: relative; } ul.dropdown li.hover a { color: black; }
/*
LEVEL TWO
- /
ul.dropdown ul { width: 220px; visibility: hidden; position: absolute; top: 100%; left: 0; } ul.dropdown ul li { font-weight: normal; background-color: #0A1D51; float: none; }
/* IE 6 & 7 Needs Inline Block */
ul.dropdown ul li:first-child { border-bottom: 1px dashed #C7C7C7; } ul.dropdown ul li a { border-right: none; width: 100%; display: inline-block; }
/* LEVEL THREE
- /
ul.dropdown ul ul { left: 100%; top: 0; } ul.dropdown li:hover > ul { visibility: visible; }
/* CSS Common Page */ .post-single .title { font-size: 24px; line-height: 24px; }
.entry { line-height: 20px; }
.content-left { float: left; width: 615px; text-align: justify; }
.sidebar-primary { float: left; margin-left: 15px; width: 300px; }
.widgettitle, .widgettitle a, .widgettitle a:hover { color: #FFFFFF; font-size: 16px; line-height: 16px; font-family: 'Oswald', sans-serif; font-weight: normal; text-decoration: none; text-transform: uppercase; text-shadow: 0 1px 0 #000000; }
.widgettitle { background: url() left top repeat-x; margin: 0 0 10px 0; padding: 9px 0px 9px 10px; -moz-border-radius: 2px; -khtml-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; }
.sidebar-links { margin-left: 25px; padding-left: 5px; list-style-type:circle; line-height: 150%; font-size: 13px; }
.sidebar-links>li>a, .sidebar-links>li>a:visited { color: #2518B5; }
.content-left p { margin: 0 0 15px 0; }