Team:Dundee/common.css

From 2012.igem.org

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

body {

   font-family: "Segoe UI Light",
            "Segoe UI",
            Verdana,
            "DejaVu Sans",
            "Trebuchet MS",
            "Liberation Sans",
            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;

}

a {

   color: #002175;

}

  1. bodyContent hr

{

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

}

  1. bodyContent h1, h2, h3, h4, h5, h6

{

   font-weight: bolder;
   border: 0px;
   margin: 0px;
   padding: 0px;
   color: #002175;
   margin-bottom: 0px;

}

  1. bodyContent h1

{

   font-size: 2.8em;
   line-height:130%;

}

  1. bodyContent h2

{

   font-size: 1.1em;    

}

  1. bodyContent h3

{

   font-size: 1.0em;

}

  1. top-section

{

   background-image: url('https://static.igem.org/mediawiki/2012/d/d9/Dundee12bannerbg.png');
   height: 276px;
   border: 1px solid #777777;
   border-top: 0px;

}

.firstHeading {

   display: none;

}

  1. headerText

{

   color: #FFFFFF;
   font-weight: bolder;
   position: absolute;
   left: 30px;
   top: -220px;
   width: 200px;

}

  1. menuDiv

{

   position: absolute;
   background-color: #6666FF;
   width: 975px;
   height: 30px;
   border: 0px;
   left: -0px;
   top: -1px;
   margin-left: auto;
   margin-right: auto;
   font-weight: bolder;
   display: block;
   z-index:100;

}

  1. menuDiv ul

{

   list-style: none;
   text-align: center;
   display: block;

}

  1. menuDiv ul li

{

   position: relative;
   width: 100px;
   top: -5px;
   height: 25px;
   float: left;
   display: block;
   vertical-align: center;
   margin-bottom: 0px;
   text-align: center;

}

  1. menuDiv ul li a

{

   color: #FFFFFF;
   text-decoration: none;
   white-space: nowrap;
   display: block;
   height: 100%;
   padding: 5px 10px 0px 10px;
   font-size: 0.9em;
   width: 100px;

}

  1. menuDiv ul li a:hover

{

   background: #C7C7FF;
   color: #6666FF;

}

  1. content

{

   border: 1px solid #777777;
   border-top: 0px;

}

  1. mainContent

{

   margin-top:50px;

}

  1. p-logo

{

   display: none;

}


  1. catlinks

{

   display: none;

}

  1. footer-box

{

   display: none;

}

.box {

   position: relative;
   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 {

   background-color: #FFC0BD;

}

.blue {

   background-color: #C7C7FF;

}

.green {

   background-color: #CAFFBF;

}

.yellow {

   background-color: #FBFFBD;

}

.half {

   width: 440px;
   font-size 1.2em;

}

.full {

   width: 900px;
   font-size 1.2em;

}

.left {

   float: left;

}

.right {

   float: right;

}

.centre {

   margin-left: 20px;

}

.icon {

   width:45px;
   height: 45px;
   padding: 5px;

}

  1. logo

{

   position: absolute;
   height: 115px;
   top: -150px;
   text-align: right;
   width: 965px;
   margin 0 auto 0 auto;
   z-index: 110;

}

.pic {

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

}

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

.sponsorCol {

   width: 280px;
   float:left;
   text-align: justify;
   padding: 10px 5px 10px 5px;
   font-size: 0.9em;
   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;
   border-color: #E5E5E5 #BBBBBB #BBBBBB #E5E5E5;
   border-style: solid;
   border-width: 1px 3px 3px 1px;
   margin-left: 20px;
   margin-bottom:20px;

}

.sponsorCol img {

   display: block;
   margin-left: auto;
   margin-right: auto;
   z-index:100;

}

.caption {

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

}