Team:Imperial/Templates:custom css
From 2014.igem.org
(76 intermediate revisions not shown) | |||
Line 5: | Line 5: | ||
/* HIDE | /* HIDE | ||
Search Controls | Search Controls | ||
- | Page title */ | + | Page title, footerbox */ |
#p-logo, | #p-logo, | ||
#search-controls, | #search-controls, | ||
+ | #footer-box, | ||
.firstHeading { | .firstHeading { | ||
display: none; | display: none; | ||
} | } | ||
- | |||
- | |||
- | |||
- | /* | + | #top-section { /*styling for default menu bar*/ |
- | + | background-color: rgba(0, 128, 128, 0.1); | |
- | background-color: | + | |
border: none; | border: none; | ||
height:20px; | height:20px; | ||
Line 30: | Line 27: | ||
} | } | ||
- | #top-section:hover { | + | #top-section:hover { /*changes menu bar colour on hove*/ |
- | background: # | + | background: #008080; |
} | } | ||
- | /* Edit | + | |
- | + | #menubar { /* Edit menubar link styles */ | |
top: 0 !important; | top: 0 !important; | ||
font-size: 0.7em; | font-size: 0.7em; | ||
Line 45: | Line 42: | ||
} | } | ||
- | + | ||
- | #top-section:hover #menubar li a { | + | #top-section:hover #menubar li a { /* Highlight with background colour on hover */ |
color: #FFF; | color: #FFF; | ||
} | } | ||
Line 58: | Line 55: | ||
#menubar li a:hover, | #menubar li a:hover, | ||
#menubar li a:focus { | #menubar li a:focus { | ||
- | color: # | + | color: #805500; |
text-decoration: none; | text-decoration: none; | ||
} | } | ||
Line 76: | Line 73: | ||
} | } | ||
- | |||
Line 84: | Line 80: | ||
background: #ffffff; | background: #ffffff; | ||
} | } | ||
+ | /* -----------------------Header--------------- */ | ||
- | + | .header h1{ | |
+ | display:inline-block; | ||
+ | position: relative; | ||
+ | } | ||
- | + | }/*--------------------Custom Navbar-------------------------*/ | |
- | + | .navbar-custom { | |
- | + | background-color: #008080; | |
- | + | border-color: #005f5f; | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | .navbar-custom .navbar-brand { | |
- | + | color: #ffffff; | |
- | + | ||
} | } | ||
- | + | .navbar-custom .navbar-brand:hover, | |
- | + | .navbar-custom .navbar-brand:focus { | |
- | + | color: #e6e6e6; | |
- | + | background-color: transparent; | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | .navbar-custom .navbar-text { | |
- | + | color: #ffffff; | |
- | + | ||
} | } | ||
- | + | .navbar-custom .navbar-nav > li:last-child > a { | |
- | # | + | border-right: 1px solid #005f5f; |
- | + | } | |
- | + | .navbar-custom .navbar-nav > li > a { | |
- | + | color: #ffffff; | |
- | + | border-left: 1px solid #005f5f; | |
- | + | } | |
+ | .navbar-custom .navbar-nav > li > a:hover, | ||
+ | .navbar-custom .navbar-nav > li > a:focus { | ||
+ | color: #c0c0c0; | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | .navbar-custom .navbar-nav > .active > a, | ||
+ | .navbar-custom .navbar-nav > .active > a:hover, | ||
+ | .navbar-custom .navbar-nav > .active > a:focus { | ||
+ | color: #c0c0c0; | ||
+ | background-color: #005f5f; | ||
+ | } | ||
+ | .navbar-custom .navbar-nav > .disabled > a, | ||
+ | .navbar-custom .navbar-nav > .disabled > a:hover, | ||
+ | .navbar-custom .navbar-nav > .disabled > a:focus { | ||
+ | color: #cccccc; | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | .navbar-custom .navbar-toggle { | ||
+ | border-color: #dddddd; | ||
+ | } | ||
+ | .navbar-custom .navbar-toggle:hover, | ||
+ | .navbar-custom .navbar-toggle:focus { | ||
+ | background-color: #dddddd; | ||
+ | } | ||
+ | .navbar-custom .navbar-toggle .icon-bar { | ||
+ | background-color: #cccccc; | ||
+ | } | ||
+ | .navbar-custom .navbar-collapse, | ||
+ | .navbar-custom .navbar-form { | ||
+ | border-color: #005c5c; | ||
+ | } | ||
+ | .navbar-custom .navbar-nav > .dropdown > a:hover .caret, | ||
+ | .navbar-custom .navbar-nav > .dropdown > a:focus .caret { | ||
+ | border-top-color: #c0c0c0; | ||
+ | border-bottom-color: #c0c0c0; | ||
+ | } | ||
+ | .navbar-custom .navbar-nav > .open > a, | ||
+ | .navbar-custom .navbar-nav > .open > a:hover, | ||
+ | .navbar-custom .navbar-nav > .open > a:focus { | ||
+ | background-color: #005f5f; | ||
+ | color: #c0c0c0; | ||
+ | } | ||
+ | .navbar-custom .navbar-nav > .open > a .caret, | ||
+ | .navbar-custom .navbar-nav > .open > a:hover .caret, | ||
+ | .navbar-custom .navbar-nav > .open > a:focus .caret { | ||
+ | border-top-color: #c0c0c0; | ||
+ | border-bottom-color: #c0c0c0; | ||
+ | } | ||
+ | .navbar-custom .navbar-nav > .dropdown > a .caret { | ||
+ | border-top-color: #ffffff; | ||
+ | border-bottom-color: #ffffff; | ||
+ | } | ||
+ | @media (max-width: 767) { | ||
+ | .navbar-custom .navbar-nav .open .dropdown-menu > li > a { | ||
+ | color: #ffffff; | ||
+ | } | ||
+ | .navbar-custom .navbar-nav .open .dropdown-menu > li > a:hover, | ||
+ | .navbar-custom .navbar-nav .open .dropdown-menu > li > a:focus { | ||
+ | color: #c0c0c0; | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | .navbar-custom .navbar-nav .open .dropdown-menu > .active > a, | ||
+ | .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:hover, | ||
+ | .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:focus { | ||
+ | color: #c0c0c0; | ||
+ | background-color: #005f5f; | ||
+ | } | ||
+ | .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a, | ||
+ | .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:hover, | ||
+ | .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:focus { | ||
+ | color: #cccccc; | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | } | ||
+ | .navbar-custom .navbar-link { | ||
+ | color: #ffffff; | ||
+ | } | ||
+ | .navbar-custom .navbar-link:hover { | ||
+ | color: #c0c0c0; | ||
} | } | ||
+ | /*--------------------------More custom stuff---------------------------*/ | ||
- | + | body { | |
- | + | background-color:#FFFFFF; | |
- | + | } | |
- | + | ||
- | } | + | |
- | + | body,#globalWrapper { | |
- | # | + | font-size: 14px; |
- | + | font-family: 'Noto Sans', sans-serif; | |
- | + | ||
- | + | ||
- | |||
- | |||
- | |||
- | |||
} | } | ||
+ | |||
+ | h1,h2,h3,h4 { | ||
+ | color: #008080; | ||
+ | background: #ffffff; | ||
+ | font-weight: bold; | ||
+ | margin: 0 0 0 0; | ||
+ | border-bottom: none; | ||
+ | } | ||
+ | |||
+ | p { | ||
+ | padding: 5px 20px 0px 20px; | ||
+ | } |
Latest revision as of 08:08, 1 August 2014
/* ---------------- WikiMedia Elements / Page Structure---------------- */
- content { border: none; }
/* HIDE Search Controls Page title, footerbox */
- p-logo,
- search-controls,
- footer-box,
.firstHeading {
display: none;
}
- top-section { /*styling for default menu bar*/
background-color: rgba(0, 128, 128, 0.1); border: none; height:20px; margin-top: 0; margin-bottom: 20px; -webkit-transition: all 300ms ease; -moz-transition: all 300ms ease; -ms-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease;
}
- top-section:hover { /*changes menu bar colour on hove*/
background: #008080;
}
- menubar { /* Edit menubar link styles */
top: 0 !important; font-size: 0.7em;
}
- menubar li,
- menubar li a:link {
text-transform: uppercase;
}
- top-section:hover #menubar li a { /* Highlight with background colour on hover */
color: #FFF;
}
- menubar li a:link,
- menubar li a:visited {
color: #DDD; background-color: transparent;
}
- menubar li a:hover,
- menubar li a:focus {
color: #805500; text-decoration: none;
}
/* Edit */
- menubar.left-menu{
}
- menubar.left-menu:hover {
background-color: transparent;
}
/* User */
- menubar.right-menu {
}
/* ? */
- catlinks {
border:none; background: #ffffff;
} /* -----------------------Header--------------- */
.header h1{ display:inline-block; position: relative; }
}/*--------------------Custom Navbar-------------------------*/
.navbar-custom {
background-color: #008080; border-color: #005f5f;
} .navbar-custom .navbar-brand {
color: #ffffff;
} .navbar-custom .navbar-brand:hover, .navbar-custom .navbar-brand:focus {
color: #e6e6e6; background-color: transparent;
} .navbar-custom .navbar-text {
color: #ffffff;
} .navbar-custom .navbar-nav > li:last-child > a {
border-right: 1px solid #005f5f;
} .navbar-custom .navbar-nav > li > a {
color: #ffffff; border-left: 1px solid #005f5f;
} .navbar-custom .navbar-nav > li > a:hover, .navbar-custom .navbar-nav > li > a:focus {
color: #c0c0c0; background-color: transparent;
} .navbar-custom .navbar-nav > .active > a, .navbar-custom .navbar-nav > .active > a:hover, .navbar-custom .navbar-nav > .active > a:focus {
color: #c0c0c0; background-color: #005f5f;
} .navbar-custom .navbar-nav > .disabled > a, .navbar-custom .navbar-nav > .disabled > a:hover, .navbar-custom .navbar-nav > .disabled > a:focus {
color: #cccccc; background-color: transparent;
} .navbar-custom .navbar-toggle {
border-color: #dddddd;
} .navbar-custom .navbar-toggle:hover, .navbar-custom .navbar-toggle:focus {
background-color: #dddddd;
} .navbar-custom .navbar-toggle .icon-bar {
background-color: #cccccc;
} .navbar-custom .navbar-collapse, .navbar-custom .navbar-form {
border-color: #005c5c;
} .navbar-custom .navbar-nav > .dropdown > a:hover .caret, .navbar-custom .navbar-nav > .dropdown > a:focus .caret {
border-top-color: #c0c0c0; border-bottom-color: #c0c0c0;
} .navbar-custom .navbar-nav > .open > a, .navbar-custom .navbar-nav > .open > a:hover, .navbar-custom .navbar-nav > .open > a:focus {
background-color: #005f5f; color: #c0c0c0;
} .navbar-custom .navbar-nav > .open > a .caret, .navbar-custom .navbar-nav > .open > a:hover .caret, .navbar-custom .navbar-nav > .open > a:focus .caret {
border-top-color: #c0c0c0; border-bottom-color: #c0c0c0;
} .navbar-custom .navbar-nav > .dropdown > a .caret {
border-top-color: #ffffff; border-bottom-color: #ffffff;
} @media (max-width: 767) {
.navbar-custom .navbar-nav .open .dropdown-menu > li > a { color: #ffffff; } .navbar-custom .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-custom .navbar-nav .open .dropdown-menu > li > a:focus { color: #c0c0c0; background-color: transparent; } .navbar-custom .navbar-nav .open .dropdown-menu > .active > a, .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:focus { color: #c0c0c0; background-color: #005f5f; } .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:focus { color: #cccccc; background-color: transparent; }
} .navbar-custom .navbar-link {
color: #ffffff;
} .navbar-custom .navbar-link:hover {
color: #c0c0c0;
}
/*--------------------------More custom stuff---------------------------*/
body {
background-color:#FFFFFF; }
body,#globalWrapper { font-size: 14px; font-family: 'Noto Sans', sans-serif;
}
h1,h2,h3,h4 { color: #008080; background: #ffffff; font-weight: bold; margin: 0 0 0 0; border-bottom: none; }
p { padding: 5px 20px 0px 20px; }