Team:Heidelberg/css/overrides

From 2014.igem.org

(Difference between revisions)
Line 9: Line 9:
@media (max-width: 768px) {
@media (max-width: 768px) {
nav li a {
nav li a {
-
text-align: left;
+
text-align: left !important;
}
}
img {
img {
-
display:inline;
+
display:inline !important;
-
margin: 0;
+
margin: 0 !important;
-
padding-left: 5px;
+
padding-left: 5px !important;
}
}
}
}

Revision as of 20:41, 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; } img { display:inline !important; margin: 0 !important; padding-left: 5px !important; } }