Team:Dundee/common.css

From 2012.igem.org

(Difference between revisions)
 
(51 intermediate revisions not shown)
Line 3: Line 3:
body
body
{
{
-
     background: #FFFFFF url('https://static.igem.org/mediawiki/igem.org/2/2d/Dundee12bg2.png') repeat left top fixed;
+
     background: #FFFFFF;
     color: black;
     color: black;
     font: x-small sans-serif;
     font: x-small sans-serif;
Line 59: Line 59:
#top-section
#top-section
{
{
-
     margin: 0 auto;
+
     margin: 20px auto 0 auto;
     position: relative;
     position: relative;
     width: 975px;
     width: 975px;
Line 65: Line 65:
     padding: 0px;
     padding: 0px;
     border: 0px;
     border: 0px;
-
     background-image: url('https://static.igem.org/mediawiki/igem.org/d/d9/Dundee12bannerbg.png');
+
     background-image: url('https://static.igem.org/mediawiki/2012/4/44/Dundee12bannerbg.jpg');
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     /* Drop shadow */
     /* Drop shadow */
Line 79: Line 79:
     left: -0px;
     left: -0px;
     margin: 0 auto 0 auto;
     margin: 0 auto 0 auto;
 +
    text-align:justify;
}
}
Line 148: Line 149:
.pic
.pic
{
{
-
    border-width: 2px;
 
-
    border-color: #2222DD;
 
-
    border-style: solid;
 
     margin-right: 5px;
     margin-right: 5px;
     text-align: top;
     text-align: top;
     float: left;
     float: left;
}
}
-
 
-
 
-
 
-
 
-
 
/* Sponsor Layout Elements */
/* Sponsor Layout Elements */
Line 228: Line 221:
     width: 440px;
     width: 440px;
     font-size 1.2em;
     font-size 1.2em;
 +
    float: left;
}
}
 +
 +
.memberbox
 +
{
 +
    margin: 12px 0 12px 0;
 +
}
 +
.full
.full
Line 396: Line 396:
left: -20px;
left: -20px;
top: -10px;
top: -10px;
-
background-color: #eeeeee;
+
background-color: #111;
background-repeat: repeat-x;
background-repeat: repeat-x;
box-shadow: 0px 5px 8px rgba(0,0,0,0.4);
box-shadow: 0px 5px 8px rgba(0,0,0,0.4);
Line 522: Line 522:
.contentbox
.contentbox
{
{
-
     border: 1px black;
+
    float: left;
-
     padding: 5px;
+
    margin-top: 15px;
-
     background-color:#D6E5FF;
+
     border: 2px solid black;
 +
     padding: 8px;
 +
     background-color:#F2F6FF;
     width:600px;
     width:600px;
-
     height:400px;
+
     height:426px;
     overflow:auto;
     overflow:auto;
 +
}
 +
 +
.pickerbox
 +
{
 +
    float: left;
 +
    margin: 15px 0 15px 25px;
 +
    width: 285px;
 +
    height: 85px;
 +
    border: 2px solid black;
 +
}
 +
 +
.footerbox
 +
{
 +
    border-top: 1px solid gray;
 +
    float: left;
 +
    width: 890px;
 +
    margin-top: 35px;
 +
    padding: 20px;
 +
}
 +
 +
#menubar
 +
{
 +
    top: -26px;
 +
}
 +
 +
#menubar ul
 +
{
 +
   
 +
}
 +
 +
#menubar li
 +
{
 +
   
 +
}
 +
 +
.left-menu, .left-menu a
 +
{
 +
    color: #808080;
 +
}
 +
 +
.left-menu:hover
 +
{
 +
    color: #808080;
 +
    background-color: #FFF;
 +
}
 +
 +
.right-menu, .right-menu a
 +
{
 +
    color: #808080;
 +
}
 +
 +
.left-menu:hover a
 +
{
 +
    color: #808080;
 +
}
 +
.right-menu li
 +
{
 +
   
 +
}
 +
.right-menu li a
 +
{
 +
    color: #808080;
 +
    background-color: #FFF;
 +
}
 +
.right-menu li a:hover
 +
{
 +
    color: #808080;
 +
}
 +
 +
input.searchButton {
 +
    color: #009966;
 +
}
 +
input.searchButton:hover {
 +
    color: #99cc99;
 +
}
 +
#search-controls
 +
{
 +
    top: 10px;
 +
    right: 10px;
}
}

Latest revision as of 21:57, 12 September 2012

@CHARSET "ISO-8859-1";

body {

   background: #FFFFFF;
   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: 20px auto 0 auto;
   position: relative;
   width: 975px;
   height: 200px;
   padding: 0px;
   border: 0px;
   background-image: url('https://static.igem.org/mediawiki/2012/4/44/Dundee12bannerbg.jpg');
   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;
   text-align:justify;

}

  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 {

   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;
   float: left;

}

.memberbox {

   margin: 12px 0 12px 0;

}


.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: #111; 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);

}

.contentbox {

   float: left;
   margin-top: 15px;
   border: 2px solid black;
   padding: 8px;
   background-color:#F2F6FF;
   width:600px;
   height:426px;
   overflow:auto;

}

.pickerbox {

   float: left;
   margin: 15px 0 15px 25px;
   width: 285px;
   height: 85px;
   border: 2px solid black;

}

.footerbox {

   border-top: 1px solid gray;
   float: left;
   width: 890px;
   margin-top: 35px;
   padding: 20px;

}

  1. menubar

{

   top: -26px;

}

  1. menubar ul

{

}

  1. menubar li

{

}

.left-menu, .left-menu a {

   color: #808080;

}

.left-menu:hover {

   color: #808080;
   background-color: #FFF;

}

.right-menu, .right-menu a {

   color: #808080;

}

.left-menu:hover a {

   color: #808080;

} .right-menu li {

} .right-menu li a {

   color: #808080;
   background-color: #FFF;

} .right-menu li a:hover {

   color: #808080;

}

input.searchButton {

   color: #009966;

} input.searchButton:hover {

   color: #99cc99;

}

  1. search-controls

{

   top: 10px;
   right: 10px;

}