Team:Imperial/Resources/CSS:wiki

From 2014.igem.org

(Difference between revisions)
(Undo revision 102921 by HChughtai (talk))
 
(7 intermediate revisions not shown)
Line 14: Line 14:
#globalWrapper {
#globalWrapper {
-
     background-color: #f1e8df;
+
     background-color: #fff;
     width:960px;
     width:960px;
     height:auto;
     height:auto;
     margin:0 auto;
     margin:0 auto;
     padding:0;
     padding:0;
-
font-size:16px;
+
font-size:14px;
}
}
#bodyContent{
#bodyContent{
-
     background-color:#f1e8df;
+
     background-color:#fff;
     border:none;
     border:none;
     border-color:none;
     border-color:none;
Line 33: Line 33:
body {
body {
-
     background: #f1e8df;
+
     background: #fff;
      
      
}
}
Line 44: Line 44:
     width:100%;
     width:100%;
     height:auto;
     height:auto;
-
     background:#f1e8df;
+
     background:#fff;
}
}
Line 52: Line 52:
     height:20px;
     height:20px;
     margin-top: 0;
     margin-top: 0;
-
     margin-bottom: -20px;
+
     margin-bottom: -30px;
width:960px;
width:960px;
   -webkit-transition: all 300ms ease;
   -webkit-transition: all 300ms ease;
Line 83: Line 83:
#menubar li a:link,
#menubar li a:link,
#menubar li a:visited {
#menubar li a:visited {
-
     color: #DDD;
+
     color: #fff;
     background-color: transparent;
     background-color: transparent;
}
}

Latest revision as of 20:08, 16 October 2014

/* ---------------- WikiMedia Elements / Page Structure---------------- */

  1. content { border: none; }

/* HIDE Search Controls Page title, footerbox */

  1. p-logo,
  2. search-controls,
  3. footer-box,
  4. catlinks,

.firstHeading {

   display: none;

}

  1. globalWrapper {
   background-color: #fff;
   width:960px;
   height:auto;
   margin:0 auto;
   padding:0;

font-size:14px; }

  1. bodyContent{
   background-color:#fff;
   border:none;
   border-color:none;
   padding:0;
   height:auto;
   width:960px;
   margin:0 auto;

}

body {

   background: #fff;
    

}

  1. content{
   border:none;
   padding:0;
   margin:0;
   z-index:1;
   width:100%;
   height:auto;
   background:#fff;

}

  1. top-section { /*styling for default menu bar*/
   background-color: #ffcb6f;
   border: none;
   height:20px;
   margin-top: 0;
   margin-bottom: -30px;

width:960px;

  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;

}

  1. top-section:hover { /*changes menu bar colour on hove*/
   background: #ffcb6f;

}


  1. menubar { /* Edit menubar link styles */
   top: 0 !important;
   font-size: 10px;

}

  1. menubar li,
  2. menubar li a:link {
   text-transform: uppercase;

}


  1. top-section:hover #menubar li a { /* Highlight with background colour on hover */
   color: #FFF;

}

  1. menubar li a:link,
  2. menubar li a:visited {
   color: #fff;
   background-color: transparent;

}

  1. menubar li a:hover,
  2. menubar li a:focus {
   color: #f1e8df;
   text-decoration: none;

}

/* Edit */

  1. menubar.left-menu{

}

  1. menubar.left-menu:hover {
   background-color: transparent;

}


/* User */

  1. menubar.right-menu {

}