Team:LMU-Munich/Templates/Page Header

From 2011.igem.org

(Difference between revisions)
(mathias: fun with rounded corners)
m (mathias: added missing clear style for right boxes)
 
(7 intermediate revisions not shown)
Line 11: Line 11:
/* reformat the page header */
/* reformat the page header */
-
#p-logo a {
+
#p-logo {
display: block;
display: block;
background: url(https://static.igem.org/mediawiki/2011/f/fc/Biozentrumnacht.jpg);
background: url(https://static.igem.org/mediawiki/2011/f/fc/Biozentrumnacht.jpg);
Line 17: Line 17:
margin: 0;
margin: 0;
padding: 0;
padding: 0;
 +
}
 +
 +
#p-logo a {
 +
display: block;
 +
position: absolute;
 +
right: 45px;
 +
top: 75px;
 +
background: url(https://static.igem.org/mediawiki/2011/d/d0/Igem-lmu.png);
 +
width: 97px;
 +
height: 83px;
}
}
Line 31: Line 41:
#content {
#content {
background: white url(https://static.igem.org/mediawiki/2011/8/80/BottomLogo.png) bottom right no-repeat;
background: white url(https://static.igem.org/mediawiki/2011/8/80/BottomLogo.png) bottom right no-repeat;
 +
padding-bottom: 176px;
}
}
Line 63: Line 74:
margin: 1px;
margin: 1px;
-
background: #DA5021;
 
width: 94px; /* with one item less: 105px */
width: 94px; /* with one item less: 105px */
height: 44px;
height: 44px;
-
margin-left: -1;
 
}
}
Line 98: Line 107:
display: block;
display: block;
padding: 4px;
padding: 4px;
-
height: 36px;
+
height: 37px;
font-size: 120%;
font-size: 120%;
font-weight: bold;
font-weight: bold;
text-shadow: 0 0 5px white;
text-shadow: 0 0 5px white;
 +
}
 +
 +
#nav a {
 +
/* normal color, first level */
 +
background: #DA5021;
}
}
#nav li:hover a {
#nav li:hover a {
 +
/* mousover color, first level */
background: #CF5F2F;
background: #CF5F2F;
}
}
#nav li strong {
#nav li strong {
-
background: #2AA53A;
+
/* current page */
 +
background: #0B233;
}
}
#nav li:hover li:hover a {
#nav li:hover li:hover a {
 +
/* mousover color, second level */
background: #CF805E;
background: #CF805E;
}
}
Line 128: Line 145:
#content-full {
#content-full {
 +
}
 +
 +
#content-full label, #content-small label {
 +
display: block;
}
}
Line 153: Line 174:
width: 440px;
width: 440px;
margin-right: 5px;
margin-right: 5px;
 +
clear: right;
}
}
Line 161: Line 183:
}
}
</style>
</style>
-
 
+
<a id="logo" href="https://2011.igem.org/Team:LMU-Munich"><img src="https://static.igem.org/mediawiki/2011/9/94/IgemLMU.png" alt="iGEM—LMU" /></a>
-
<img src="https://static.igem.org/mediawiki/2011/9/94/IgemLMU.png" id="logo" alt="iGEM—LMU" />
+
<div id="nav">
<div id="nav">
</html>
</html>

Latest revision as of 18:00, 16 September 2011

Our Sponsors
rightbox
leftbox
leftbox

Full box w/ header

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed eget nulla augue. Ut malesuada dolor non sapien laoreet auctor. Nullam euismod consectetur egestas. Nulla quam nunc, ultricies sit amet dapibus non, accumsan vitae justo. Sed dictum ultrices lorem a varius. Maecenas eu dolor mauris, eu sodales quam. Aenean dignissim sem sed erat facilisis faucibus adipiscing odio aliquam. Cras vestibulum justo vitae ipsum dictum non tempor odio ultrices. Quisque tempus tellus id erat pretium egestas. Duis sit amet sapien sapien. Cras eleifend pretium lacus ut dictum. Quisque tempor, tortor id sodales auctor, justo urna molestie urna, cursus lobortis urna quam vel nunc. Donec vel libero ligula, et dignissim sapien. Morbi vestibulum lorem non tellus congue tincidunt.

Yet another box

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam ullamcorper congue enim, a lobortis nunc malesuada ac. Vivamus ac risus at nisl accumsan mollis. Etiam et dui risus. Quisque sagittis euismod enim ut auctor. Integer sagittis convallis interdum. Aliquam erat volutpat. Duis elementum accumsan malesuada. Nullam non arcu elementum felis tempor sodales eget in felis. Praesent vitae feugiat ligula. In hac habitasse platea dictumst. Integer suscipit tincidunt mauris nec tincidunt. Ut at nisl ultricies mi malesuada pulvinar et sed lectus. Suspendisse mattis gravida magna, eu sagittis neque dignissim imperdiet.