Template:Team:HokkaidoU Japan/header/css
From 2013.igem.org
body {
background: #ffffff;
}
- globalWrapper {
position: absolute; top: 0; left: 0; width: 100%; height: 0; margin: 0; padding: 0; border: 0; font-size: 100%;
}
- content {
position: absolute; top: 0; left: 0; width: 100%; height: 0; margin: 0; padding: 0; border: 0; font-size: 100%;
}
- bodyContent {
position: absolute; top: 0; left: 0; width: 100%; height: 0; margin: 0; padding: 0; border: 0; font-size: 100%;
}
- p-logo {
display: none;
}
- footer-box {
display: none;
}
- catlinks {
display: none;
}
.firstHeading {
display: none;
} /**
* Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) * http://cssreset.com */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
content: ; content: none;
}
table {
border-collapse: collapse; border-spacing: 0;
} html {
overflow-y: scroll;
}
body {
font-size: 18px; line-height: 28px; font-family: 'Maven Pro', sans-serif;
}
ul, ol {
margin-left: 40px;
}
- background {
position: absolute; top: 0; width: 100%; margin: 0; padding: 0;
}
.wrapper {
width: 960px; margin: 0 auto 0;
}
- top-section {
position: fixed; top: 0; left: 0; width: 100%; height: 0; margin: 0; padding: 0; border: none; z-index: 100;
}
- open-wiki-menu {
display: block; width: 75px; margin: 15px; padding: 5px; text-align: center; border: 1px solid #000000; border-radius: 5px;
}
- wiki-menu {
display: none; position: relative; width: 120px; margin: 15px; padding: 15px; border: 1px solid #000000; border-radius: 10px;
}
- wiki-menu h2 {
line-height: 20px; font-size: 16px; border: none;
}
- wiki-menu h2:first-child {
padding-top: 0;
}
- menubar {
position: static; width: 90px; overflow-x: hidden; margin: 0; padding: 0; background: #ffffff; font-size: 12px;
}
- menubar li {
display: block; margin: 0; padding: 0; text-align: left;
}
- menubar li a {
color: #000000; background: inherit;
}
- menubar.left-menu li:last-child {
display: none;
}
- close-wiki-menu {
display: block; position: absolute; bottom: 15px; right: 15px;
} ul.mega-menu {
width: 472px; height: 40px; margin: 0; padding: 0; border: none; list-style: none;
} ul.mega-menu ul {
padding: 0; margin: 0;
} ul.mega-menu ul li ul {
display: none;
} ul.mega-menu a {
float: left; display: block; color: #000; padding: 0 20px; line-height: 40px; text-decoration: none;
} ul.mega-menu > li {
float: left; margin: 0; padding: 0; font-size: 13px; list-style: none;
} ul.mega-menu > li.dc-nonmega-li {
position: relative;
} ul.mega-menu > li.dc-nonmega-li .sub-container {
position: absolute;
} ul.mega-menu > li.mega-hover a {
background-position: 100% -40px; color: #000; text-shadow: none;
} ul.mega-menu > li div.sub-container {
position: absolute;
} ul.mega-menu > li div.sub-container.mega ul.sub {
padding: 20px 20px 10px 0;
} ul.mega-menu > li div.sub-container.mega ul.sub div.row {
width: 100%; overflow: hidden; clear: both; background: #ffffff; border: 1px solid #efefef; border-top: none; box-shadow: 5px 5px 1px rgba(0, 0, 0, 0.1);
} ul.mega-menu > li div.sub-container.mega ul.sub div.row li.mega-unit.mega-hdr {
margin: 0 5px 10px; float: left;
} ul.mega-menu > li div.sub-container.mega ul.sub div.row li.mega-unit.mega-hdr a.mega-hdr-a {
padding: 5px 5px 5px 15px; margin-bottom: 5px; background: #e3e3e3; text-transform: uppercase; font-weight: bold; color: #000;
} ul.mega-menu > li div.sub-container.mega ul.sub div.row li.mega-unit.mega-hdr a.mega-hdr-a:hover {
color: #a32403; text-shadow: none;
} ul.mega-menu > li div.sub-container.mega ul.sub div.row li.mega-unit.mega-hdr ul li a {
padding: 4px 5px 4px 20px; font-weight: normal;
} ul.mega-menu > li div.sub-container.mega ul.sub div.row li.mega-unit.mega-hdr ul li a:hover {
color: #a32403; background: #efefef;
} ul.mega-menu > li div.sub-container.non-mega ul.sub {
padding: 20px 20px 20px 0; background: #ffffff; border: 1px solid #efefef; border-top: none; box-shadow: 5px 5px 1px rgba(0, 0, 0, 0.1);
} ul.mega-menu > li div.sub-container.non-mega ul.sub li {
padding: 0; width: 190px; margin: 0;
} ul.mega-menu > li div.sub-container.non-mega ul.sub li a {
padding: 7px 5px 7px 22px;
} ul.mega-menu > li div.sub-container.non-mega ul.sub li a:hover {
color: #a32403; background: #efefef;
} ul.mega-menu > li div.sub-container ul.sub {
display: none; padding: 20px 20px 20px 10px;
} ul.mega-menu > li div.sub-container ul.sub a {
background: none; border: none; text-shadow: none; color: #111; padding: 7px 10px; display: block; float: none; text-decoration: none; font-size: 0.9em;
} ul.mega-menu > li div.sub-container ul.sub li {
list-style: none; float: none; width: 170px; font-size: 1em; font-weight: normal;
} ul.mega-menu > li div.sub-container ul.sub li ul {
display: block;
} ul.mega-menu > li div.sub-container ul.sub li ul li {
padding-right: 0;
}
- footer-background {
width: 100%; height: 200px; margin-top: 100px;
}
- footer {
position: relative; width: 100%; height: 200px;
}
- footer #footer-img {
position: absolute; left: 0; top: 0;
}
- footer #footer-tw {
position: absolute; right: 0; top: 75px; width: 300px; height: 50px;
}
- top-header-background {
background: #cf6f65;
}
- top-header {
position: relative; width: 100%; height: 130px; background: #cf6f65;
}
- top-header #top-header-logo {
position: absolute; top: 25px; left: 465px;
}
- top-header #top-header-team {
position: absolute; top: 65px; left: 407px; color: #000000; font-size: 24px;
}
- top-header #top-header-menu-container {
position: absolute; bottom: 0; left: 0; width: 100%; height: 40px;
}
- top-header #top-header-menu-container #header-menu {
margin: 0 auto;
}
- top-header #top-header-menu-container #header-menu > li > a {
color: #ffffff; font-size: 16px;
}
- top-header #top-header-menu-container #header-menu > li ul li a {
color: #000000; font-size: 14px;
}
- top-header #top-header-menu-container #header-menu .sub-container.mega {
width: 100%;
}
- top-header #top-header-menu-container #header-menu .sub-container.mega .sub {
padding: 10px 0 0;
}
- top-header #top-header-menu-container #header-menu .sub-container.mega .sub .row {
margin: 0 auto; background: #ffffff;
}
- hokkaidou-contents {
width: 880px; margin: 0 auto;
}
- hokkaidou-contents .top-title {
margin: 40px 0 0; text-align: center; font-size: 64px; line-height: 80px;
}
- hokkaidou-contents .top-subtitle {
margin: 20px 0 0; text-align: center; font-size: 40px; line-height: 52px;
}
- hokkaidou-contents .top-title-img {
display: block; height: 250px; margin: 40px auto 0;
}
- hokkaidou-contents .top-text {
width: 660px; margin: 80px auto 0; font-size: 18px; line-height: 28px; text-align: justify;
}
- hokkaidou-contents .top-tile-container {
width: 100%; margin: 60px 0 0;
}
- hokkaidou-contents .top-tile-container + .top-title {
margin-top: 80px;
}
- hokkaidou-contents .top-tile-container ul {
list-style: none; margin: 0;
}
- hokkaidou-contents .top-tile-container ul .top-tile {
width: 100%; height: 225px;
}
- hokkaidou-contents .top-tile-container ul .top-tile .top-tile-left {
float: left; position: relative; width: 544px; height: 100%;
}
- hokkaidou-contents .top-tile-container ul .top-tile .top-tile-left .top-tile-title {
position: absolute; top: 76px; width: 100%; text-align: center; font-size: 56px; font-weight: normal;
}
- hokkaidou-contents .top-tile-container ul .top-tile .top-tile-left .top-tile-left-linkgroup {
position: absolute; top: 145px; width: 100%; text-align: center; font-size: 24px; color: #000000;
}
- hokkaidou-contents .top-tile-container ul .top-tile .top-tile-right {
float: right; width: 336px; height: 100%;
}
- maestro-top-tile-container .top-tile:nth-child(1) .top-tile-left {
background: #f1f9eb;
}
- maestro-top-tile-container .top-tile:nth-child(1) .top-tile-right {
background: #dde4d8;
}
- maestro-top-tile-container .top-tile:nth-child(2) .top-tile-left {
background: #dff1d1;
}
- maestro-top-tile-container .top-tile:nth-child(2) .top-tile-right {
background: #cdddc0;
}
- maestro-top-tile-container .top-tile:nth-child(3) .top-tile-left {
background: #cce8b6;
}
- maestro-top-tile-container .top-tile:nth-child(3) .top-tile-right {
background: #bbd5a7;
}
- maestro-top-tile-container .top-tile:nth-child(4) .top-tile-left {
background: #bae09d;
}
- maestro-top-tile-container .top-tile:nth-child(4) .top-tile-right {
background: #aed293;
}
- human-practice-top-tile-container .top-tile:nth-child(1) .top-tile-left {
background: #ebf9f6;
}
- human-practice-top-tile-container .top-tile:nth-child(1) .top-tile-right {
background: #d8e4e2;
}
- human-practice-top-tile-container .top-tile:nth-child(2) .top-tile-left {
background: #d2f1eb;
}
- human-practice-top-tile-container .top-tile:nth-child(2) .top-tile-right {
background: #c1ddd8;
}
- footer-background {
background: #cf6f65;
}