Difference between revisions of "Template:Leicester"
Line 29: | Line 29: | ||
/* Creates the container for the menu */ | /* Creates the container for the menu */ | ||
#menuContainer { | #menuContainer { | ||
− | float: | + | float:top; |
width: 150px; | width: 150px; | ||
padding: 20px 0px; | padding: 20px 0px; | ||
Line 125: | Line 125: | ||
color: #565656; | color: #565656; | ||
text-decoration:none; | text-decoration:none; | ||
− | font-weight: bold; | + | font-weight: bold |
+ | float: left; | ||
+ | display: block; | ||
} | } | ||
Line 132: | Line 134: | ||
list-style: none; | list-style: none; | ||
margin-left:0px; | margin-left:0px; | ||
− | + | padding:0; | |
+ | overflow: hidden; | ||
+ | } | ||
+ | |||
+ | li { float:left; | ||
+ | } | ||
+ | |||
+ | a:link, a:visted { | ||
+ | display: block; | ||
+ | width:120px; | ||
+ | font-weight:bold; | ||
+ | color: #FFFFFF; | ||
+ | background-color: #98BF21; | ||
+ | text-align:center; | ||
+ | padding: 4px; | ||
+ | text-decoration: none; | ||
+ | text-transformation: uppercase; | ||
+ | } | ||
/*Styles the list items to become menu buttons */ | /*Styles the list items to become menu buttons */ | ||
#menuContainer ul li { | #menuContainer ul li { | ||
text-align: center; | text-align: center; | ||
− | display: | + | display: float; |
width: 100%; | width: 100%; | ||
height:30px; | height:30px; | ||
Line 253: | Line 272: | ||
<a href="https://2015.igem.org/Team:Leicester/Software"><li>SOFTWARE</li></a> | <a href="https://2015.igem.org/Team:Leicester/Software"><li>SOFTWARE</li></a> | ||
− | + | </a> | |
</ul> | </ul> |
Revision as of 10:52, 5 August 2015