Team:ZJU-China/css/ZJU-stylesheet.css
@font-face { font-family:gennifer; src: url('https://static.igem.org/mediawiki/2015/8/84/Zju-china_jennifer-webfont.eot'); /* IE9 Compat Modes */ src: url('https://static.igem.org/mediawiki/2015/8/84/Zju-china_jennifer-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('https://static.igem.org/mediawiki/2015/8/85/Zju-china_jennifer-webfont.woff') format('woff'), /* Modern Browsers */ url('https://static.igem.org/mediawiki/2015/9/94/ZJU-CHINA_jennifer.ttf') format('truetype'), /* Safari, Android, iOS */ url('https://static.igem.org/mediawiki/2015/0/0d/Zju-china_jennifer-webfont.svg') format('svg'); /* Legacy iOS */
}
/* clearfix ========================= */
.cf:before, .cf:after {
content: ' '; display: table;
}
.cf:after {
clear: both;
}
.cf, .trigger-haslayout {
zoom: 1;
}
/* eu cookie law popup ============== */
- EUCookie p {
z-index: 0!important; /* place it above the global header */
}
/* global header
========================================================================== */
- gl-outer-wrapper {
display: table; /* enables it to extend beyond the viewport, makes backgrounds visible on horizontal scroll */ position: relative; /* enables precision centering on noscript message */ width: 100%; font-family: "gennifer", Helvetica, sans-serif;
}
- gl-inner-wrapper {
overflow: hidden;
}
- gl-header * {
margin: 0; padding: 0;
background:none;
z-index: 999999999;
}
- gl-header,
- gl-header-bg {
display: table; /* enables it to extend beyond the viewport, makes backgrounds visible on horizontal scroll */ width: 100%; height: 70px; /* should always match gl_HeaderFullHeight in /common/javascript/gl-head-scripts.en.js */ background: #222; z-index: 999999999; transition: height 0.3s ease;
}
- gl-header-bg,
- gl-header-offset {
display: none; background: #222;
}
- gl-header.gl-header-fixed,
- gl-header-bg.gl-header-fixed {
display: table; /* enables it to extend beyond the viewport, makes backgrounds visible on horizontal scroll */ position: fixed; top: 0; left: 0;
}
- gl-header.gl-header-fixed {
background: none; /* background only needed here in non-js environments */
}
- gl-header-bg.gl-header-fixed {
z-index: 999999998
}
- gl-header-offset.gl-header-fixed {
display: block; width: 100%; height: 70px;
}
.gl-anchor {
display: block; box-sizing: border-box; content: ' '; height: 60px; /* should always match gl_HeaderOffset in /common/javascript/gl-head-scripts.en.js */ margin: -60px 0 0; overflow: visible;
}
/* variations ======================= */
body.gl-header-nocompact #gl-header {
position: static !important; height: 70px !important; background: #222;
}
body.gl-header-always-compact-nofooter #gl-outer-wrapper {
height: 100%; /* enables precision centering on noscript message without distorting the page's vertical height */
}
body.gl-header-always-compact #gl-header, body.gl-header-always-compact #gl-header.gl-header-fixed, body.gl-header-always-compact #gl-header-bg.gl-header-fixed, body.gl-header-always-compact-nofooter #gl-header, body.gl-header-always-compact-nofooter #gl-header.gl-header-fixed, body.gl-header-always-compact-nofooter #gl-header-bg.gl-header-fixed {
position: static !important; height: 42px !important; background: #222;
}
body.gl-header-nocompact #gl-header-bg, body.gl-header-nocompact #gl-header-offset, body.gl-header-always-compact #gl-header-bg, body.gl-header-always-compact #gl-header-offset, body.gl-header-always-compact #gl-header-bg.gl-header-fixed, body.gl-header-always-compact #gl-header-offset.gl-header-fixed, body.gl-header-always-compact-nofooter #gl-header-bg, body.gl-header-always-compact-nofooter #gl-header-offset, body.gl-header-always-compact-nofooter #gl-header-bg.gl-header-fixed, body.gl-header-always-compact-nofooter #gl-header-offset.gl-header-fixed {
display: none;
}
body.gl-header-no-submenus #gl-header .gl-open .gl-submenu {
top: -900px !important; left: 0;
}
body.gl-footer-compact #gl-footer-menu {
display: none;
}
body.gl-footer-compact #gl-footer-copyright {
border-top: none;
}
/* top ============================== */
- gl-header-top {
position: relative; width: 100%; min-width: 998px; height: 30px; margin: 0 auto; opacity: 1; color: #444; /* m8 override */ font-family: "gennifer", Helvetica, sans-serif; /* m8 override */ font-size: 12px; /* m8 override */ line-height: 14px; /* m8 override */ font-weight: 400; /* m8 override */ text-align: left; /* quirks mode */ transition: all 0.3s ease;
}
/* bottom =========================== */
- gl-header-bottom {
width: 100%; height: 70px; margin: 0 auto ;
}
- gl-logo {
float: left; width: 220px;
margin-left:5%; }
- gl-logo a {
display: block;
}
- gl-logo img {
box-sizing: border-box; border: none; /* ie */
}
- gl-logo-red {
display: block; float: left; width: 48px; height: 50px; transition: all 0.3s ease;
}
- gl-logo-ZJU {
display: block; float: left; width: 160px; height: 22px; margin: 8px 0 0 6px; transition: all 0.3s ease;
}
- gl-logo-MEETIGEM {
display: block; float: left; width: 160px; height: 6px; margin: 6px 0 0 6px; opacity: 1; transition: all 0.3s ease;
} /* global menu
========================================================================== */
- gl-menu {
float: right; transition: all 0.3s ease;
}
- gl-menu-divider {
float: left; height: 33px; margin: 12px 0 0 0; border-left: 1px solid #444;
}
- gl-menu .gl-has-submenu {
float: left;
}
/* tabs ============================= */
- gl-menu .gl-submenu-wrapper {
display: block; box-sizing: border-box; height: 57px; padding: 12px 16px 0 16px; border-top: 3px solid #222; color: #fff; font-family: "gennifer", Helvetica, sans-serif;/* m8 override */ font-size: 16px; line-height: 24px; font-weight: 400; /* m8 override */ text-decoration: none; cursor: pointer;
}
- gl-outer-wrapper.gl-es #gl-menu .gl-submenu-wrapper,
- gl-outer-wrapper.gl-ja #gl-menu .gl-submenu-wrapper,
- gl-outer-wrapper.gl-fr #gl-menu .gl-submenu-wrapper,
- gl-outer-wrapper.gl-ru #gl-menu .gl-submenu-wrapper {
font-size: 15px !important; /* prevents word wrap */
}
- gl-menu .gl-open .gl-submenu-wrapper {
border-top: 3px solid #c02942; background: #333; color: #fff;
}
- gl-menu #gl-menu-search.gl-open .gl-submenu-wrapper {
background: #666;
}
- gl-menu .gl-has-submenu > ul > li {
display: block; float: left; list-style: none;
}
/* submenu ========================== */
- gl-menu .gl-submenu {
position: absolute; width: 100%; top: -900px; left: 0; background: #333;
}
- gl-menu .gl-open .gl-submenu {
top: 87px; left: 0;
}
- gl-menu .gl-hover:hover {
background: #444;
}
- gl-menu .gl-col-wrapper {
display: table; width: 100%; margin: 0 auto; padding: 16px 0;
}
- gl-menu .gl-col {
display: table-cell; box-sizing: border-box; padding: 12px 24px; border-right: 1px solid #545454;
}
- gl-menu .gl-col div{
width:100%;
padding: 12px 24px; color: #ddd; }
- gl-menu .gl-col div:hover,
- gl-menu .gl-col div:active {
background: #444; }
- gl-menu .gl-col.gl-last {
border: none;
}
- gl-menu .gl-col a:link,
- gl-menu .gl-col a:visited {
color: #ddd; text-decoration: none;
}
- gl-menu .gl-col a:hover,
- gl-menu .gl-col a:active {
color: #fff; text-decoration: none;
}
- gl-menu .gl-col ul,
- gl-menu .gl-col li {
display: block; padding: 0; /* m8 override */ list-style: none;
}
- gl-menu .gl-col ul li a {
display: block; margin: 0 0 0 32px; padding: 6px 0; font-family: "gennifer", Helvetica, sans-serif;/* m8 override */ font-size: 14px; line-height: 16px; font-weight: 300;
}
/* submenu headers ================== */
- gl-menu .gl-col > li {
color: #ddd; font-family: "gennifer", Helvetica, sans-serif;/* m8 override */ font-size: 16px; line-height: 24px; font-weight: 600;
}
- gl-menu .gl-col > li > a {
display: block;
}
- gl-menu .gl-col > li > a:link,
- gl-menu .gl-col > li > a:visited {
color: #ddd;
}
- gl-menu .gl-col > li > a:hover,
- gl-menu .gl-col > li > a:active {
color: #fff;
}
- gl-menu .gl-col > li > ul {
display: block; margin: 6px 0 0 0;
}
/* submenu footer =================== */
- gl-menu .gl-col-footer {
font-family: "gennifer", Helvetica, sans-serif; /* m8 override */ font-size: 11px; line-height: 13px; font-weight: 400; /* m8 override */ letter-spacing: 2px; text-transform: uppercase; text-align: center;
}
- gl-menu .gl-col-footer a:link,
- gl-menu .gl-col-footer a:visited {
display: block; padding: 12px 0; background: #222; color: #eee; text-decoration: none;
}
- gl-menu .gl-col-footer a:hover,
- gl-menu .gl-col-footer a:active {
background: #111; color: #fff;
}
/* submenu icons ==================== */
- gl-menu .gl-icon,
- gl-menu .gl-rtall,
- gl-footer .gl-icon {
display: block; box-sizing: border-box; float: left; width: 24px; height: 24px; margin: 0 8px 24px 0; background: url('/common/images/gl-menu-icons.png') no-repeat; font-size: 0; line-height: 0; vertical-align: top;
}
- gl-menu .gl-r1-c1 { background-position: 0 0; }
- gl-menu .gl-r1-c2 { background-position: -24px 0; }
- gl-menu .gl-r1-c3 { background-position: -48px 0; }
- gl-menu .gl-r1-c4 { background-position: -72px 0; }
- gl-menu .gl-r1-c5 { background-position: -96px 0; }
- gl-menu .gl-r1-c6 { background-position: -120px 0; }
- gl-menu .gl-r1-c7 { background-position: -144px 0; }
- gl-menu .gl-r1-c8 { background-position: -168px 0; }
- gl-menu .gl-r1-c9 { background-position: -192px 0; }
- gl-menu .gl-r2-c1 { background-position: 0 -24px; }
- gl-menu .gl-r2-c2 { background-position: -24px -24px; }
- gl-menu .gl-r2-c3 { background-position: -48px -24px; }
- gl-menu .gl-r2-c4 { background-position: -72px -24px; }
- gl-menu .gl-r2-c5 { background-position: -96px -24px; }
- gl-menu .gl-r2-c6 { background-position: -120px -24px; }
- gl-menu .gl-r2-c7 { background-position: -144px -24px; }
- gl-menu .gl-r2-c8 { background-position: -168px -24px; }
- gl-menu .gl-r2-c9 { background-position: -192px -24px; }
- gl-menu .gl-r3-c1 { background-position: 0 -48px; }
- gl-menu .gl-r3-c2 { background-position: -24px -48px; }
- gl-menu .gl-r3-c3 { background-position: -48px -48px; }
- gl-menu .gl-r3-c4 { background-position: -72px -48px; }
- gl-menu .gl-r3-c5 { background-position: -96px -48px; }
- gl-menu .gl-r3-c6 { background-position: -120px -48px; }
- gl-menu .gl-r4-c1 { background-position: 0 -72px; }
- gl-menu .gl-r4-c2 { background-position: -24px -72px; }
- gl-menu .gl-r4-c3 { background-position: -48px -72px; }
- gl-menu .gl-r4-c4 { background-position: -72px -72px; }
- gl-menu .gl-r5-c1 { background-position: 0 -96px; }
- gl-menu .gl-r5-c2 { background-position: -24px -96px; }
- gl-menu .gl-r5-c3 { background-position: -48px -96px; }
- gl-menu .gl-r6-c1 { background-position: 0 -120px; width: 16px; height: 16px; margin: 5px 8px 0 0; cursor: pointer; }
- gl-footer .gl-r7-c1 { background-position: 0 -136px; width: 56px; height: 16px; margin: 0; cursor: pointer; }
- gl-footer .gl-r7-c2 { background-position: -56px -136px; display: inline-block; width: 14px; height: 14px; margin: 0 4px 0 0; }
/* one submenu ================= */
- gl-submenu-one .gl-col {
width: 25%;
}
- gl-submenu-one .gl-col1 .gl-icon {
margin: 0 8px 0 0;
}
- gl-submenu-one .gl-col1 > li > a {
padding: 6px 0; font-family: "gennifer", Helvetica, sans-serif;/* m8 override */ font-size: 16px; line-height: 24px; font-weight: 600;
}
- gl-submenu-one .gl-col1 > li.gl-last > a {
border: none;
}
/* three submenu ============= */
- gl-submenu-three .gl-col {
width: 33.33333333333333%; border: none;
}
- gl-submenu-three .gl-col a {
display: block; padding: 12px 24px;
}
- gl-submenu-three .gl-col span {
display: block; margin: 6px 0 0 32px; font-family: "gennifer", Helvetica, sans-serif; /* m8 override */ font-size: 14px; line-height: 16px; font-weight: 300;
}
- gl-submenu-three .gl-col span:first-child {
margin: 0; font-size: 16px; line-height: 24px; font-weight: 600;
}
/* two submenu ================ */
- gl-submenu-two .gl-col {
width: 25%;
}
- gl-submenu-two .gl-col.gl-col2,
- gl-submenu-two .gl-col.gl-col4 {
padding: 0;
}
- gl-submenu-two .gl-col.gl-col2 .gl-hover,
- gl-submenu-two .gl-col.gl-col4 .gl-hover {
padding: 12px 24px;
}
/* four submenu ================== */
- gl-submenu-four .gl-col {
width: 25%;
}
/* five submenu ================== */
- gl-submenu-five .gl-col {
width: 25%;
}
- gl-submenu-five > div > .gl-hover {
display: table-cell;
}
/* global header, compact version
========================================================================== */
- gl-header.gl-compact,
- gl-header-bg.gl-compact,
body.gl-header-always-compact #gl-header, body.gl-header-always-compact #gl-header-bg, body.gl-header-always-compact-nofooter #gl-header, body.gl-header-always-compact-nofooter #gl-header-bg {
height: 42px; /* should always match gl_HeaderCompactHeight in /common/javascript/gl-head-scripts.en.js */
}
- gl-header.gl-compact #gl-header-top,
body.gl-header-always-compact #gl-header #gl-header-top, body.gl-header-always-compact-nofooter #gl-header #gl-header-top {
margin-top: -30px; opacity: 0;
}
- gl-header.gl-compact #gl-header-bottom,
body.gl-header-always-compact #gl-header #gl-header-bottom, body.gl-header-always-compact-nofooter #gl-header #gl-header-bottom {
height: 42px;
}
- gl-header.gl-compact #gl-logo-red,
body.gl-header-always-compact #gl-header #gl-logo-red, body.gl-header-always-compact-nofooter #gl-header #gl-logo-red {
width: 32px; height: 33px; margin: 5px 0 0 0;
}
- gl-header.gl-compact #gl-logo-ZJU,
body.gl-header-always-compact #gl-header #gl-logo-ZJU, body.gl-header-always-compact-nofooter #gl-header #gl-logo-ZJU {
width: 110px; height: 15px; margin: 13px 0 0 6px;
}
- gl-header.gl-compact #gl-logo-MEETIGEM,
body.gl-header-always-compact #gl-header #gl-logo-MEETIGEM, body.gl-header-always-compact-nofooter #gl-header #gl-logo-MEETIGEM {
width: 110px; margin-top: -42px; opacity: 0;
}
- gl-header.gl-compact #gl-menu,
body.gl-header-always-compact #gl-header #gl-menu, body.gl-header-always-compact-nofooter #gl-header #gl-menu {
margin: 0;
}
- gl-header.gl-compact #gl-menu .gl-r6-c1,
body.gl-header-always-compact #gl-header #gl-menu .gl-r6-c1, body.gl-header-always-compact-nofooter #gl-header #gl-menu .gl-r6-c1 {
margin: 13px 8px 0 0;
}
- gl-header.gl-compact #gl-menu-divider,
body.gl-header-always-compact #gl-header #gl-menu-divider, body.gl-header-always-compact-nofooter #gl-header #gl-menu-divider {
height: 30px; margin: 6px 0 0 0;
}
- gl-header.gl-compact #gl-menu .gl-has-submenu .gl-submenu-wrapper,
body.gl-header-always-compact #gl-header #gl-menu .gl-has-submenu .gl-submenu-wrapper, body.gl-header-always-compact-nofooter #gl-header #gl-menu .gl-has-submenu .gl-submenu-wrapper {
height: 42px; padding: 0 16px; line-height: 42px; border: none;
}
- gl-header.gl-compact #gl-menu .gl-has-submenu > a:hover,
- gl-header.gl-compact #gl-menu .gl-has-submenu > a:active,
body.gl-header-always-compact #gl-header #gl-menu .gl-has-submenu > a:hover, body.gl-header-always-compact #gl-header #gl-menu .gl-has-submenu > a:active, body.gl-header-always-compact-nofooter #gl-header #gl-menu .gl-has-submenu > a:hover, body.gl-header-always-compact-nofooter #gl-header #gl-menu .gl-has-submenu > a:active {
border: none;
}
- gl-header.gl-compact .gl-submenu,
body.gl-header-always-compact #gl-header .gl-submenu, body.gl-header-always-compact-nofooter #gl-header .gl-submenu {
top: -900px; left: 0;
}
- gl-header.gl-compact .gl-open .gl-submenu,
body.gl-header-always-compact #gl-header .gl-open .gl-submenu, body.gl-header-always-compact-nofooter #gl-header .gl-open .gl-submenu {
top: 42px; left: 0;
}
- gl-header.gl-compact #gl-search-wrapper form > div,
body.gl-header-always-compact #gl-header #gl-search-wrapper form > div, body.gl-header-always-compact-nofooter #gl-header #gl-search-wrapper form > div {
top: 0;
}