Team:Calgary Entrepreneurial/Stylesheets/global.css
From 2013.igem.org
Line 158: | Line 158: | ||
} | } | ||
- | @media screen and (max-width: 1050px){ | + | @media only screen and (max-width: 1050px){ |
/**Wiki-specific CSS**/ | /**Wiki-specific CSS**/ |
Revision as of 21:57, 8 October 2013
/*** Minimal header: removes the search bar and header image and readjusts font colours in the menus.
Thanks a lot to the 2011 Brown-Stanford and 2012 Lethbridge iGEM teams for snippets of their code! Check out their wikis at: https://2011.igem.org/Team:Brown-Stanford https://2012.igem.org/Team:Lethbridge
- /
- content h1.firstHeading, #contentSub{
display: none; }
- p-logo {
display: none; }
- searchform {
display: none;
}
.left-menu { background-color: #555;
} .left-menu a {
color: #000;
}
div#top-section{ /*the div containing the entire top bar*/ background: #DEDEDE; border: none; height: 1.5em; margin-bottom: 0px !important; position: fixed; width: 100%; z-index: 2; }
- content{
border: 0; margin: 0; padding: 0; position: static; width: 100%; z-index: 1; }
/*** removes the little padlock icons on secure site links Thanks to Rob Kam on MediaWiki's Talk page: http://www.mediawiki.org/wiki/Thread:Project:Support_desk/Padlock_icons_on_HTTPS_links._Why%3F_and_how_to_switch_off%3F ***/ div#content a[href ^="https://"].external{ background: center right no-repeat; padding-right: 18px; }
- search-controls {
overflow:hidden; display:none; background: none; position: absolute; top: 170px; right: 40px; }
div#header {
width: 975px;
text-align: left;
margin-left: auto;
margin-right: auto;
margin-bottom: 0px !important;
}
- menubar {
position: absolute; background: none; color: black; font-family: Roboto, Sans-Serif; }
.left-menu, .right-menu{ position: absolute; background: none; color: black; }
.left-menu li a, .right-menu li a { color: #000 !important; font-size: 0.8rem; padding: 0 0.6em 0 0; }
.left-menu ul li, .right-menu ul li a{
background: none;
color: #000 !important;
font-size: 0.8rem;
}
.left-menu li a:hover, .right-menu li a:hover, .right-menu li a:visited, .right-menu li a:active {
color: #000 !important;
font-size: 0.8rem; }
- catlinks{
display:none; }
- footer-box{
background: #DEDEDE; width: 100%; margin: 0; padding: 0; border: none; }
- f-list li a{
color: #555555; font-family: Roboto, Sans-Serif; font-size: 0.8rem; text-decoration: none; }
#f-list li a:hover{ text-decoration: none; }
/*important for background colours*/ .mediawiki{ background: #ffffff; }
/***End minimal header***/
html{ font-size: 100%; }
h1, h2, h3, h4{ border: 0; font-family: Roboto, sans-serif; }
p{ font-family: Average, serif; font-size: 1rem; margin: 0; padding: 0; }
body, #content{ background: #404040 !important; font-size: 100%; height: 100%; margin: 0; padding: 0; }
@media only screen and (max-width: 1050px){
/**Wiki-specific CSS**/
div#top-section{ /*the div containing the entire top bar*/ background: #DEDEDE; border: none; height: 1.3em; margin-bottom: 0px !important; position: fixed; width: 100%; z-index: 2; }
.left-menu li a, .right-menu li a { color: #000 !important; font-size: 0.7rem; padding: 0 0.6em 0 0; }
.left-menu ul li, .right-menu ul li a{
background: none;
color: #000 !important;
font-size: 0.7rem;
}
.left-menu li a:hover, .right-menu li a:hover, .right-menu li a:visited, .right-menu li a:active { color: #000 !important; font-size: 0.7rem; }
/**End wiki-specific CSS**/
}