Team:Imperial College/Templates:custom css
From 2013.igem.org
Neilthomson (Talk | contribs) |
Neilthomson (Talk | contribs) |
||
Line 580: | Line 580: | ||
background-color: #93b4d9; | background-color: #93b4d9; | ||
} | } | ||
+ | |||
+ | #secondary-nav { | ||
+ | margin-top: 5em } |
Revision as of 20:47, 11 September 2013
/* PLEASE READ https://2013.igem.org/wiki/index.php?title=Team:Imperial_College/Templates:StyleGuide&action=edit */
/* ---------------- WikiMedia Elements / Page Structure---------------- */
/* HIDE Big horrible image at top from iGem 2013 Search Controls Page title */
- p-logo,
- search-controls,
.firstHeading {
display: none;
}
/* Remove default top header */
- top-section {
background-color: #ffffff; border: none; height:20px; margin-top: 0; margin-bottom: 20px;
}
- top-section:hover {
background: #36A9E1;
}
/* Edit and user menu */
- menubar {
top: 0 !important; font-size: 0.7em;
}
- menubar li,
- menubar li a:link {
text-transform: uppercase;
}
/* Highlight with background colour on hover */
- top-section:hover #menubar li a {
color: #FFF;
}
- menubar li a:link,
- menubar li a:visited {
color: #DDD; background-color: transparent;
}
- menubar li a:hover,
- menubar li a:focus {
color: #A3C4E9; text-decoration: none;
}
/* Edit */
- menubar.left-menu{
}
- menubar.left-menu:hover {
background-color: transparent;
}
/* User */
- menubar.right-menu {
}
/* ? */
- catlinks {
border:none; background: #ffffff;
}
/* Wikimedia related links at base of page */
- footer-box {
border:none; margin: 30px auto; width: 100%; background-color: #aeaeae; padding: 3em 0 5em 0;
}
- footer {
text-align: center;
}
- footer-box #f-poweredbyico,
- footer-box #f-copyrightico {
float: none; display: inline-block; vertical-align: middle; margin-bottom: 10px;
}
- footer-box #f-copyrightico {
}
- footer-box #f-list {
float: none; display: block; width: 100%; margin: 0; padding: 0;
}
- footer-box #f-list li {
text-transform: uppercase; padding: 0 .75em; margin: 0;
}
- footer-box #f-list li a:link,
- footer-box #f-list li a:visited {
color: #CCC; font-size: 0.7em;
}
- footer-box #f-list li a:hover,
- footer-box #f-list li a:focus {
color: #36A9E1; text-decoration: none;
}
/* ---------------- Header ---------------- */
- imperial-banner {
position: relative; /* this is to allow positioning of elements within */ text-align: right; height: 100px; margin: 2em 0; line-height: 100px;
}
#imperial-igem-banner { position: absolute; left: 0; top: 0; }
#igem-logo, #imperial-logo { display: inline-block; margin-left: 5px; }
#imperial-igem-banner img, #igem-logo img { height: 90px; }
#igem-logo img { -webkit-transition: all 1s ease-in-out; -moz-transition: all 1s ease-in-out; -ms-transition: all 1s ease-in-out; -o-transition: all 1s ease-in-out; transition: all 1s ease-in-out; }
#igem-logo img:hover { -webkit-transform: rotate(360deg); -moz-transform: rotate(360deg); -o-transform: rotate(360deg); -ms-transform: rotate(360deg); transform: rotate(360deg); }
#imperial-logo img { height: 45px; }
- BackToTop,
- BackToTop:link,
- BackToTop:visited {
position: fixed; bottom: 5px; right: 5px; text-decoration: none; color: #36a9e1;
}
- BackToTop:hover {
color: #a3c4e9;
}
/* ---------------- Footer ---------------- */
- sponsor-logo{
display: block; background-color: #ffffff; margin-left:auto; margin-right:auto; width:20%; margin: 15px; text-align:center }
- ourfooter{
position:relative; display:block; background-color:#fff; width: 975px; float:right; border-top: 1px dotted #d9d9d9; border-bottom: 1px dotted #d9d9d9; }
/* ---------------- Main Content ---------------- */
/* Full Page container */
- content {
position: relative; width: 960px; margin: 0 auto; padding:0; background: #ffffff; border: none; z-index: 2;
}
- contentSub {
margin: 0 0 0 0; }
#slides -webkit-font-smoothing: antialiased; font: normal 15px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; color: #232525; display: none }
#slides .slidesjs-navigation { margin-top:5px; }
#slides .slide { position: relative; width: 975px; height: 548px; }
#slides .slide span.background { width: 100%; height: 100%; }
#slides .slide span.background > * { width: 100%; height: 100%; }
#slides .slide span.text { color: #ffffff; background: rgba(0, 0, 0, 0.75); border-left: 5px solid #008AC3; padding: 10px; position: absolute; bottom: 10px; left: 10px; max-width: 65%; z-index: 1000; }
a.slidesjs-next, a.slidesjs-previous, a.slidesjs-play, a.slidesjs-stop { background-image: url('/wiki/images/f/f9/UESTC_btns-next-prev.png'); background-repeat: no-repeat; display:block; width:12px; height:18px; overflow: hidden; text-indent: -9999px; float: left; margin-right:5px; }
a.slidesjs-next { margin-right:10px; background-position: -12px 0; }
a:hover.slidesjs-next { background-position: -12px -18px; }
a.slidesjs-previous { background-position: 0 0; }
a:hover.slidesjs-previous { background-position: 0 -18px; }
a.slidesjs-play { width:15px; background-position: -25px 0; }
a:hover.slidesjs-play { background-position: -25px -18px; }
a.slidesjs-stop { width:18px; background-position: -41px 0; }
a:hover.slidesjs-stop { background-position: -41px -18px; }
.slidesjs-pagination { margin: 7px 0 0; float: right; list-style: none; }
.slidesjs-pagination li { float: left; margin: 0 1px; }
.slidesjs-pagination li a { display: block; width: 13px; height: 0; padding-top: 13px; background-image: url('/wiki/images/0/0f/UESTC_pagination.png'); background-position: 0 0; float: left; overflow: hidden; }
.slidesjs-pagination li a.active, .slidesjs-pagination li a:hover.active { background-position: 0 -13px }
.slidesjs-pagination li a:hover { background-position: 0 -26px }
#slides a:link, #slides a:visited { color: #333 }
#slides a:hover, #slides a:active { color: #9e2020 }
.navbar { overflow: hidden } #slides { display: none }
.container { margin: 0 auto }
/* */ /* */
ul.navigation-menu {
list-style-type: none; list-style-image: none; width: 975px; height: 50px; text-align: center; display: inline-block; margin: 0; padding: 0; position: relative; font-family: Helvetica, Arial, sans-serif; color: #ffffff; cursor: pointer; /* CSS3 Gradient */
background: #36a9e1;
} ul.navigation-menu ul {
list-style-type: none; list-style-image: none; opacity: 0; position: relative; z-index: -999;
} ul.navigation-menu a:link, ul.navigation-menu a:visited {
text-decoration: none; color: #ffffff; display: inline-block; width: 100%; height: 100%;
} ul.navigation-menu > li {
display: block; float: left; line-height: 50px; height: 50px; text-align: center; width: 194px; padding: 0; margin: 0; border-right: 1px solid #2b87b4; box-shadow: 1px 0 0 rgba(255, 255, 255, 0.5) inset; -webkit-transition: all 300ms ease; -moz-transition: all 300ms ease; -ms-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease;
} ul.navigation-menu > li > ul {
-webkit-transition: all 300ms ease; -moz-transition: all 300ms ease; -ms-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; list-style-type: none; list-style-image: none; text-align: center; padding: 0; margin: 0; height: 0;
} ul.navigation-menu > li > ul > li {
display: block; opacity: 0; padding: 0; margin: 0; height: 0; -webkit-transition: all 300ms ease; -moz-transition: all 300ms ease; -ms-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease;
} ul.navigation-menu > li:hover {
background-color: #a3c4e9;
} ul.navigation-menu > li:hover > ul {
-webkit-transition: all 300ms ease; -moz-transition: all 300ms ease; -ms-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; position: relative; z-index: 9999; height: auto; opacity: 1; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5); background: #36a9e1;
} ul.navigation-menu > li:hover > ul > li {
opacity: 1; border-bottom: 1px solid #2b87b4; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; height: 50px; line-height: 50px;
} ul.navigation-menu > li:hover > ul > li:first-child {
box-shadow: none;
} ul.navigation-menu > li:hover > ul > li:last-child {
border-bottom: none;
} ul.navigation-menu > li:hover > ul > li:hover {
background-color: #a3c4e9;
} ul.navigation-menu > li:hover > ul > li:active {
background-color: #93b4d9;
} ul.navigation-menu > li:hover > ul > li.maple {
background-image: url('https://static.igem.org/mediawiki/2013/8/82/MapleLogo.png'); background-size: 65% auto; background-repeat: no-repeat; background-position: 40% 40%; background-color: #ffce32;
} ul.navigation-menu > li:hover > ul > li.maple a {
text-indent: -9999999px;
} ul.navigation-menu > li:hover > ul > li.maple:hover {
background-color: #fff;
} ul.navigation-menu > li:hover > ul > li.maple:active {
background-color: #ffce32;
} ul.navigation-menu > li:hover > ul > li > ul {
-webkit-transition: all 300ms ease; -moz-transition: all 300ms ease; -ms-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; list-style-type: none; list-style-image: none; text-align: center; padding: 0; margin: 0; position: relative; left: 194px; top: -50px; opacity: 1;
} ul.navigation-menu > li:hover > ul > li > ul:before {
content: "»"; display: block; position: absolute; left: -20px; text-align: right; line-height: 50px;
} ul.navigation-menu > li:hover > ul > li > ul > li {
-webkit-transition: all 300ms ease; -moz-transition: all 300ms ease; -ms-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; width: 0; width: 0; opacity: 0; padding: 0; margin: 0;
} ul.navigation-menu > li:hover > ul > li > ul.left {
left: 0; right: 194px;
} ul.navigation-menu > li:hover > ul > li:hover > ul {
height: auto; width: 194px; opacity: 1; border-top-right-radius: 5px; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5); background: #36a9e1; z-index: 9999999;
} ul.navigation-menu > li:hover > ul > li:hover > ul > li {
width: 194px; height: 50px; line-height: 50px; opacity: 1; border-bottom: 1px solid #2b87b4; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
} ul.navigation-menu > li:hover > ul > li:hover > ul > li:first-child {
box-shadow: none; border-top-right-radius: 5px;
} ul.navigation-menu > li:hover > ul > li:hover > ul > li:last-child {
border-bottom: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px;
} ul.navigation-menu > li:hover > ul > li:hover > ul > li:hover {
background-color: #a3c4e9;
} ul.navigation-menu > li:active {
background-color: #93b4d9;
}
- secondary-nav {
margin-top: 5em }