Difference between revisions of "Team:ZJU-China/css/ZJU-stylesheet.css"
Line 1: | Line 1: | ||
− | + | /* global footer | |
− | + | ========================================================================== */ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | #gl-footer { | |
− | + | display: table; /* enables it to extend beyond the viewport, makes backgrounds visible on horizontal scroll */ | |
− | + | width: 100%; | |
+ | background: #fff; | ||
+ | color: #666; | ||
+ | font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif; | ||
+ | font-weight: 400; | ||
+ | border:2px solid #ddd; | ||
+ | border-radius:2em; | ||
+ | -moz-box-shadow: 10px 10px 5px #888888; | ||
+ | box-shadow: 0px 0px 2em #888888; | ||
+ | text-align:center; | ||
+ | |||
} | } | ||
+ | #gl-footer a:link, | ||
+ | #gl-footer a:visited { | ||
+ | color: #666; | ||
+ | text-decoration: none; | ||
+ | } | ||
− | + | #gl-footer a:hover, | |
− | + | #gl-footer a:active { | |
− | + | color: #c02942; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | /* menu ============================= */ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | #gl-footer-menu { | |
− | + | width: 90%; | |
− | + | margin-left:auto; | |
− | margin-left: auto; | + | margin-right:auto; |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | #gl-footer-menu .gl-col { | ||
+ | float: left; | ||
+ | width: 20%; | ||
+ | } | ||
− | + | #gl-footer-menu .gl-col-1 { | |
− | + | margin-left: 0%; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #gl-footer-menu .gl-col-5 { | |
− | + | margin-right: 0%; | |
− | + | ||
− | + | ||
} | } | ||
− | + | #gl-footer-menu ul { | |
− | + | margin: 0px 0px; | |
− | + | text-align:center; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | text-align: center | + | |
− | + | ||
} | } | ||
− | + | #gl-footer-menu li { | |
− | + | font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif; | |
− | + | list-style: none; | |
− | + | margin-left:-10%; | |
− | + | height:80px; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | /* set======================== */ |
− | + | #gl-footer-menu li.footIDT, | |
− | + | #gl-footer-menu li.footSynenergene, | |
− | + | #gl-footer-menu li.footZJU1, | |
− | + | #gl-footer-menu li.footZJU2, | |
− | + | #gl-footer-menu li.footZJU3, | |
− | + | #gl-footer-menu li.footZJU4, | |
+ | #gl-footer-menu li.footZJU5, | ||
+ | #gl-footer-menu li.footZJU6, | ||
+ | #gl-footer-menu li.footZJU7, | ||
+ | #gl-footer-menu li.footZJU8 | ||
+ | { | ||
+ | width:100%; | ||
+ | float: left; | ||
+ | background-repeat: no-repeat; | ||
+ | background-position:left; | ||
+ | cursor:pointer; | ||
+ | z-index:9999; | ||
+ | background-size:140px 50px; | ||
+ | transition-property:all; | ||
+ | transition-duration:0.3s; | ||
+ | transition-timing-function:linear; | ||
+ | /* Firefox 4 */ | ||
+ | -moz-transition-property:all; | ||
+ | -moz-transition-duration:0.3s; | ||
+ | -moz-transition-timing-function:linear; | ||
+ | /* Safari and Chrome */ | ||
+ | -webkit-transition-property:all; | ||
+ | -webkit-transition-duration:0.3s; | ||
+ | -webkit-transition-timing-function:linear; | ||
+ | /* Opera */ | ||
+ | -o-transition-property:all; | ||
+ | -o-transition-duration:0.3s; | ||
+ | -o-transition-timing-function:linear; | ||
+ | |||
} | } | ||
− | . | + | #gl-footer-menu li.footIDT{ |
− | + | background-image:url(https://static.igem.org/mediawiki/2015/2/2f/IDT-Logo-0.png); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | . | + | |
− | + | ||
− | + | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | #gl-footer-menu li.footIDT:hover{ | |
− | . | + | background-image:url(https://static.igem.org/mediawiki/2015/0/0f/IDT-Logo-1.png); |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #gl-footer-menu li.footSynenergene{ | |
− | + | ||
− | + | background-image:url(https://static.igem.org/mediawiki/2015/2/29/Synenergene-logo-0.png); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | . | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #gl-footer-menu li.footSynenergene:hover{ | |
− | + | background-image:url(https://static.igem.org/mediawiki/2015/7/77/Synenergene-logo-1.png); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | . | + | |
− | + | ||
− | + | ||
− | . | + | |
− | + | ||
− | + | ||
} | } | ||
− | . | + | #gl-footer-menu li.footZJU1{ |
− | + | background-image:url(https://static.igem.org/mediawiki/2015/6/6c/ZJU-logo-0.gif); | |
− | + | ||
− | + | ||
− | + | ||
− | . | + | |
− | + | ||
− | + | ||
} | } | ||
− | . | + | #gl-footer-menu li.footZJU1:hover{ |
− | + | background-image:url(https://static.igem.org/mediawiki/2015/1/19/ZJU-logo-1.gif); | |
− | + | ||
} | } | ||
− | + | #gl-footer-menu li.footZJU2{ | |
− | . | + | background-size:180px 50px; |
− | + | background-image:url(https://static.igem.org/mediawiki/2015/9/91/ZJU-BKSY-0.gif); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #gl-footer-menu li.footZJU2:hover{ | |
− | + | background-image:url(https://static.igem.org/mediawiki/2015/e/e1/ZJU-BKSY-1.gif); | |
− | + | ||
− | + | ||
} | } | ||
− | + | #gl-footer-menu li.footZJU3{ | |
− | + | background-image:url(https://static.igem.org/mediawiki/2015/d/d8/ZJU-JJH-0.gif); | |
− | + | } | |
− | + | #gl-footer-menu li.footZJU3:hover{ | |
+ | background-image:url(https://static.igem.org/mediawiki/2015/8/83/ZJU-JJH-1.gif); | ||
} | } | ||
− | + | #gl-footer-menu li.footZJU4{ | |
− | + | background-image:url(https://static.igem.org/mediawiki/2015/0/08/ZJU-LI-0.gif); | |
} | } | ||
− | + | #gl-footer-menu li.footZJU4:hover{ | |
− | + | background-image:url(https://static.igem.org/mediawiki/2015/2/2d/ZJU-LI-1.gif); | |
− | + | ||
} | } | ||
− | . | + | #gl-footer-menu li.footZJU5{ |
− | + | background-size:180px 40px; | |
− | + | background-image:url(https://static.igem.org/mediawiki/2015/b/b2/ZJU-NONG-0.gif); | |
− | + | ||
} | } | ||
− | + | #gl-footer-menu li.footZJU5:hover{ | |
− | + | background-image:url(https://static.igem.org/mediawiki/2015/d/d3/ZJU-NONG-1.gif); | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | + | #gl-footer-menu li.footZJU6{ | |
− | + | background-size:180px 50px; | |
− | + | background-image:url(https://static.igem.org/mediawiki/2015/3/36/ZJU-SKSY-0.gif); | |
} | } | ||
− | + | #gl-footer-menu li.footZJU6:hover{ | |
− | + | background-image:url(https://static.igem.org/mediawiki/2015/b/b8/ZJU-SKSY-1.gif); | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #gl-footer-menu li.footZJU7{ | |
− | + | background-image:url(https://static.igem.org/mediawiki/2015/6/65/ZJU-SKY-0.gif); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #gl-footer-menu li.footZJU7:hover{ | |
− | + | background-image:url(https://static.igem.org/mediawiki/2015/d/df/ZJU-SKY-1.gif); | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #gl-footer-menu li.footZJU8{ | |
− | + | background-image:url(https://static.igem.org/mediawiki/2015/4/44/ZJU-YXY-0.gif); | |
− | + | ||
} | } | ||
− | + | #gl-footer-menu li.footZJU8:hover{ | |
− | + | background-image:url(https://static.igem.org/mediawiki/2015/0/08/ZJU-YXY-1.gif); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | . | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | /* copyright ======================== */ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | #gl-footer-copyright { | |
− | + | width: 90%; | |
− | + | margin: 0 auto; | |
− | + | padding: 8px 0 32px 0; | |
− | + | border-top: 1px solid #ccc; | |
− | + | ||
} | } | ||
− | . | + | #gl-footer-copyright .gl-col1 { |
− | + | display: block; | |
− | + | float: left; | |
− | + | margin: 0 0 6px 24px; | |
− | + | font-size: 12px; | |
− | + | line-height: 14px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | #gl-footer-copyright .gl-col1 span { |
− | + | display: block; | |
− | + | float: left; | |
− | + | padding: 4px 0; | |
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | #gl-footer-copyright .gl-col2 { | ||
+ | display: block; | ||
+ | float: right; | ||
+ | margin: 0 24px 6px 0; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | #gl-footer-copyright .gl-col2 li { | ||
+ | display: block; | ||
+ | float: left; | ||
+ | color: #666; | ||
+ | font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif; /* m8 override */ | ||
+ | font-size: 12px; | ||
+ | line-height: 14px; | ||
+ | font-weight: 400; /* m8 override */ | ||
+ | list-style: none; | ||
} | } | ||
− | + | #gl-footer-copyright .gl-col2 a { | |
− | + | display: block; | |
− | + | float: left; | |
− | + | padding: 4px 0; | |
− | + | ||
− | + | ||
− | + | ||
− | . | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | #gl-footer-copyright .gl-col2 li:after { |
− | + | display: block; | |
− | + | float: left; | |
− | + | content: '|'; | |
− | + | margin: 4px 10px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | #gl-footer-copyright .gl-col2 li.gl-last:after { |
− | + | content: ''; | |
− | + | margin: 0; | |
− | + | ||
− | + | ||
} | } |
Revision as of 03:30, 7 September 2015
/* global footer
========================================================================== */
- gl-footer {
display: table; /* enables it to extend beyond the viewport, makes backgrounds visible on horizontal scroll */ width: 100%; background: #fff; color: #666; font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif; font-weight: 400;
border:2px solid #ddd; border-radius:2em; -moz-box-shadow: 10px 10px 5px #888888; box-shadow: 0px 0px 2em #888888; text-align:center;
}
- gl-footer a:link,
- gl-footer a:visited {
color: #666; text-decoration: none;
}
- gl-footer a:hover,
- gl-footer a:active {
color: #c02942;
}
/* menu ============================= */
- gl-footer-menu {
width: 90%; margin-left:auto;
margin-right:auto; }
- gl-footer-menu .gl-col {
float: left; width: 20%;
}
- gl-footer-menu .gl-col-1 {
margin-left: 0%;
}
- gl-footer-menu .gl-col-5 {
margin-right: 0%;
}
- gl-footer-menu ul {
margin: 0px 0px;
text-align:center; }
- gl-footer-menu li {
font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif; list-style: none;
margin-left:-10%; height:80px; }
/* set======================== */
- gl-footer-menu li.footIDT,
- gl-footer-menu li.footSynenergene,
- gl-footer-menu li.footZJU1,
- gl-footer-menu li.footZJU2,
- gl-footer-menu li.footZJU3,
- gl-footer-menu li.footZJU4,
- gl-footer-menu li.footZJU5,
- gl-footer-menu li.footZJU6,
- gl-footer-menu li.footZJU7,
- gl-footer-menu li.footZJU8
{ width:100%; float: left; background-repeat: no-repeat; background-position:left; cursor:pointer; z-index:9999; background-size:140px 50px; transition-property:all; transition-duration:0.3s; transition-timing-function:linear; /* Firefox 4 */ -moz-transition-property:all; -moz-transition-duration:0.3s; -moz-transition-timing-function:linear; /* Safari and Chrome */ -webkit-transition-property:all; -webkit-transition-duration:0.3s; -webkit-transition-timing-function:linear; /* Opera */ -o-transition-property:all; -o-transition-duration:0.3s; -o-transition-timing-function:linear;
}
- gl-footer-menu li.footIDT{
background-image:url(); }
- gl-footer-menu li.footIDT:hover{
background-image:url(); }
- gl-footer-menu li.footSynenergene{
background-image:url(); }
- gl-footer-menu li.footSynenergene:hover{
background-image:url(); }
- gl-footer-menu li.footZJU1{
background-image:url(); }
- gl-footer-menu li.footZJU1:hover{
background-image:url(); }
- gl-footer-menu li.footZJU2{
background-size:180px 50px; background-image:url(); }
- gl-footer-menu li.footZJU2:hover{
background-image:url(); }
- gl-footer-menu li.footZJU3{
background-image:url(); }
- gl-footer-menu li.footZJU3:hover{
background-image:url(); }
- gl-footer-menu li.footZJU4{
background-image:url(); }
- gl-footer-menu li.footZJU4:hover{
background-image:url(); }
- gl-footer-menu li.footZJU5{
background-size:180px 40px; background-image:url(); }
- gl-footer-menu li.footZJU5:hover{
background-image:url(); }
- gl-footer-menu li.footZJU6{
background-size:180px 50px; background-image:url(); }
- gl-footer-menu li.footZJU6:hover{
background-image:url(); }
- gl-footer-menu li.footZJU7{
background-image:url(); }
- gl-footer-menu li.footZJU7:hover{
background-image:url(); }
- gl-footer-menu li.footZJU8{
background-image:url(); }
- gl-footer-menu li.footZJU8:hover{
background-image:url(); }
/* copyright ======================== */
- gl-footer-copyright {
width: 90%; margin: 0 auto; padding: 8px 0 32px 0; border-top: 1px solid #ccc;
}
- gl-footer-copyright .gl-col1 {
display: block; float: left; margin: 0 0 6px 24px; font-size: 12px; line-height: 14px;
}
- gl-footer-copyright .gl-col1 span {
display: block; float: left; padding: 4px 0;
}
- gl-footer-copyright .gl-col2 {
display: block; float: right; margin: 0 24px 6px 0;
}
- gl-footer-copyright .gl-col2 li {
display: block; float: left; color: #666; font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif; /* m8 override */ font-size: 12px; line-height: 14px; font-weight: 400; /* m8 override */ list-style: none;
}
- gl-footer-copyright .gl-col2 a {
display: block; float: left; padding: 4px 0;
}
- gl-footer-copyright .gl-col2 li:after {
display: block; float: left; content: '|'; margin: 4px 10px;
}
- gl-footer-copyright .gl-col2 li.gl-last:after {
content: ; margin: 0;
}