Team:Heidelberg/css/frontpage
From 2014.igem.org
(Difference between revisions)
Line 39: | Line 39: | ||
.impressiv { | .impressiv { | ||
color:white; | color:white; | ||
+ | } | ||
+ | |||
+ | #nav-wrapper{ | ||
+ | width:100%; | ||
+ | position: fixed; | ||
+ | z-index: 1030; | ||
} | } | ||
#front-nav { | #front-nav { | ||
overflow: visible; | overflow: visible; | ||
- | position: | + | position:relative; |
margin: 20px; | margin: 20px; | ||
- | |||
margin-left: auto; | margin-left: auto; | ||
margin-right: auto; | margin-right: auto; |
Revision as of 13:11, 22 September 2014
- ring {
position: fixed; z-index: 1020;
}
.slide {
position: relative;
}
.first {
margin-bottom: 0; height: auto; background-color: #515151; text-align: center;
}
.arrow {
position: absolute; right: 0; background-repeat: no-repeat; z-index: 1020; height: 50px; bottom: -50px;
}
.arrow-right {
background-position: 85% 0;
}
.arrow-grey {
background-image: url("/wiki/images/0/03/Heidelberg_Dreieck.png");
}
.impressiv h1{
text-transform: uppercase; font-weight: bold;
}
.impressiv {
color:white;
}
- nav-wrapper{
width:100%; position: fixed; z-index: 1030; }
- front-nav {
overflow: visible; position:relative; margin: 20px; margin-left: auto; margin-right: auto;
}
- front-nav > ul {
position:absolute; right:0; list-style-type: none; margin: 0; padding-right: 10px;
}
- front-nav > ul > li {
display: inline;
}
- front-nav > ul > li a {
display:inline-block; width:50px;
}
- front-nav {
width: 100%;
}
.arrow {
width: 100%;
}
@media (min-width: 768px){
#front-nav { width: 750px; } .arrow { width: 750px; }
}
@media (min-width: 992px) {
#front-nav { width: 970px; } .arrow { width: 970px; }
}
@media (min-width: 1200px) {
#front-nav { width: 1170px; } .arrow { width: 1170px; }
}