Template:Uppsala style
From 2012.igem.org
(Difference between revisions)
Line 167: | Line 167: | ||
width: 100%; | width: 100%; | ||
text-align: center; | text-align: center; | ||
- | margin: 0px; | + | margin: 0px; |
margin-left: auto; | margin-left: auto; | ||
margin-right: auto; | margin-right: auto; | ||
background: black; | background: black; | ||
- | z-index: | + | z-index: |
- | display: inline; | + | display: inline; |
- | border-bottom: 1px solid gray; | + | border-bottom: 1px solid gray; |
- | padding: 0px; | + | padding: 0px; |
- | height: 30px; | + | height: 30px; |
+ | } | ||
+ | |||
+ | #menucontainer { | ||
+ | margin: auto; | ||
+ | width: 900px; | ||
} | } | ||
Line 181: | Line 186: | ||
margin: 0px; | margin: 0px; | ||
padding: 0px; | padding: 0px; | ||
- | height: 100%; | + | height: 100%; |
} | } | ||
Line 193: | Line 198: | ||
.menu li { | .menu li { | ||
font-family: "Gill Sans", "Gill Sans MT", Helvetica; | font-family: "Gill Sans", "Gill Sans MT", Helvetica; | ||
- | font-size: 16px; | + | font-size: 16px; |
- | line-height: 30px; | + | line-height: 30px; |
background-image: url('https://static.igem.org/mediawiki/2012/c/cf/Button.png'); | background-image: url('https://static.igem.org/mediawiki/2012/c/cf/Button.png'); | ||
- | background-repeat: no-repeat; | + | background-repeat: no-repeat; |
- | background-position: 6px -10px; | + | background-position: 6px -10px; |
list-style: none; | list-style: none; | ||
width: 120px; | width: 120px; | ||
Line 204: | Line 209: | ||
position: relative; | position: relative; | ||
display: inline-block; | display: inline-block; | ||
- | text-align: left; | + | text-align: left; |
} | } | ||
.menu li:hover { | .menu li:hover { | ||
background-image: url('https://static.igem.org/mediawiki/2012/c/cf/Button.png'); | background-image: url('https://static.igem.org/mediawiki/2012/c/cf/Button.png'); | ||
- | background-repeat: no-repeat; | + | background-repeat: no-repeat; |
- | background-position: 6px center; | + | background-position: 6px center; |
- | background-color: #333333; | + | background-color: #333333; |
} | } | ||
Line 422: | Line 427: | ||
</div> | </div> | ||
+ | <div id="menucontainer"> | ||
<ul class="menu"> | <ul class="menu"> | ||
<li><a href="/Team:Uppsala_University">Home</a></li> | <li><a href="/Team:Uppsala_University">Home</a></li> | ||
Line 466: | Line 472: | ||
</li> | </li> | ||
</ul> | </ul> | ||
- | + | </div> | |
<div style="position: absolute; top: 3px; right: 5px;"> | <div style="position: absolute; top: 3px; right: 5px;"> | ||
<div class="fb-like" data-href="http://www.facebook.com/UppsalaIgem" data-send="false" data-layout="button_count" data-width="80" data-show-faces="true" data-font="lucida grande"></div> | <div class="fb-like" data-href="http://www.facebook.com/UppsalaIgem" data-send="false" data-layout="button_count" data-width="80" data-show-faces="true" data-font="lucida grande"></div> |
Revision as of 09:39, 25 September 2012