Team:Dundee/common.css

From 2012.igem.org

(Difference between revisions)
Line 1: Line 1:
 +
@CHARSET "ISO-8859-1";
 +
body
body
{
{
-
     font-family: "Segoe UI Light",
+
    background: #FFFFFF url('bg.png') repeat left top;
-
            "Segoe UI",
+
    color: black;
-
            Verdana,
+
    font: x-small sans-serif;
-
            "DejaVu Sans",
+
    margin: 0;
-
            "Trebuchet MS",
+
    padding: 0;
-
            "Liberation Sans",
+
     font-family: "Segoe UI Light","Segoe UI",Verdana,"DejaVu Sans","Trebuchet MS","Liberation Sans",Tahoma,Candara,"Bitstream Vera Sans",sans-serif;
-
            Tahoma,
+
-
            Candara,
+
-
            "Bitstream Vera Sans",
+
-
            sans-serif;
+
-
    background-image: url('https://static.igem.org/mediawiki/igem.org/5/56/Dundee12bg.png');
+
-
    background-repeat:repeat;
+
-
    background-attachment:fixed;
+
-
    background-color: #CCCCBB;
+
     font-size: 0.8em;
     font-size: 0.8em;
}
}
-
a
+
h1, h2, h3, h4, h5
{
{
-
    color: #002175;
+
font-weight: bolder;
 +
margin: 1% 0px 1% 0px;
}
}
-
#bodyContent hr
+
h1{font-size: 1.8em;}
-
{
+
h2{font-size: 1.6em;}
-
    clear: both;
+
h3{font-size: 1.4em; line-height: 1em;}
-
    height: 5px;
+
-
    margin-top: 20px;
+
-
    margin-bottom: 20px;
+
-
}
+
-
 
+
-
#bodyContent h1, h2, h3, h4, h5, h6
+
-
{
+
-
    font-weight: bolder;
+
-
    border: 0px;
+
-
    margin: 0px;
+
-
    padding: 0px;
+
-
    color: #002175;
+
-
    margin-bottom: 0px;
+
-
}
+
-
 
+
-
#bodyContent h1
+
-
{
+
-
    font-size: 2.8em;
+
-
    line-height:130%;
+
-
}
+
-
#bodyContent h2
+
#globalWrapper
{
{
-
    font-size: 1.1em;  
+
width: 100%;
-
}
+
position: relative;
-
 
+
padding: 0 0 10px 0;
-
#bodyContent h3
+
margin: 0px;
-
{
+
font-size: 1.2em;
-
    font-size: 1.0em;
+
background-color: transparent;
}
}
#top-section
#top-section
{
{
-
    background-image: url('https://static.igem.org/mediawiki/2012/d/d9/Dundee12bannerbg.png');
+
margin: 0 auto;
-
    height: 276px;
+
     position: relative;
-
    border: 1px solid #777777;
+
-
    border-top: 0px;
+
-
}
+
-
 
+
-
.firstHeading
+
-
{
+
-
    display: none;
+
-
}
+
-
 
+
-
#headerText
+
-
{
+
-
    color: #FFFFFF;
+
-
    font-weight: bolder;
+
-
     position: absolute;
+
-
    left: 30px;
+
-
    top: -220px;
+
-
    width: 200px;
+
-
}
+
-
 
+
-
#menuDiv
+
-
{
+
-
    position: absolute;
+
-
    background-color: #6666FF;
+
     width: 975px;
     width: 975px;
-
     height: 30px;
+
     height: 200px;
-
     border: 0px;
+
     padding: 0px;
-
    left: -0px;
+
background-image: url('https://static.igem.org/mediawiki/igem.org/d/d9/Dundee12bannerbg.png');
-
    top: -1px;
+
background-repeat: no-repeat;
-
    margin-left: auto;
+
-
    margin-right: auto;
+
-
    font-weight: bolder;
+
-
    display: block;
+
-
    z-index:100;
+
}
}
-
#menuDiv ul
+
#content
-
{
+
-
    list-style: none;
+
-
    text-align: center;
+
-
    display: block;
+
-
}
+
-
 
+
-
#menuDiv ul li
+
{
{
 +
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;
     position: relative;
-
     width: 100px;
+
     width: 935px;
-
    top: -5px;
+
-
    height: 25px;
+
-
    float: left;
+
-
    display: block;
+
-
    vertical-align: center;
+
-
    margin-bottom: 0px;
+
-
    text-align: center;
+
}
}
-
#menuDiv ul li a
+
#igemlogo
{
{
-
   
+
float: right;
-
    color: #FFFFFF;
+
position: relative;
-
    text-decoration: none;
+
max-width: 150px;
-
    white-space: nowrap;
+
min-width: 150px;
-
    display: block;
+
height: 100px;
-
    height: 100%;
+
top:100px;
-
    padding: 5px 10px 0px 10px;
+
-
    font-size: 0.9em;
+
-
    width: 100px;
+
}
}
-
#menuDiv ul li a:hover
+
#medialinks
{
{
-
    background: #C7C7FF;
+
position: fixed;
-
    color: #6666FF;
+
padding:10px;
 +
margin-left: 0px;
 +
left: 0px;
 +
top:240px;
 +
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;
}
}
-
#content
 
-
{
 
-
    border: 1px solid #777777;
 
-
    border-top: 0px;
 
-
}
 
-
#mainContent
 
-
{
 
-
    margin-top:50px;
 
-
}
 
-
#p-logo
 
-
{
 
-
    display: none;
 
-
}
 
-
#catlinks
+
/* Colour & Shape Styles */
-
{
+
-
    display: none;
+
-
}
+
-
#footer-box
+
.boxOuter
{
{
-
    display: none;
+
margin: 10px 0px 10px 0px;
 +
position: relative;
 +
border: 1px #DDD solid;
 +
background-color: #EEEEEE;
}
}
-
.box
+
.boxOuter h3
-
{
+
{
-
    position: relative;
+
margin-left: 2%;
-
    display: inline-block;
+
-
    border-radius: 10px;
+
-
    padding: 1%;
+
-
    -moz-border-bottom-colors: none;
+
-
    -moz-border-image: none;
+
-
    -moz-border-left-colors: none;
+
-
    -moz-border-right-colors: none;
+
-
    -moz-border-top-colors: none;
+
-
    border-color: #E5E5E5 #BBBBBB #BBBBBB #E5E5E5;
+
-
    border-style: solid;
+
-
    border-width: 1px 3px 3px 1px;
+
-
    width: 95%;
+
-
    margin-bottom: 20px;
+
-
    font-size:90%;
+
-
    text-align: justify;
+
-
    line-height: 1.3em;
+
}
}
-
.red
+
.boxInner
{
{
-
    background-color: #FFC0BD;
+
margin: 1% auto 1% auto;
-
}
+
width:95%;
-
 
+
padding: 1%;
-
.blue
+
background-color: #FFFFFF;
-
{
+
position: relative;
-
    background-color: #C7C7FF;
+
text-align: justify;
-
}
+
-
 
+
-
.green
+
-
{
+
-
    background-color: #CAFFBF;
+
-
}
+
-
 
+
-
.yellow
+
-
{
+
-
    background-color: #FBFFBD;
+
}
}
Line 211: Line 122:
.full
.full
{
{
-
     width: 900px;
+
     width: 935px;
     font-size 1.2em;
     font-size 1.2em;
}
}
-
.left
+
.black
{
{
-
    float: left;
+
color: #000;
}
}
-
.right
+
.white
{
{
-
    float: right;
+
color: #fff;
}
}
-
.centre
+
.rounded
{
{
-
    margin-left: 20px;
+
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;
}
}
-
.icon
+
.blueBorder
{
{
-
    width:45px;
+
background-image: url('bluegrad.png');
-
    height: 45px;
+
background-repeat: repeat-x;
-
    padding: 5px;
+
}
}
-
#logo
+
.blackBorder
{
{
-
    position: absolute;
+
background-image: url('blackgrad.png');
-
    height: 115px;
+
background-repeat: repeat-x;
-
    top: -150px;
+
-
    text-align: right;
+
-
    width: 965px;
+
-
    margin 0 auto 0 auto;
+
-
    z-index: 110;
+
}
}
-
.pic
+
.caption
{
{
-
     width: 150px;
+
     font-size: 0.8em;
-
    border-width: 2px;
+
     line-height: 120%;
-
     border-color: #2222DD;
+
     text-align: center;
-
    border-style: solid;
+
     width: 410px;
-
    margin-right: 5px;
+
-
     text-align: top;
+
-
     float: left;
+
}
}
 +
 +
 +
 +
 +
 +
 +
/* -- CLEARFIX -- */
.clearfix:after  
.clearfix:after  
Line 284: Line 198:
}
}
-
.sponsorCol
+
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
/* -- DROP SHADOW -- */
 +
 
 +
.drop-shadow
{
{
-
     width: 280px;
+
     background: none repeat scroll 0 0 #FFFFFF;
-
     float:left;
+
    box-shadow: 0 0 8px 10px rgba(0, 0, 0, 0.9), 0 0 5px 10px #000 inset;
-
     text-align: justify;
+
    margin: 2em 10px 4em;
-
     padding: 10px 5px 10px 5px;
+
    padding: 1em;
-
     font-size: 0.9em;
+
    position: relative;
-
     border-radius: 10px;
+
}
-
     -moz-border-bottom-colors: none;
+
 
-
     -moz-border-image: none;
+
.drop-shadow:before, .drop-shadow:after
-
     -moz-border-left-colors: none;
+
{
-
    -moz-border-right-colors: none;
+
    content: "";
-
    -moz-border-top-colors: none;
+
    position: absolute;
-
     border-color: #E5E5E5 #BBBBBB #BBBBBB #E5E5E5;
+
    z-index: -2;
 +
}
 +
 
 +
.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;
 +
}
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
/* -- MENU ITEMS ---- */
 +
 
 +
#menuDiv ul { margin: 0; padding: 0;}
 +
#menuDiv li { margin: 0; padding: 0;}
 +
#menuDiv a { margin: 0; padding: 0;}
 +
#menuDiv ul {list-style: none; z-index:999;}
 +
#menuDiv a {text-decoration: none;}
 +
#menuDiv
 +
{
 +
position: relative;
 +
height: 40px;
 +
width:975px;
 +
left: -20px;
 +
top: -10px;
 +
background-color: #eeeeee;
 +
background-repeat: repeat-x;
 +
box-shadow: 0px 2px 3px rgba(0,0,0,.4);
 +
margin-bottom:20px;
 +
}
 +
 
 +
 
 +
#menuDiv > ul > li {
 +
     float: left;
 +
     margin-left: 15px;
 +
     position: relative;
 +
}
 +
 
 +
#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;
 +
}
 +
 
 +
#menuDiv > ul > li > a:hover {color: #333333; background-color: #FFFFFF;}
 +
 
 +
 
 +
#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);
 +
}
 +
 
 +
#menuDiv > ul > li:hover > ul
 +
{
 +
    opacity: 1;
 +
    top: 65px;
 +
    visibility: visible;
 +
}
 +
 
 +
#menuDiv > ul > li > ul:before
 +
{
 +
    content: '';
 +
    display: block;
 +
     border-color: transparent transparent rgb(250,250,250) transparent;
     border-style: solid;
     border-style: solid;
-
     border-width: 1px 3px 3px 1px;
+
     border-width: 10px;
-
     margin-left: 20px;
+
     position: absolute;
-
     margin-bottom:20px;
+
    top: -20px;
 +
    left: 50%;
 +
     margin-left: -10px;
}
}
-
.sponsorCol img
+
#menuDiv > ul ul > li { position: relative;}
 +
 
 +
#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;
     display: block;
-
    margin-left: auto;
+
-webkit-transition: background-color .1s;
-
    margin-right: auto;
+
  -moz-transition: background-color .1s;
-
    z-index:100;
+
    -o-transition: background-color .1s;
 +
        transition: background-color .1s;
}
}
-
.caption
+
#menuDiv ul ul a:hover {background-color: rgb(240,240,240);}
 +
 
 +
 
 +
#menuDiv ul ul ul
{
{
-
     width: 440px;
+
     visibility: hidden;
-
     font-size: 0.8em;
+
     opacity: 0;
-
     line-height: 120%;
+
    position: absolute;
-
     text-align: center;
+
    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);
 +
}
 +
 
 +
 
 +
#menuDiv ul ul > li:hover > ul { opacity: 1; left: 196px; visibility: visible;}
 +
 
 +
 
 +
#menuDiv ul ul a:hover
 +
{
 +
    background-color: rgb(205,44,36);
 +
    color: rgb(240,240,240);
}
}

Revision as of 12:14, 24 July 2012

@CHARSET "ISO-8859-1";

body {

   background: #FFFFFF url('bg.png') repeat left top;
   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;

}

h1, h2, h3, h4, h5 { font-weight: bolder; margin: 1% 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.2em; background-color: transparent; }

  1. top-section

{ margin: 0 auto;

   position: relative;
   width: 975px;
   height: 200px;
   padding: 0px;

background-image: url('https://static.igem.org/mediawiki/igem.org/d/d9/Dundee12bannerbg.png'); background-repeat: no-repeat; }

  1. content

{ 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

{ float: right; position: relative; max-width: 150px; min-width: 150px; height: 100px; top:100px;

}

  1. medialinks

{ position: fixed; padding:10px; margin-left: 0px; left: 0px; top:240px; 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; }



/* Colour & Shape Styles */

.boxOuter { margin: 10px 0px 10px 0px; position: relative; 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;

}

.black { color: #000; }

.white { color: #fff; }

.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('bluegrad.png'); background-repeat: repeat-x; }

.blackBorder { background-image: url('blackgrad.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 8px 10px rgba(0, 0, 0, 0.9), 0 0 5px 10px #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 6px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 0, 0, 0.1) 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 2px 3px rgba(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);

}