Team:TU-Eindhoven/Style
From 2014.igem.org
(Difference between revisions)
Rafiqlubken (Talk | contribs) |
Rafiqlubken (Talk | contribs) |
||
Line 37: | Line 37: | ||
#menubar.left-menu { | #menubar.left-menu { | ||
width: 100%; | width: 100%; | ||
- | margin-left: - | + | margin-left: -50px; |
} | } | ||
Revision as of 21:11, 18 May 2014
/* Removing iGEM style */
- searchInput, #contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
display: none;
}
- content {
height: 100%; width: 100%; border: none; background-image: url("http://sgugenetics.pbworks.com/f/E.COLI.jpg");
}
/* Customizing standard iGEM navigation panel */
- top-section{
height: 24px; width: 100%; border: none; border-top: none;
}
- menubar {
display: table-cell; height: 30px; font-size: 12pt; position: fixed; background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #065700),color-stop(0.87, #000000)); background-image: -o-linear-gradient(bottom, #065700 0%, #000000 87%); background-image: -moz-linear-gradient(bottom, #065700 0%, #000000 87%); background-image: -webkit-linear-gradient(bottom, #065700 0%, #000000 87%); background-image: -ms-linear-gradient(bottom, #065700 0%, #000000 87%); background-image: linear-gradient(to bottom, #065700 0%, #000000 87%);
}
- menubar.left-menu {
width: 100%; margin-left: -50px;
}
- menubar.right-menu {
text-align: right;
}
- menubar.left-menu a {
border: none; color: grey;
}
- menubar.right-menu a {
border: none; color: grey;
}
- menubar * {
background: transparent;
}
- menubar * a:hover{
color: green; text-decoration: none;
}
- menubar > ul > li:last-child {
display: none;
}
/* TU-Eindhoven Style */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: none;
}
body {
font-family: 'Noto Sans', sans-serif;
}
ol, ul {
list-style: none;
}
- navpanel {
height:75px; width:975px; background:rgba(0,50,0,1); border-bottom-right-radius: 8px; border-bottom-left-radius: 8px; margin-left:auto; margin-right:auto; margin-top: -9pt; background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0.18, #000000),color-stop(1, #065700)); background-image: -o-linear-gradient(bottom, #000000 18%, #065700 100%); background-image: -moz-linear-gradient(bottom, #000000 18%, #065700 100%); background-image: -webkit-linear-gradient(bottom, #000000 18%, #065700 100%); background-image: -ms-linear-gradient(bottom, #000000 18%, #065700 100%); background-image: linear-gradient(to bottom, #000000 18%, #065700 100%);}
- header {
height: 200px; width: 100% border: 2px solid black;
}
.menu1 {
height:75px; width:200px; background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0.18, #000000),color-stop(1, #adff08)); background-image: -o-linear-gradient(bottom, #000000 18%, #adff08 100%); background-image: -moz-linear-gradient(bottom, #000000 18%, #adff08 100%); background-image: -webkit-linear-gradient(bottom, #000000 18%, #adff08 100%); background-image: -ms-linear-gradient(bottom, #000000 18%, #adff08 100%); background-image: linear-gradient(to bottom, #000000 18%, #adff08 100%); float:left; transition:all .2s ease-in-out 0s; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px;
}
.menu2 {
height:75px; width:200px; background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0.18, #000000),color-stop(1, #3dd700)); background-image: -o-linear-gradient(bottom, #000000 18%, #3dd700 100%); background-image: -moz-linear-gradient(bottom, #000000 18%, #3dd700 100%); background-image: -webkit-linear-gradient(bottom, #000000 18%, #3dd700 100%); background-image: -ms-linear-gradient(bottom, #000000 18%, #3dd700 100%); background-image: linear-gradient(to bottom, #000000 18%, #3dd700 100%); float:left; position:relative; left:-15px; transition:all .2s ease-in-out 0s; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px;
}
.menu3 {
height:75px; width:200px; background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0.18, #000000),color-stop(1, #5dac00)); background-image: -o-linear-gradient(bottom, #000000 18%, #5dac00 100%); background-image: -moz-linear-gradient(bottom, #000000 18%, #5dac00 100%); background-image: -webkit-linear-gradient(bottom, #000000 18%, #5dac00 100%); background-image: -ms-linear-gradient(bottom, #000000 18%, #5dac00 100%); background-image: linear-gradient(to bottom, #000000 18%, #5dac00 100%); float:left; position:relative; left:-30px; transition:all .2s ease-in-out 0s; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px;
}
.menu4 {
height:75px; width:200px; background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0.18, #000000),color-stop(1, #065700)); background-image: -o-linear-gradient(bottom, #000000 18%, #065700 100%); background-image: -moz-linear-gradient(bottom, #000000 18%, #065700 100%); background-image: -webkit-linear-gradient(bottom, #000000 18%, #065700 100%); background-image: -ms-linear-gradient(bottom, #000000 18%, #065700 100%); background-image: linear-gradient(to bottom, #000000 18%, #065700 100%); float:left; position:relative; left:-45px; transition:all .2s ease-in-out 0s; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px;
}
.p1 {
font-size: 24px; color: white; position: relative; margin-left: 25px; margin-top: 25px; width: 100px;
}
.p2 {
font-size:16px;
}
.menu:hover {
width:300px;
}
.menu1:hover {
width:300px;
}
.menu2:hover {
width:300px;
}
.menu3:hover {
width:300px; height:auto; border-bottom-right-radius: 8px;
}
.menu1:hover .p1 {
color: green;
}
.menu2:hover .p1 {
color: green;
}
.menu3:hover .p1 {
color: green;
}
.menu4:hover .p1 {
color: green;
}
.menu3 ul {
visibility:hidden; list-style:none; font-size:16px; color:rgba(255,255,255,.75); position:relative; margin-left:25px;
}
.menu3:hover ul {
visibility:visible;
}
.menu3 ul li:hover {
color: green;
}