Team:LMU-Munich/Templates/Page Header

From 2011.igem.org

(Difference between revisions)
(mathias: header redesign in progess…)
m (mathias: added missing clear style for right boxes)
 
(9 intermediate revisions not shown)
Line 3: Line 3:
/* hide some igem stuff... */
/* hide some igem stuff... */
h1.firstHeading, #p-logo img {
h1.firstHeading, #p-logo img {
 +
display: none;
 +
}
 +
 +
#catlinks {
display: none;
display: none;
}
}
/* 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 15: Line 19:
}
}
-
#top-section, #p-logo {
+
#p-logo a {
-
height: 244px;
+
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;
}
}
-
#header {
+
#top-section, #p-logo {
-
position: relative;
+
height: 244px;
-
left: -5px;
+
}
}
Line 28: Line 37:
left: 0px;
left: 0px;
top: -243px;
top: -243px;
 +
}
 +
 +
#content {
 +
background: white url(https://static.igem.org/mediawiki/2011/8/80/BottomLogo.png) bottom right no-repeat;
 +
padding-bottom: 176px;
}
}
Line 33: Line 47:
position: absolute;
position: absolute;
z-index: 100;
z-index: 100;
-
top: 0px;
+
top: -47px;
left: 7px;
left: 7px;
 +
 +
margin: 0;
 +
padding: 0;
 +
}
 +
 +
#nav p {
 +
display: none;
}
}
Line 53: 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 88: 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;
}
}
#rightcol {
#rightcol {
-
width: 180px;
+
width: 187px;
-
border: 1px solid black;
+
-
margin-right: 5px;
+
-
margin-top: 5px;
+
float: right;
float: right;
-
 
+
margin-right: 10px;
-
padding: 5px;
+
}
}
#content-small {
#content-small {
-
padding: 5px;
 
float: left;
float: left;
width: 750px;
width: 750px;
Line 123: Line 145:
#content-full {
#content-full {
-
padding: 5px;
 
}
}
-
.leftbox, .rightbox, .fullbox {
+
#content-full label, #content-small label {
-
border: 1px solid black;
+
display: block;
 +
}
 +
 
 +
.leftbox, .rightbox, .fullbox, #rightcol {
 +
border: 1px solid #888;
padding: 5px;
padding: 5px;
-
margin-bottom: 5px;
+
margin-bottom: 10px;
 +
 
 +
-moz-border-radius: 10px;
 +
border-radius: 10px;
 +
-moz-box-shadow: 0 0 8px #888;
 +
-webkit-box-shadow: 0 0 8px #888;
 +
box-shadow: 0 0 8px #888;
}
}
.leftbox {
.leftbox {
float: left;
float: left;
-
width: 271px;
+
width: 266px;
clear: left;
clear: left;
 +
margin-left: 5px;
}
}
.rightbox {
.rightbox {
float: right;
float: right;
-
width: 450px;
+
width: 440px;
 +
margin-right: 5px;
 +
clear: right;
}
}
.fullbox {
.fullbox {
clear: both;
clear: both;
 +
margin-right: 5px;
 +
margin-left: 5px;
}
}
-
 
-
#footer {
 
-
text-align: right;
 
-
}
 
-
 
</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>
Line 161: Line 191:
<div style="clear:both"></div>
<div style="clear:both"></div>
</html>
</html>
 +
<noinclude>
 +
<div id="rightcol"> <b> Our Sponsors </b> </div>
 +
<div id="content-small">
 +
<div class="rightbox">rightbox</div>
 +
<div class="leftbox">leftbox</div>
 +
<div class="leftbox">leftbox</div>
 +
<div class="fullbox">
 +
== 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.
 +
</div>
 +
<div class="fullbox">
 +
== 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.
 +
</div>
 +
</div>
 +
{{:Team:LMU-Munich/Templates/Page Footer}}
 +
</noinclude>

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.