Team:Calgary Entrepreneurial/Stylesheets/global.css

From 2013.igem.org

(Difference between revisions)
Line 174: Line 174:
.left-menu li a, .right-menu li a {
.left-menu li a, .right-menu li a {
color: #000 !important;
color: #000 !important;
-
font-size: 0.7rem;
+
font-size: 0.7rem !important;
padding: 0 0.6em 0 0;
padding: 0 0.6em 0 0;
}
}
Line 182: Line 182:
background: none;
background: none;
color: #000 !important;
color: #000 !important;
-
font-size: 0.7rem;
+
font-size: 0.7rem !important;
}
}
.left-menu li a:hover, .right-menu li a:hover, .right-menu li a:visited, .right-menu li a:active {
.left-menu li a:hover, .right-menu li a:hover, .right-menu li a:visited, .right-menu li a:active {
color: #000 !important;
color: #000 !important;
-
font-size: 0.7rem;
+
font-size: 0.7rem !important;
}
}

Revision as of 21:59, 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

      • /
  1. content h1.firstHeading, #contentSub{

display: none; }

  1. p-logo {

display: none; }

  1. 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; }


  1. 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; }

  1. 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; }

  1. 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; }

  1. catlinks{

display:none; }

  1. footer-box{

background: #DEDEDE; width: 100%; margin: 0; padding: 0; border: none; }

  1. 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 !important; padding: 0 0.6em 0 0; }


.left-menu ul li, .right-menu ul li a{ background: none; color: #000 !important; font-size: 0.7rem !important; }

.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 !important; }

/**End wiki-specific CSS**/

}