Team:OLS Canmore AB CA/main.css

From 2014hs.igem.org

(Difference between revisions)
Line 81: Line 81:
figure {
figure {
display: inline-block;
display: inline-block;
-
        float: left;
 
width: 420px;
width: 420px;
}
}

Revision as of 15:09, 9 April 2014

@charset "utf-8"; body { margin: 0px; color: #151515; font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;

       background-color: #999fFF;

}

  1. wrapper {

width: 1000px; min-width: 740px; max-width: 1000px; margin-left: auto; margin-right: auto; background-color: #FFFFFF; }

  1. top {

overflow: hidden; font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif; font-style: normal; font-weight: 200; }

  1. hero img {

max-width: 100%; margin-top: 0px; margin-right: -25px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-bottom-left-radius: 24px; border-bottom-right-radius: 24px; background-color: #ffffff; } h1, h2 { color: #FFFFFF; font-style: normal; font-weight: 600; font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif; }

h1 { font-size: 72px; margin-top: 0px; margin-bottom: 0px; text-align: center; text-transform: uppercase; color: #3100C7; background-color:#FFFFFF;

       padding-top: 50 px;

} h2 { margin-top: 0em; color: #000000; background-color: #ffffff; text-align: center; padding-top: 0px; border-style: none; }


  1. main {

margin-left: 0%; float: left; width: 100%; padding-left: 0px; text-align: center; }

  1. sidebar {

width: 34%; margin-left: 4%; float: left;

       text-align:center;

}


figure { display: inline-block; width: 420px; } figure img { padding: 10px; -webkit-box-shadow: 1px 1px 15px #999999; box-shadow: 1px 1px 15px #999999; }

figcaption { font-size: 0.875em; font-weight: bold; text-align: center; display: block; margin-top: 0.5em; } .centered { margin-left: auto; margin-right: auto; } .floatleft { float: left; margin-left: 0px; margin-right: 10px; } .floatright { float: right; margin-left: 10px; margin-right: 0px; } footer { padding-top: 2px; padding-bottom: 2px; padding-left: 2%; background-color: #000fff; color: #FFFFFF; clear: left; } a { font-weight: bold; text-decoration: none; } a:link { color: #FF6600; } a:visited { color: #FF944C;

}


  1. mainnav ul {

list-style-type: none; margin-top: 0px; margin-right: -10px; margin-bottom: 0px; margin-left: 0px; }

  1. mainnav a {

width: 100%; display: inline; float: left; text-align: center; text-transform: uppercase; background-color: #000000; color: #FFFFFF; }

  1. mainnav a {

width: 16.6%; text-align: center; text-transform: uppercase; background-color: #000000; color: #FFFFFF; padding-top: 12px; padding-bottom: 12px; padding-left: 0px;


  1. wrapper #top #mainnav ul li a {
padding-right
0px;

padding-right: 0px; }

  1. wrapper #top #mainnav ul li a {

background-color: #000000; }

}


  1. mainnav a:hover, #mainnav a:active, #mainnav a:focus, #mainnav a.thispage {

background-color: #999fff; text-decoration: none; }


  1. hero article {

width: 36%; padding-left: 10px; padding-right: 10px; position: absolute; top: 30px; left: 25px;

       background-color: #999fff;

border-radius: 34px; color: #000000; font-size: large; text-align: center; }

  1. hero {

position: relative; }

th,td { padding: 10px; text-align: center; min-width: 0%; background-color: #dddfFF;

       padding-right: 10px;

padding-left: 10px;

       padding-top: 10px;
       padding-bottom: 10px;

}

h3 { padding-top: 20px; padding-bottom: 0px; }

  1. content h1.firstHeading {

visibility: hidden; }ewe


iGEM Wiki Reset Starts Here

div#top-section { height: 20px; margin-bottom: -63px !important; margin: 0px 0px 0px -10px; width: 1222px; border: none; background-color: #E2EAFF; } div#header { width: 100%; text-align: left; margin-left: auto; margin-right: auto; margin-bottom: 0px !important; }

h1 {

   color: #000fff;
   background-color: #FFFFFF;
   font-weight: bold;
   margin: 0;
   padding-top: 80px;
   padding-bottom: 0px;
   border-bottom: 0px solid #aaa;

}

h1.firstHeading {

      display: none;

}

}

  1. searchform {
   display: none;

}

.left-menu { background: none } .left-menu a {

   color: #000;

}

div#top-section { /*the div containing the entire top bar*/ height: 20px; margin-bottom: -63px !important;

       margin: 0px 0px 0px 77px;

width: 1032px; border: none;

       color: #000fff;

background-color: #FFFFFF; }

  1. content{

margin: 0px 0px 0px -11px; width: 1200px; border: none; }

  1. search-controls {

overflow:hidden; display:none; background: none; position: absolute; top: 170px; right: 40px; }


div#header { width: 100%; text-align: left; margin-left: auto; margin-right: auto; margin-bottom: 0px !important; }

  1. menubar {

position: absolute; color: #000fff;

       background-color: #FFFFFF;

}

.left-menu, .right-menu{ position: absolute; background: none; color: black; }

.left-menu li a, .right-menu li a { color: #000 !important; }


.left-menu ul li, .right-menu ul li a{ background: none; color: #000 !important; }

.left-menu li a:hover, .right-menu li a:hover, .right-menu li a:visited, .right-menu li a:active {

   color: #000 !important;

}

  1. catlinks{

display:none; }

/*important for background colours*/ .mediawiki{ background: #000fFF; }

.mediawiki { border: none; width: 1200px; background: transparent; }

  1. globalWrapper {

background: transparent;

       min-width: 740px;

max-width: 1000px; margin: 0 auto;

       height: 100%;
       margin-bottom: 0.01em;

}

  1. footer-box {

width: 990px; margin: 0px 0px 0px 93px; border: 1px solid #c4c4c4; background-color: #f4f4ff }


nav ul ul { display: none; }

nav ul:hover > ul { display: block; }

.nav ul {

padding: 0 20px; border-radius: 10px; list-style: none; position: relative; display: inline-block; background: linear-gradient(top, #efefef 0%, #bbbbbb 100%); background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%); background: -webkit-linear-gradient(top, #efefef 0%, #bbbbbb 100%); box-shadow: 0px 0px 9px rgba(0,0,0,0.15); }

.nav ul li {float:left;}

.nav ul li a{ padding: 5px 10px 5px 10px; display: block; color: #757575; text-decoration: none; }

.nav ul li:hover { background: #4b545f; background: linear-gradient(top, #4f5964 0%, #5f6975 40%); background: -moz-linear-gradient(top, #4f5964 0%, #5f6975 40%); background: -webkit-linear-gradient(top, #4f5964 0%, #5f6975 40%); }

.nav ul li:hover a { color: #fff; }

.nav ul li:hover > ul { margin:0px; padding:0px;} .nav ul li:hover > ul li { float:none; display:block;} .nav ul li:hover > ul li a{color: #666; min-width:130px;} .nav ul li:hover > ul li a:hover{color:#fff;}

.nav ul li { position:relative;} .nav ul li ul {position:absolute; top:30px; left:0px;}



/* CSSTerm.com Simple Horizontal DropDown CSS menu */

.drop_menu { background:#000000; padding:0;

       margin:0;

list-style-type:none; height:47px; } .drop_menu li { float: left; width: 166px; text-align: center; text-transform: uppercase;}

.drop_menu li a {


padding:15px 20px; display:block; color:#fff; text-decoration:none; font:14px arial, verdana, sans-serif; }

/* Submenu */ .drop_menu ul { position:absolute; left:-9999px; top:-9999px; list-style-type:none; } .drop_menu li:hover { position:relative; background:#000fff; } .drop_menu li:hover ul { left:0px; top:42px; background:#000000; padding:0px; }

.drop_menu li:hover ul li a { padding:0px; display:block; width:130px; text-indent:5px; background-color:#000000; } .drop_menu li:hover ul li a:hover { background:#000fff; }