Team:Imperial/Templates:custom css
From 2014.igem.org
Line 1: | Line 1: | ||
- | |||
- | |||
- | |||
- | |||
- | |||
/* ---------------- WikiMedia Elements / Page Structure---------------- */ | /* ---------------- WikiMedia Elements / Page Structure---------------- */ | ||
Revision as of 08:22, 29 July 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(128, 85, 0, 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: #805500;
}
- 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; }
.header img{ display:inline-block; float:right; }/*--------------------Custom Navbar-------------------------*/ .navbar-custom {
background-color: #008080; border-color: #006767;
} .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 #006767;
} .navbar-custom .navbar-nav > li > a {
color: #ffffff; border-left: 1px solid #5f3f00;
} .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: #5f3f00;
} .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: #006767;
} .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: #006767; 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: #5f3f00; } .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;
}
.navbar-custom .navbar-nav {
display: inline-block; float: none;
}
.navbar-custom .navbar-collapse {
text-align: center;
}
/*--------------------------More custom stuff---------------------------*/
body {
background-color:#F0F0F0; }
body,#globalWrapper { font-size: 14px; font-family: 'Noto Sans', sans-serif; overflow-x: hidden;
}
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; }