Team:Carnegie Mellon/stylesheet

From 2012.igem.org

(Difference between revisions)
Line 70: Line 70:
body {
body {
     background: url("https://static.igem.org/mediawiki/2012/d/d6/TartanBg.jpg") repeat #D7D7D7;}
     background: url("https://static.igem.org/mediawiki/2012/d/d6/TartanBg.jpg") repeat #D7D7D7;}
-
.main_content {
+
 
 +
main {
padding: 1px;}
padding: 1px;}
 +
 +
.main_content{
 +
background: #FFFFFF;
 +
}
 +
.def_bg {
 +
 +
}
.center {
.center {
     margin: 0 auto;
     margin: 0 auto;
     width: 965px;}
     width: 965px;}

Revision as of 20:01, 24 July 2012

/* Thanks to the DTU's Wiki Walkthrough! */ /* https://2011.igem.org/Team:DTU-Denmark/stylesheet?action=raw&ctype=text/css */

/* Remove Mediawiki stuff */

  1. contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
   display:none;}

/* Remove/Shrink iGEM top menu */ /***************************/ body {

   margin: 10px 0 0 0;
   padding: 0;}
  1. top-section {
   width: 930px;
   height: 0;
   margin: 0 auto;
   padding: 0;
   border: none;}
  1. menubar {
   font-size: 65%;
   top: -14px;}

.left-menu:hover {

   background-color: transparent;}
  1. menubar li a {
   background-color: transparent;}
  1. menubar:hover {
   color: white;}
  1. menubar li a {
   color: transparent;}
  1. menubar:hover li a {
   color: white;}
  1. menubar > ul > li:last-child {
   display:none;}

/* Common CSS for CMU */ /* http://www.cmu.edu/common/css/cmu.css */ /* General Styles */ /* CMU Color Table from: http://www.cmu.edu/marcom/brand-guidelines/images/brand-guidelines.pdf */ Primary web colors: Red: #990000 Dark Gray: #464646 Light Gray: #d4d4d4 Light Tan: #f3f0e9

Secondary web colors: Violet: #674c56 Blue: #7493a2 Mustard: #c1a562 Brown: #936241 Orange #d17702 Green #999933 Tan #ac9d74

  • /
  1. content /* - This changes the general body formatting*/

{ margin:0 auto; padding:0px; font-size:14px; font-family:Verdana, Arial, Helvetica, sans-serif; color:#000000; text-decoration:none; font-weight:normal; }


/* Layout */ /**********/

body {

   background: url("TartanBg.jpg") repeat #D7D7D7;}

main { padding: 1px;}

.main_content{ background: #FFFFFF; } .def_bg {

}

.center {

   margin: 0 auto;
   width: 965px;}