Team:Heidelberg/css/overrides

From 2014.igem.org

(Difference between revisions)
Line 14: Line 14:
display: inline-block;
display: inline-block;
width: 60px;
width: 60px;
 +
text-align: center;
}
}
nav li img {
nav li img {

Revision as of 20:58, 24 September 2014

nav li a img { display:block; margin: 0 auto; } nav li a { text-align: center; }

@media (max-width: 768px) { nav li a { text-align: left !important; } nav li span { display: inline-block; width: 60px; text-align: center; } nav li img { display:inline !important; margin: 0 !important; padding-right: 5px !important; } }