Team:Heidelberg/css/overrides
From 2014.igem.org
Line 13: | Line 13: | ||
margin-bottom: 0; | margin-bottom: 0; | ||
} | } | ||
+ | |||
+ | /* Change Text color dependent on background */ | ||
+ | |||
+ | .navbar-red li a { | ||
+ | color: #ad342a; | ||
+ | } | ||
+ | |||
+ | .navbar-white li a { | ||
+ | color: white; | ||
+ | } | ||
+ | |||
/* | /* | ||
#navbar .container { | #navbar .container { | ||
Line 18: | Line 29: | ||
} | } | ||
*/ | */ | ||
+ | |||
/* Align Title Baseline to start of container */ | /* Align Title Baseline to start of container */ | ||
Line 38: | Line 50: | ||
.navbar-nav > li { | .navbar-nav > li { | ||
width: 12.5%; | width: 12.5%; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Revision as of 11:27, 30 September 2014
/* NavBar */ /* Show text underneath img */ nav li a img { display:block; margin: 0 auto; height: 40px; } nav li a { text-align: center; }
- navbar{
margin-bottom: 0; }
/* Change Text color dependent on background */
.navbar-red li a { color: #ad342a; }
.navbar-white li a { color: white; }
/*
- navbar .container {
border-bottom: solid 5px #ce432e; }
- /
/* Align Title Baseline to start of container */
.title-wrapper{ height:80px; }
.title { font-size: 80px; line-height: 80px; font-weight:bold; }
.special-span{ display:inline-block; height: 80px; }
/* Spread list elements equaly over width of ul*/ .navbar-nav > li { width: 12.5%; }
/* only use 85% of the total width, leaving space for logo */ .navbar-nav { width: 85%; }
.navbar-header img { height: 70px; } /* Display collapse button */ .navbar-toggle { padding: 30px 10px; }
.navbar-toggle .icon-bar { background-color: #ad342a; }
/* Center Dropdowns */ .centerDropdown {
left: auto !important; right: -25% !important;
} .centerDropdown::after {
left: auto !important; right: 45% !important;
}
/* Display Navigation Dropdown on hover */
@media (min-width: 768px) { .dropdown:hover .dropdown-menu { display: block; } }
.dark-grey {
background-color: #515151;
}
.grey {
background-color: #e0e0e0;
}
.red {
background-color: #ad342a; background-image: url(/wiki/images/8/85/Heidelberg_Firering_half.png); background-position-x: 90%; background-position-y: 100%; background-size: auto 300px; background-repeat: no-repeat; color: white;
}
.main { margin-top: -2px; }
/* Change highlighting color of thumbnails */ a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active { border-color: #ad342a; }
/* remove overrides above, so img is next to text in collapsed view */ @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; } .navbar-nav > li { width: auto !important; } .navbar-nav { width: 100%; } }
.hashtags{ margin-bottom: -5px; } .hashtags a.label-default { background-color: #515151; border-radius: 0; font-weight: normal; margin-bottom: 5px; display: inline-block; }
.hashtags a.label-default:hover { background-color: #ad342a; }
.pageicon { position:absolute; top: -50%; }
/* Hide Edit and Table of contents generated by Mediawiki */
- toc {
display:none; }
.editsection { display:none; }
.abstract { margin-bottom: 0; background-color: #e0e0e0; }
.underline { border-bottom: 1px solid #515151; padding-bottom: 3px; }