Team:UC-Santa Cruz/Templates/css

From 2013.igem.org

Revision as of 22:30, 27 September 2013 by Mamiri (Talk | contribs)

/* Template Name: Academic Education File: Layout CSS Author: OS Templates Author URI: http://www.os-templates.com/ Licence: <a href="http://www.os-templates.com/template-terms">Website Template Licence</a>

  • /

/* Template Name: Academic Education File: Navigation CSS Author: OS Templates Author URI: http://www.os-templates.com/ Licence: <a href="http://www.os-templates.com/template-terms">Website Template Licence</a>

  • /

body#space { background-image: url('https://static.igem.org/mediawiki/2012/4/4f/Space.jpg'); background-attachment: fixed; }

  1. top-section { position: relative; height: 20px; width: 975px; }
  2. contentSub, #search-controls, .firstHeading, #catlinks, #p-logo { display:none; }
  3. container { margin: 15px 0px auto auto; width: 975px; }
  4. globalwrapper { margin: 0px 0px auto auto; }
  5. top-section{

position: relative; display:block; width:960px; margin:0; padding:0 0 12px 0; background:url("../images/round_bot.gif") bottom left no-repeat; text-align:center; }

  1. topnav, #topnav a{

text-transform:uppercase; color:#06213F; background-color:#F9F9F9; }

  1. topnav a:hover, #topnav li.active a{

color:#55ABDA; background-color:#F9F9F9; }

  1. topnav ul, #topnav li{

margin:0; padding:0; list-style:none; }

  1. topnav li{

display:inline; margin-right:30px; }

  1. topnav li.last{

margin:0; }

/* ----------------------------------------------Column Navigation-------------------------------------*/

  1. column .subnav{

display:block; width:250px; padding:25px; background-color:#F7F7F7; margin-bottom:30px; line-height:normal; }

  1. column .subnav h2{

margin:0 0 20px 0; padding:0 0 14px 0; background-color:#F7F7F7; border-bottom:1px dotted #666666; }

  1. column .subnav ul{

margin:0; padding:0; list-style:none; }

  1. column .subnav li{

margin:0 0 3px 0; padding:0; }

  1. column .subnav ul ul, #column .subnav ul ul ul, #column .subnav ul ul ul ul, #column .subnav ul ul ul ul ul{

border-top:none; padding-top:0; }

  1. column .subnav a{

display:block; margin:0; padding:5px 10px 5px 20px; color:#666666; background:url("../images/blue_file.gif") no-repeat 10px center #F7F7F7; text-decoration:none; border-bottom:1px dotted #666666; }

  1. column .subnav a:hover{

color:#55ABDA; background-color:#F7F7F7; }

  1. column .subnav ul ul a, #column .subnav ul ul ul a, #column .subnav ul ul ul ul a, #column .subnav ul ul ul ul ul a{

background:url("../images/black_file.gif") no-repeat #F7F7F7; }

  1. column .subnav ul ul a{

padding-left:40px; background-position:30px center; }

  1. column .subnav ul ul ul a{

padding-left:50px; background-position:40px center; }

  1. column .subnav ul ul ul ul a{

padding-left:60px; background-position:50px center; }

  1. column .subnav ul ul ul ul ul a{

padding-left:70px; background-position:60px center; }

/* ----------------------------------------------Pagination-------------------------------------*/

.pagination{ display:block; width:100%; clear:both; text-align:center; }

.pagination ul{ margin:0; padding:0; list-style:none; }

.pagination li{ display:inline; }

.pagination .next{ margin:0; }

.pagination a{ display:inline-block; margin:0 2px 0 0; padding:2px 5px 3px 5px; border:1px solid #D8D9DE; }

.pagination .current, .pagination .splitter{ margin:0 2px 0 0; padding:6px; }

  1. container .pagination a:hover, .pagination .current, .pagination .splitter{

color:#979797; background-color:#FFFFFF; }

/* Template Name: Academic Education File: Homepage CSS Author: OS Templates Author URI: http://www.os-templates.com/ Licence: <a href="http://www.os-templates.com/template-terms">Website Template Licence</a>

  • /
  1. homepage{

position:relative; margin:0 auto 30px; display:block; width:100%; }

/* ----------------------------------------------Left Column-------------------------------------*/

  1. homepage #left_column{

display:block; float:left; width:230px; }

  1. homepage #left_column .imgholder{

margin-bottom:20px; }

/* ----------------------------------------------Latest News-------------------------------------*/

  1. homepage #latestnews{

display:block; float:left; width:420px; margin:0 0 0 20px; }

  1. homepage #latestnews ul{

margin:0; padding:0; list-style:none; }

  1. homepage #latestnews li{

display:block; width:100%; margin:0 0 20px 0; padding:0 0 20px 0; list-style:none; border-bottom:1px solid #DEDACB; }

  1. latestnews .latestnews{

display:block; float:right; width:270px; margin:0; padding:0; }

  1. latestnews .latestnews p{

margin:0 0 8px 0; padding:0; }

  1. latestnews .imgl{

margin:0; }

  1. latestnews p.readmore{

display:block; width:100%; clear:both; margin:0; padding:0; text-align:right; }

/* ----------------------------------------------Right Column-------------------------------------*/

  1. homepage #right_column{

display:block; float:left; width:230px; margin:0 0 0 20px; }

  1. homepage #right_column .holder{

display:block; width:100%; margin-bottom:20px; }

  1. homepage #right_column .apply a{

display:block; width:230px; height:100px; margin-bottom:20px; color:#666666; background-color:#DEDACB; font-size:14px; text-transform:uppercase; overflow:hidden; }

  1. homepage #right_column .apply a strong{

display:block; float:right; width:130px; height:72px; padding-top:28px; text-align:center; cursor:pointer; /* IE7 Doesnt render the cursor properly so this is needed */ }

  1. homepage #right_column .apply img{

display:block; float:left; width:100px; height:100px; }

/* ---------------------------------------------Twitter-------------------------------------*/

  1. twitter{

display:block; width:900px; height:86px; margin:0 0 30px 0; padding:10px; clear:both; background:url("../images/twitter_bg.gif") top left no-repeat; }

  1. container #twitter a{

color:#2DCDFF; background-color:#00112B; }

  1. twitter .fl_left{

display:block; float:left; width:94px; height:61px; margin:0; padding:25px 10px 0 44px; background:url("../images/twitter_logo.gif") 0 14px no-repeat; border-right:2px solid #FFFFFF; text-align:center; }

  1. twitter .fl_left a{text-transform:uppercase;}
  1. twitter .fl_right{

display:block; float:right; width:730px; height:60px; margin:0; padding:26px 0 0 0; font-size:14px; font-weight:bold; line-height:1.4em; color:#FFFFFF; background-color:#00112B; }

/* ----------------------------------------------Academic link Block-------------------------------------*/

  1. academiclinks{

display:block; width:920px; }

  1. academiclinks .linkbox{

display:block; float:left; width:215px; margin:0 20px 0 0; font-size:12px; }

  1. academiclinks a{

}

  1. academiclinks ul{

margin:0; padding:0; list-style:none; }

  1. academiclinks .last{

margin:0; }

/* Template Name: Academic Education File: Gallery CSS Author: OS Templates Author URI: http://www.os-templates.com/ Licence: <a href="http://www.os-templates.com/template-terms">Website Template Licence</a>

  • /
  1. gallery{

display:block; width:100%; line-height:1.6em; }

  1. gallery ul{

margin:0; padding:0; list-style:none; }

  1. gallery li{

display:block; float:left; width:168px; height:168px; margin:0 20px 20px 0; padding:0; overflow:hidden; }

  1. gallery li a img{

display:block; width:160px; height:160px; margin:0; padding:3px; border:1px solid #DEDACB; }

  1. gallery li a:hover img{

border-color:#979797; }

  1. gallery li.last{

margin-right:0; }

/* Template Name: Academic Education File: Featured Slider CSS Author: OS Templates Author URI: http://www.os-templates.com/ Licence: <a href="http://www.os-templates.com/template-terms">Website Template Licence</a>

  • /
  1. featured_slide{

display:block; position:relative; width:950px; height:300px; margin:0; padding:5px; overflow:hidden; color:#666666; background-color:#FFFFFF; }

  1. featured_slide a{

background:transparent; }

  1. featured_slide a, #featured_slide ul, #featured_slide img{

margin:0; padding:0; border:none; outline:none; list-style:none; text-decoration:none; }

/* ----------------------------------------------Generalise-------------------------------------*/

  1. featured_content, .featured_box, .featured_box img{

display:block; width:950px; height:250px; overflow:hidden; }

.featured_box, .featured_box img{ position:relative; }

/* ----------------------------------------------Content-------------------------------------*/

.featured_box .floater{ display:block; position:absolute; top:25px; right:25px; width:290px; height:140px; margin:0; padding:30px; background-image:url("../images/featured_slide_trans.png"); overflow:hidden; }

.featured_box p{ margin:0; padding:0; line-height:1.6em; }

.featured_box p.readmore{text-align:right; margin:0;}

/* ----------------------------------------------Tabbed Navigation-------------------------------------*/

  1. featured_slide .ui-tabs-hide{

display:none; }

  1. featured_slide ul#featured_tabs{

display:block; position:absolute; bottom:5px; left:5px; width:949px; height:50px; overflow:hidden; font-size:12px; }

  1. featured_slide ul#featured_tabs li{

/* This block makes it IE6 compatible*/ display:block; float:left; }

  1. featured_slide ul#featured_tabs li a{

display:block; float:left; width:169px; height:40px; padding:10px 10px 0 10px; color:#666666; background-color:#DEDACB; font-weight:bold; text-align:center; text-transform:uppercase; border-right:1px solid #666666; }

  1. featured_slide ul#featured_tabs li.last a{

border-right:none; }

  1. featured_slide ul#featured_tabs li a:hover, #featured_slide ul#featured_tabs li.ui-state-active a{

color:#FFFFFF; background-color:#333333; }

/* ----------------------------------------------Rounded Corners-------------------------------------*/

  1. featured_slide .overlay_left, #featured_slide .overlay_right{

display:block; position:absolute; z-index:1000; top:0; left:0; width:15px; height:310px; background-image:url("../images/featured_slide_left.png"); }

  1. featured_slide .overlay_right{

left:945px; background-image:url("../images/featured_slide_right.png"); } /* Template Name: Academic Education File: Forms CSS Author: OS Templates Author URI: http://www.os-templates.com/ Licence: <a href="http://www.os-templates.com/template-terms">Website Template Licence</a>

  • /

form, fieldset, legend{ margin:0; padding:0; border:none; }

legend{ display:none; }

input, textarea, select{ font-size:12px; font-family:Georgia, "Times New Roman", Times, serif; }

/* ----------------------------------------------Search Form-------------------------------------*/

  1. sitesearch{

display:block; float:right; }

  1. sitesearch strong{

display:block; float:left; margin:0; padding:7px 15px 0 0; text-transform:uppercase; color:#C6CDD6; background-color:#06213F; }

  1. sitesearch input{

display:block; float:left; width:230px; height:25px; margin:0 15px 0 0; padding:0 5px; color:#979797; background:url("../images/form_input_long.gif") 0 0 no-repeat #F9F9F9; border:none; }

  1. sitesearch input#search{

width:23px; height:23px; margin:0; padding:0; cursor:pointer; background:none; float:left; }

/* ----------------------------------------------Forms in Content Area-------------------------------------*/

  1. container #respond{

display:block; width:100%; }

  1. container #respond input{

width:170px; padding:2px; border:1px solid #CCCCCC; margin:5px 5px 0 0; }

  1. container #respond textarea{

width:98%; border:1px solid #CCCCCC; padding:2px; overflow:auto; }

  1. container #respond p{

margin:5px 0; }

  1. container #respond #submit, #container #respond #reset{

margin:0; padding:5px; color:#666666; background-color:#F7F7F7; border:1px solid #CCCCCC; cursor:pointer; }

/* ----------------------------------------------Newsletter-------------------------------------*/

  1. footer legend{

display:block; margin-bottom:15px; }

  1. footer input{

display:block; float:left; width:260px; height:20px; margin:0; padding:5px 10px; color:#666666; background-color:#ECECEC; border:none; }

  1. footer input#subscribe{

width:100px; height:30px; float:left; margin:0 0 0 8px; padding:0; cursor:pointer; text-align:center; text-transform:uppercase; font-weight:bold; } /* Template Name: Academic Education File: Tables CSS Author: OS Templates Author URI: http://www.os-templates.com/ Licence: <a href="http://www.os-templates.com/template-terms">Website Template Licence</a>

  • /

table{ width:100%; border-collapse:collapse; table-layout:auto; vertical-align:top; margin-bottom:15px; border:1px solid #CCCCCC; }

table thead th{ color:#FFFFFF; background-color:#06213F; border:1px solid #CCCCCC; border-collapse:collapse; text-align:center; table-layout:auto; vertical-align:middle; }

table tbody td{ vertical-align:top; border-collapse:collapse; border-left:1px solid #CCCCCC; border-right:1px solid #CCCCCC; }

table thead th, table tbody td{ padding:5px; border-collapse:collapse; }

table tbody tr.light{ color:#666666; background-color:#F7F7F7; }

table tbody tr.dark{ color:#666666; background-color:#E8E8E8; }


/* Template Name: Academic Education File: Portfolio CSS Author: OS Templates Author URI: http://www.os-templates.com/ Licence: <a href="http://www.os-templates.com/template-terms">Website Template Licence</a>

  • /
  1. portfolio{

display:block; width:100%; }

  1. portfolio ul{

margin:0; padding:0; list-style:none; }

  1. portfolio li{

display:block; float:left; width:430px; margin:0 60px 45px 0; padding:0; }

  1. portfolio li.last{

margin-right:0; }

  1. portfolio li img{

width:420px; height:190px; margin:0 0 15px 0; padding:4px; border:1px solid #DEDACB; }

  1. portfolio .readmore{

text-align:right; }



body{ margin:0; padding:0; font-size:13px; font-family:Georgia, "Times New Roman", Times, serif; color:#979797; background-color:#06213F; }

img{margin:0; padding:0; border:none;} .justify{text-align:justify;} .bold{font-weight:bold;} .center{text-align:center;} .right{text-align:right;} .nostart{list-style-type:none; margin:0; padding:0;}

.clear:after{content:"."; display:block; height:0; clear:both; visibility:hidden; line-height:0;} .clear{display:inline-block;} html[xmlns] .clear{display:block;}

  • html .clear{height:1%;}

a{outline:none; text-decoration:none; color:#55ABDA; background-color:#F9F9F9;}

.fl_left{float:left;} .fl_right{float:right;}

.imgholder, .imgl, .imgr{padding:4px; border:1px solid #DEDACB; text-align:center;} .imgl{float:left; margin:0 15px 15px 0; clear:left;} .imgr{float:right; margin:0 0 15px 15px; clear:right;}

/* ----------------------------------------------Wrapper-------------------------------------*/

div.wrapper{ position:relative; margin:0 auto 20px; width:960px; text-align:left; }

div.wrapper h1, div.wrapper h2, div.wrapper h3, div.wrapper h4, div.wrapper h5, div.wrapper h6{ margin:0 0 15px 0; padding:0; font-size:16px; font-weight:normal; font-style:normal; line-height:normal; }

.row1{color:#999999; background-color:#06213F;} .row1 a{color:#FCFCFC; background-color:#06213F;} .row2, .row3, .row4{color:#979797; background-color:#F9F9F9;}

/* ----------------------------------------------Generalise-------------------------------------*/

  1. header, #container, #footer{

display:block; width:960px; }

.rnd{ display:block; width:960px; padding:12px 0 0 0; background:url("../images/round_top.gif") top left no-repeat; }

/* ----------------------------------------------Header-------------------------------------*/

  1. header{padding:25px 0 0 0;}
  1. header h1, #header p, #header ul{

margin:0; padding:0; list-style:none; line-height:normal; }

  1. header h1{font-size:36px; font-variant:small-caps; font-style:normal;}
  1. header .fl_right{

display:block; width:360px; }

  1. header .fl_right ul{

margin-bottom:10px; font-size:11px; }

  1. header .fl_right li{

display:inline; margin:0 4px 0 0; padding:0 6px 0 0; border-right:1px solid #FCFCFC; }

  1. header .fl_right li.last{

margin:0; padding:0; border:none; }

/* ----------------------------------------------Content-------------------------------------*/

  1. container{

width:920px; padding:20px; line-height:1.6em; background:url("../images/round_bot.gif") bottom left no-repeat; }

  1. container a{

color:#55ABDA; background-color:#F9F9F9; }

  1. container h1, #container h2, #container h3, #container h4, #container h5, #container h6{

padding-bottom:8px; border-bottom:1px solid #DEDACB; }

  1. container .readmore{

display:block; width:100%; text-align:right; line-height:normal; }

  1. content{

display:block; float:left; width:600px; }

/* ------Comments-----*/

  1. comments{margin-bottom:40px;}
  1. comments .commentlist{margin:0; padding:0;}
  1. comments .commentlist ul{margin:0; padding:0; list-style:none;}
  1. comments .commentlist li.comment_odd, #comments .commentlist li.comment_even{margin:0 0 10px 0; padding:15px; list-style:none;}
  1. comments .commentlist li.comment_odd{color:#666666; background-color:#F7F7F7;}
  2. comments .commentlist li.comment_odd a{color:#55ABDA; background-color:#F7F7F7;}
  1. comments .commentlist li.comment_even{color:#666666; background-color:#E8E8E8;}
  2. comments .commentlist li.comment_even a{color:#55ABDA; background-color:#E8E8E8;}
  1. comments .commentlist .author .name{font-weight:bold;}
  2. comments .commentlist .submitdate{font-size:smaller;}
  1. comments .commentlist p{margin:10px 5px 10px 0; padding:0; font-weight:normal; text-transform:none;}
  1. comments .commentlist li .avatar{float:right; border:1px solid #EEEEEE; margin:0 0 0 10px;}

/* ----------------------------------------------Column-------------------------------------*/

  1. column{

display:block; float:right; width:300px; }

  1. column .holder, #column #featured{

display:block; width:300px; margin-bottom:30px; }

  1. column .holder h2.title{

display:block; width:100%; height:65px; margin:0; padding:15px 0 0 0; font-size:20px; text-transform:none; line-height:normal; border-bottom:1px dotted #999999; }

  1. column .holder h2.title img{

float:left; margin:-15px 8px 0 0; padding:5px; border:1px solid #999999; }

  1. column div.imgholder{

display:block; width:290px; margin:0 0 10px 0; }

  1. column .holder p.readmore{

display:block; width:100%; font-weight:bold; text-align:right; line-height:normal; }

/* Featured Block */

  1. column #featured ul, #column #featured h2, #column #featured p{

margin:0; padding:0; list-style:none; color:#666666; background-color:#F7F7F7; }

  1. column #featured a{

color:#55ABDA; background-color:#F7F7F7; }

  1. column #featured li{

display:block; width:250px; margin:0; padding:20px 25px; color:#666666; background-color:#F7F7F7; }

  1. column #featured li p.imgholder{

display:block; width:240px; height:90px; margin:20px 0 15px 0; }

  1. column #featured li h2{

margin:0; padding:0 0 8px 0; font-weight:normal; font-family:Georgia, "Times New Roman", Times, serif; line-height:normal; border-bottom:1px dotted #999999; }

  1. container #column .readmore a{

display:block; width:100%; margin-top:15px; height:auto; padding-left:0; font-weight:bold; text-align:right; line-height:normal; background:none; }

  1. column .latestnews{

display:block; width:100%; margin:0; padding:0; list-style:none; }

  1. column .latestnews li{

display:block; width:100%; height:99px; margin:0 0 11px 0; padding:0 0 21px 0; border-bottom:1px dotted #C7C5C8; overflow:hidden; }

  1. column .latestnews li.last, #column .last{

margin-bottom:0; }

  1. column .latestnews p{

display:inline; }

  1. column .latestnews img{

float:left; margin:0 10px 0 0; padding:4px; border:1px solid #C7C5C8; clear:left; }

/* ----------------------------------------------Footer-------------------------------------*/

  1. footer{

width:920px; padding:5px 20px 15px 20px; background:url("../images/round_bot.gif") bottom left no-repeat; }

  1. footer .fl_left img{margin-bottom:30px;}
  1. footer address{

display:inline; float:left; margin-left:40px; text-transform:none; font-style:normal; line-height:1.8em; }

  1. footer .fl_right{

display:block; width:400px; }

  1. footer .fl_right p{margin:0 0 15px 0; padding:0; line-height:normal;}
  1. footer .fl_right #social{display:block; width:100%; margin:0 0 15px 0; padding:0; line-height:normal;}
  2. footer .fl_right #social ul{margin:0; padding:0; list-style:none;}
  3. footer .fl_right #social li{float:left; /* Only For IE */}
  4. footer .fl_right #social a{display:block; float:left; width:49px; height:49px; margin-right:20px; overflow:hidden; text-indent:-4000em; background:url("../images/social-sprite.gif") no-repeat;}
  5. footer .fl_right #social li.last a{margin-right:0;}
  1. footer .last{margin:0;}

/* ----------------------------------------------Copyright-------------------------------------*/

  1. copyright{

padding:0 12px; }

  1. copyright p{

margin:0; padding:0; }

  1. copyright, #copyright a{

color:#55ABDA; background-color:#06213F; }