Team:Dundee/common.css

From 2012.igem.org

(Difference between revisions)
Line 127: Line 127:
margin-left: 0px;
margin-left: 0px;
left: 0px;
left: 0px;
-
top:240px;
+
top:214px;
width:45px;
width:45px;
background-color: #EEEEEE;
background-color: #EEEEEE;

Revision as of 14:59, 25 July 2012

@CHARSET "ISO-8859-1";

body {

   background: #FFFFFF url('https://static.igem.org/mediawiki/igem.org/2/2d/Dundee12bg2.png') repeat left top fixed;
   color: black;
   font: x-small sans-serif;
   margin: 0;
   padding: 0;
   font-family: "Segoe UI Light","Segoe UI",Verdana,"DejaVu Sans","Trebuchet MS","Liberation Sans",Tahoma,Candara,"Bitstream Vera Sans",sans-serif;
   font-size: 0.8em;

}

.firstHeading {

   height: 0px;
   display: none;
   padding: 0px;
   margin: 0px;

}

  1. p-logo

{

   display: none;

}

  1. catlinks

{

   display: none;

}

  1. footer-box

{

   display: none;

}

h1, h2, h3, h4, h5 {

   border: none;
   color: #555555;
   font-weight: bolder;
   margin: 0px 0px 1% 0px;

}

h1{font-size: 1.8em;} h2{font-size: 1.6em;} h3{font-size: 1.4em; line-height: 1em;}

  1. globalWrapper

{ width: 100%; position: relative; padding: 0 0 10px 0; margin: 0px; font-size: 1.1em; background-color: transparent; }

  1. top-section

{

   margin: 0 auto;
   position: relative;
   width: 975px;
   height: 200px;
   padding: 0px;
   border: 0px;
   background-image: url('https://static.igem.org/mediawiki/igem.org/d/d9/Dundee12bannerbg.png');
   background-repeat: no-repeat;
   /* Drop shadow */
   box-shadow: 0 0 8px 10px rgba(0, 0, 0, 0.9), 0 0 5px 10px #000 inset;
   /* raised */    
   box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.8), 0 1px 6px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 0, 0, 0.1) inset;

}

  1. bodyContent

{

   position: absolute;
   top: -17px;
   left: -0px;
   margin: 0 auto 0 auto;

}

  1. bodyContent h1, #bodyContent h2

{

   margin: 1% 0px 1% 0px;

}

  1. bodyContent hr

{

   clear: both;
   height: 5px;
   margin-top: 20px;
   margin-bottom: 20px;

}

  1. content

{

   border-color: transparent;
   border-width: 0px;

}

  1. contentMain

{

   background: none repeat scroll 0 0 white;
   color: #555555;
   line-height: 1.5em;
   margin: 0px auto 30px auto;
   padding: 10px 20px 10px 20px;
   position: relative;
   width: 935px;

}

  1. igemlogo

{

   position: fixed;
   float: right;
   width: 975px;
   height: 100px;
   margin: 0 auto 0 auto;
   top:100px;	

}

  1. medialinks

{ position: fixed; padding:10px; margin-left: 0px; left: 0px; top:214px; width:45px; background-color: #EEEEEE; border-color: #aaaaaa; border-width: 1px 1px 1px 0px; border-style: solid; border-radius: 0px 10px 10px 0px; -moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; }

  1. medialinks img

{

   padding: 6px 0px 6px 0px;

}

.pic {

   border-width: 2px;
   border-color: #2222DD;
   border-style: solid;
   margin-right: 5px;
   text-align: top;
   float: left;

}




/* Sponsor Layout Elements */

.sponsorColumn {

   position: relative;
   padding: 5px;
   width: 290px;

}

.sponsorColumn img {

   display: block;
   margin-left: auto;
   margin-right: auto

}

.L {

   float: left;

}

.M {

   float: left;
   margin-left: 17px;

}

.R {

   float: right;

}




/* Colour & Shape Styles */

.boxOuter {

   margin: 10px 0px 10px 0px;
   position: relative;
   float: left;
   border: 1px #DDD solid;
   background-color: #EEEEEE;

}

.boxOuter h3 { margin-left: 2%; }

.boxInner { margin: 1% auto 1% auto; width:95%; padding: 1%; background-color: #FFFFFF; position: relative; text-align: justify; }

.half {

   width: 440px;
   font-size 1.2em;

}

.full {

   width: 935px;
   font-size 1.2em;

}

.centre {

   float: none;
   margin-left: auto;
   margin-right: auto;

}

.black {

   color: #000;

}

.white {

   color: #fff;

}

.blue {

   color: #555555;
   background-color: #C7C7FF;

}

.red {

   color: #FFC0BD;
   background-color: #FFC0BD;

}

.green {

   color: #555555;
   background-color: #CAFFBF;

}

.yellow {

   color: #555555;
   background-color: #FBFFBD;

}

.rounded { border-radius: 10px; -moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; }

.blueBorder {

   background-image: url('https://static.igem.org/mediawiki/2012/a/ad/Dundee12bluegrad.png');
   background-repeat: repeat-x;

}

.blackBorder {

   background-image: url('https://static.igem.org/mediawiki/2012/3/3d/Dundee12blackgrad.png');
   background-repeat: repeat-x;

}

.redBorder {

   background-image: url('https://static.igem.org/mediawiki/2012/5/5d/Dundee12redgrad.png');
   background-repeat: repeat-x;

}

.caption {

   font-size: 0.8em;
   line-height: 120%;
   text-align: center;
   width: 410px;

}




/* -- CLEARFIX -- */

.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }

.clearfix { display: inline-block; }

html[xmlns] .clearfix { display: block; }

  • html .clearfix

{ height: 1%; }




/* -- DROP SHADOW -- */

.drop-shadow {

   background: none repeat scroll 0 0 #FFFFFF;
   box-shadow: 0 0 3px 15px rgba(0, 0, 0, 1), 0 0 6px 15px #000 inset;
   margin: 2em 10px 4em;
   padding: 1em;
   position: relative;

}

.drop-shadow:before, .drop-shadow:after {

   content: "";
   position: absolute;
   z-index: -2;

}

.raised {

   box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.8), 0 1px 10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.3) inset;

}





/* -- MENU ITEMS ---- */

  1. menuDiv ul { margin: 0; padding: 0;}
  2. menuDiv li { margin: 0; padding: 0;}
  3. menuDiv a { margin: 0; padding: 0;}
  4. menuDiv ul {list-style: none; z-index:999;}
  5. menuDiv a {text-decoration: none;}
  6. menuDiv

{ position: relative; height: 40px; width:975px; left: -20px; top: -10px; background-color: #eeeeee; background-repeat: repeat-x; box-shadow: 0px 5px 8px rgba(0,0,0,0.4); margin-bottom:20px; }


  1. menuDiv > ul > li {
   float: left;
   margin-left: 15px;
   position: relative;

}

  1. menuDiv > ul > li > a {
   color: #777777;
   font-family: Verdana, 'Lucida Grande';
   font-size: 15px;
   line-height: 40px;
   padding: 11px 20px;

-webkit-transition: color .15s;

  -moz-transition: color .15s;
    -o-transition: color .15s;
       transition: color .15s;

}

  1. menuDiv > ul > li > a:hover {color: #333333; background-color: #FFFFFF;}


  1. menuDiv > ul > li > ul

{

   opacity: 0;
   visibility: hidden;
   padding: 16px 0 20px 0;
   background-color: rgb(250,250,250);
   text-align: left;
   position: absolute;
   top: 55px;
   left: 50%;
   margin-left: -90px;
   width: 180px;

-webkit-transition: all .3s .1s;

  -moz-transition: all .3s .1s;
    -o-transition: all .3s .1s;
       transition: all .3s .1s;

-webkit-border-radius: 5px;

  -moz-border-radius: 5px;
       border-radius: 5px;

-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,.4);

  -moz-box-shadow: 0px 1px 3px rgba(0,0,0,.4);
       box-shadow: 0px 1px 3px rgba(0,0,0,.4);

}

  1. menuDiv > ul > li:hover > ul

{

   opacity: 1;
   top: 65px;
   visibility: visible;

}

  1. menuDiv > ul > li > ul:before

{

   content: ;
   display: block;
   border-color: transparent transparent rgb(250,250,250) transparent;
   border-style: solid;
   border-width: 10px;
   position: absolute;
   top: -20px;
   left: 50%;
   margin-left: -10px;

}

  1. menuDiv > ul ul > li { position: relative;}
  1. menuDiv ul ul a

{

   color: rgb(50,50,50);
   font-family: Verdana, 'Lucida Grande';
   font-size: 13px;
   background-color: rgb(250,250,250);
   padding: 5px 8px 7px 16px;
   display: block;

-webkit-transition: background-color .1s;

  -moz-transition: background-color .1s;
    -o-transition: background-color .1s;
       transition: background-color .1s;

}

  1. menuDiv ul ul a:hover {background-color: rgb(240,240,240);}


  1. menuDiv ul ul ul

{

   visibility: hidden;
   opacity: 0;
   position: absolute;
   top: -16px;
   left: 206px;
   padding: 16px 0 20px 0;
   background-color: rgb(250,250,250);
   text-align: left;
   width: 160px;

-webkit-transition: all .3s;

  -moz-transition: all .3s;
    -o-transition: all .3s;
       transition: all .3s;

-webkit-border-radius: 5px;

  -moz-border-radius: 5px;
       border-radius: 5px;

-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,.4);

  -moz-box-shadow: 0px 1px 3px rgba(0,0,0,.4);
       box-shadow: 0px 1px 3px rgba(0,0,0,.4);

}


  1. menuDiv ul ul > li:hover > ul { opacity: 1; left: 196px; visibility: visible;}


  1. menuDiv ul ul a:hover

{

   background-color: rgb(205,44,36);
   color: rgb(240,240,240);

}