Team:NRP-UEA-Norwich/Test/css

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
-
/**
+
/* Credit: http://www.templatemo.com */
-
* jQuery lightBox plugin
+
 
-
* This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/)
+
body {
-
* and adapted to me for use like a plugin from jQuery.
+
margin: 0px;
-
* @name jquery-lightbox-0.5.css
+
padding: 0px;
-
* @author Leandro Vieira Pinho - http://leandrovieira.com
+
color: #666;
-
* @version 0.5
+
font-family: Tahoma, Geneva, sans-serif;
-
* @date April 11, 2008
+
font-size: 13px;
-
* @category jQuery plugin
+
line-height: 1.7em;  
-
* @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com)
+
background-color: #4a4d51;
-
* @license CC Attribution-No Derivative Works 2.5 Brazil - http://creativecommons.org/licenses/by-nd/2.5/br/deed.en_US
+
background-image: url(images/templatemo_body.jpg);
-
* @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin
+
background-repeat: repeat-x;
-
*/
+
background-position: top
-
#jquery-overlay {
+
-
position: absolute;
+
-
top: 0;
+
-
left: 0;
+
-
z-index: 90;
+
-
width: 100%;
+
-
height: 500px;
+
}
}
-
#jquery-lightbox {
+
 
-
position: absolute;
+
a, a:link, a:visited { color: #c89806; font-weight: bold; text-decoration: none; }
-
top: 0;
+
a:hover { color: #FF6600; text-decoration: underline; }
-
left: 0;
+
 
-
width: 100%;
+
p { margin: 0 0 10px 0; padding: 0; }
-
z-index: 100;
+
img { border: none; }
-
text-align: center;
+
em { color: #000; font-weight: bold; font-style: normal }
-
line-height: 0;
+
 
 +
h1, h2, h3, h4, h5, h6 { color: #000; font-weight: normal; }
 +
h1 { font-size: 28px; margin: 0 0 20px 0; padding: 5px 0 }
 +
h2 { font-size: 25px; margin: 0 0 15px 0; padding: 5px 0; }
 +
h3 { font-size: 22px; margin: 0 0 15px; padding: 0; }
 +
h4 { font-size: 18px; margin: 0 0 15px; padding: 0; }
 +
h5 { font-size: 16px; margin: 0 0 10px; padding: 0;  }
 +
h6 { font-size: 14px; margin: 0 0 5px; padding: 0; }
 +
 
 +
.cleaner { clear: both }
 +
.h10 { height: 10px }
 +
.h20 { height: 20px }
 +
.h30 { height: 30px }
 +
.h40 { height: 40px }
 +
.h50 { height: 50px }
 +
.h60 { height: 60px }
 +
 
 +
a.more { display: block; width: 75px; height: 25px; text-align: center; padding: 0px 15px 0 0; color: #fff; font-weight: normal; background: url(images/templatemo_button.png) }
 +
a.more:hover { text-decoration: none; color: #faca39; }
 +
 
 +
.float_l { float: left }
 +
.float_r { float: right }
 +
 
 +
.image_wrapper { display: inline-block; border: 5px solid #fff; background: none; margin-bottom: 5px }
 +
.image_fl { float: left; margin: 3px 15px 0 0 }
 +
.image_fr { float: right; margin: 3px 0 0 15px }
 +
 
 +
 
 +
.tmo_list { margin: 20px 0 20px 20px; padding: 0; list-style: none }
 +
.tmo_list li { color:#d7a202; margin: 0; padding: 0 0 0 15px; background: url(images/templatemo_list.png) no-repeat scroll 0 6px  }
 +
.tmo_list li a { color: #c89806; font-weight: normal }
 +
.tmo_list li a:hover { color: #d7a202 }
 +
 
 +
#templatemo_wrapper {
 +
width: 960px;
 +
padding: 0 30px;
 +
margin: 0 auto
}
}
-
#jquery-lightbox a img { border: none; }
+
 
-
#lightbox-container-image-box {
+
#templatemo_header {
-
position: relative;
+
width: 930px;
-
background-color: #fff;
+
height: 50px;
-
width: 250px;
+
padding: 15px;
-
height: 250px;
+
-
margin: 0 auto;
+
}
}
-
#lightbox-container-image { padding: 10px; }
+
 
-
#lightbox-loading {
+
#site_title { float: left; }
-
position: absolute;
+
#site_title h1 { margin: 0; padding: 0 }
-
top: 40%;
+
#site_title h1 a { display: block; width: 275px; height: 57px; color: #F60; text-indent: -10000px; background: url(images/templatemo_logo.png) no-repeat }
-
left: 0%;
+
 
-
height: 25%;
+
#twitter a{ float: right; font-weight: normal; display: block; padding: 13px 50px 13px 0; color: #f0c132; font-size: 18px; background: url(images/twitter.png)  no-repeat right center }
-
width: 100%;
+
 
-
text-align: center;
+
/* menu */
-
line-height: 0;
+
#templatemo_menu {
 +
clear: both;
 +
width: 930px;
 +
height: 45px;
 +
padding: 0 15px;
 +
background: url(images/menu.jpg) no-repeat
}
}
-
#lightbox-nav {
+
 
-
position: absolute;
+
#templatemo_menu ul {
-
top: 0;
+
float: left;
-
left: 0;
+
width: 695px;
-
height: 100%;
+
margin: 0;
-
width: 100%;
+
padding: 0;
-
z-index: 10;
+
list-style: none;
}
}
-
#lightbox-container-image-box > #lightbox-nav { left: 0; }
+
 
-
#lightbox-nav a { outline: none;}
+
#templatemo_menu ul li {
-
#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
+
padding: 0px;
-
width: 49%;
+
margin: 0px;
-
height: 100%;
+
display: inline;
-
zoom: 1;
+
-
display: block;
+
}
}
-
#lightbox-nav-btnPrev {  
+
 
-
left: 0;
+
#templatemo_menu ul li a {
float: left;
float: left;
 +
display: block;
 +
padding: 8px 20px;
 +
margin: 0 1px 0 0;
 +
font-size: 14px;
 +
font-weight: bold;
 +
text-align: center;
 +
text-decoration: none;
 +
color: #000;
 +
outline: none;
 +
border: none;
 +
background: url(images/templatemo_menu_divider.png) center right no-repeat
}
}
-
#lightbox-nav-btnNext {  
+
 
-
right: 0;  
+
#templatemo_menu ul li a:hover, #templatemo_menu ul li .current { color: #fff; background: #d5a30b; }
-
float: right;
+
 
 +
#search_box { float: right; width: 200px; height: 20px; margin: 10px 15px 10px 0; background: url(images/templatemo_search.jpg) left bottom no-repeat }
 +
#search_box form { clear: both; width: 200px; height: 19px; padding: 0; margin: 0 }
 +
#searchfield { height: 18px;  line-height: 18px; width: 190px; padding: 0 5px; font-size: 11px; color: #a09391; background: #605654; border: 1px solid #453c3a; }
 +
 
 +
/* end of menu */
 +
 
 +
/* slider */
 +
#slider_wrapper {
 +
clear: both;
 +
width: 960px;
 +
height: 300px;
 +
margin-bottom: 15px;
 +
background: url(images/slider_bottom.jpg) bottom no-repeat
}
}
-
#lightbox-container-image-data-box {
+
 
-
font: 10px Verdana, Helvetica, sans-serif;
+
#slider_wrapper_n { clear: both; width: 900px; padding: 30px; margin-bottom: 15px; background: #000 url(images/slider_bottom.jpg) no-repeat bottom }
-
background-color: #fff;
+
#slider_wrapper_n h2 {
 +
color: #fff;
 +
}
 +
#slider_wrapper_n p { font-size: 16px }
 +
 
 +
#slider {
 +
width: 960px;
 +
height: 280px;
 +
overflow: hidden;
 +
}
 +
 
 +
 
 +
/* end of slider */
 +
 
 +
#templatemo_main {
 +
clear: both;
 +
position: relative;
 +
width: 960px;
 +
padding: 30px 0;
 +
background: #fff url(images/content_top.jpg) no-repeat top
 +
}
 +
 
 +
#templatemo_main span.bottom {
 +
position: absolute;
 +
left: 0;
 +
bottom: 0;
 +
width: 960px;
 +
height: 15px;
 +
background: url(images/content_bottom.jpg) no-repeat
 +
}
 +
 
 +
.col_w900 { width: 900px; padding: 0 30px 70px 30px; margin-bottom: 0; background: url(images/content_divider.jpg) repeat-x bottom }
 +
.col_w580 { width: 580px }
 +
.col_w420 { width: 420px }
 +
.col_w280 { width: 280px }
 +
.col_allw280 { float: left; width: 280px; margin-right: 30px }
 +
.col_w900_last { padding: 0 30px; margin: 0; background: none; }
 +
.col_last { margin: 0; }
 +
 
 +
.frontpage_box h2 { padding: 0; margin-bottom: 5px; color: #333 }
 +
.frontpage_box img { float: left; margin-right: 15px }
 +
.frontpage_box a.more { margin-top: 15px }
 +
.tagline { display: block; font-size: 12px; font-weight: bold; font-style: italic; color: #999; margin-bottom: 20px }
 +
 
 +
.lbe_box { clear: both; margin-bottom: 20px }
 +
.lbe_box h3 { font-size: 16px; margin-bottom: 0 }
 +
.lbe_box h3 a { color: #c89806; font-size: 16px; font-weight: normal }
 +
.lbe_box p { margin-bottom: 0; }
 +
.lbe_box p.date { font-size: 10px; font-weight: 700; color: #000 }
 +
 
 +
.lp_box { float: left; width: 280px; margin-right: 30px }
 +
.lp_box_last { margin: 0 }
 +
.lp_box img { border: 1px solid #CCC; padding: 4px }
 +
 
 +
#map img { width: 270px; height: 160px; border: 1px solid #999; padding: 4px }
 +
 
 +
#cp_contact_form { padding: 0; width: 380px }
 +
#cp_contact_form form { margin: 0px; padding: 0px; }
 +
 
 +
#cp_contact_form form .input_field {
 +
width: 380px; font-size: 12px; color: #333; padding: 5px;
 +
height: 20px; border: 1px solid #ccc;  background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 12px; }
 +
 
 +
#cp_contact_form form label { display: block; width: 220px; margin-bottom: 5px; font-size: 12px; color: #000; }
 +
 
 +
#cp_contact_form form textarea {
 +
width: 380px; height: 160px; padding: 5px; color: #333;
 +
border: 1px solid #ccc;  background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 12px; }
 +
 +
#cp_contact_form form .submit_btn { margin: 10px 0px; padding: 5px 14px; border: 1px solid #ccc; background: #fff; }
 +
 
 +
.news_box { clear: both; margin-bottom: 30px }
 +
.news_box h2 { font-size: 20px; margin-bottom: 0 }
 +
.news_box p.date { color: #000 }
 +
.news_box img { float: left; width: 100px; height: 100px; padding: 4px; border: 1px solid #000; margin-right: 30px }
 +
.news_box a.more { float: right; }
 +
 
 +
.sb_lp_box { clear: both; margin-bottom: 20px }
 +
.sb_lp_box img { padding: 9px; border: 1px solid #ccc }
 +
 
 +
.post_box { clear: both; margin-bottom: 30px }
 +
.post_box h2 { font-size: 20px; margin-bottom: 10px }
 +
.post_box p.post_meta { margin-bottom: 0 }
 +
.post_box p span.cat a { color: #cb5c02; font-weight: 400 }
 +
.post_box img { width: 550px; height: 160px; border: 10px solid #eee; margin-bottom: 10px }
 +
.post_box a.more { float: right; }
 +
 
 +
#gallery { margin: 0; padding: 0 }
 +
#gallery .gallery_box { display: block; float: left; width: 210px; margin: 0 20px 40px 0; }
 +
#gallery .lmb { margin: 0 0 20px 0; }
 +
 
 +
.gallery_box h3 { margin-bottom: 10px }
 +
.gallery_box h3 a { font-size: 18px; font-weight: normal; color: #1184df }
 +
.gallery_box p { font-style: italic; font-size: 11px; font-weight: bold }
 +
.gallery_box a img { border: 1px solid #ccc; width: 190px; height: 130px;  padding: 8px }
 +
.gallery_box a img:hover { background: #ccc }
 +
 
 +
#gallery a.more { float: left; margin-right: 10px }
 +
 
 +
 
 +
#templatemo_footer {
 +
clear: both;
 +
width: 960px;
 +
padding: 10px 0;
margin: 0 auto;
margin: 0 auto;
-
line-height: 1.4em;
+
color: #000;
-
overflow: auto;
+
text-align: center;
-
width: 100%;
+
font-size: 11px;
-
padding: 0 10px 0;
+
-
}
+
-
#lightbox-container-image-data {
+
-
padding: 0 10px;
+
-
color: #666;  
+
}
}
-
#lightbox-container-image-data #lightbox-image-details {  
+
 
-
width: 70%;
+
#templatemo_footer a {
-
float: left;
+
font-weight: normal;
-
text-align: left;
+
color: #000;
-
}
+
-
#lightbox-image-details-caption { font-weight: bold; }
+
-
#lightbox-image-details-currentNumber {
+
-
display: block;
+
-
clear: left;
+
-
padding-bottom: 1.0em;
+
-
}
+
-
#lightbox-secNav-btnClose {
+
-
width: 66px;
+
-
float: right;
+
-
padding-bottom: 0.7em;
+
}
}

Revision as of 17:34, 10 July 2013

/* Credit: http://www.templatemo.com */

body { margin: 0px; padding: 0px; color: #666; font-family: Tahoma, Geneva, sans-serif; font-size: 13px; line-height: 1.7em; background-color: #4a4d51; background-image: url(images/templatemo_body.jpg); background-repeat: repeat-x; background-position: top }

a, a:link, a:visited { color: #c89806; font-weight: bold; text-decoration: none; } a:hover { color: #FF6600; text-decoration: underline; }

p { margin: 0 0 10px 0; padding: 0; } img { border: none; } em { color: #000; font-weight: bold; font-style: normal }

h1, h2, h3, h4, h5, h6 { color: #000; font-weight: normal; } h1 { font-size: 28px; margin: 0 0 20px 0; padding: 5px 0 } h2 { font-size: 25px; margin: 0 0 15px 0; padding: 5px 0; } h3 { font-size: 22px; margin: 0 0 15px; padding: 0; } h4 { font-size: 18px; margin: 0 0 15px; padding: 0; } h5 { font-size: 16px; margin: 0 0 10px; padding: 0; } h6 { font-size: 14px; margin: 0 0 5px; padding: 0; }

.cleaner { clear: both } .h10 { height: 10px } .h20 { height: 20px } .h30 { height: 30px } .h40 { height: 40px } .h50 { height: 50px } .h60 { height: 60px }

a.more { display: block; width: 75px; height: 25px; text-align: center; padding: 0px 15px 0 0; color: #fff; font-weight: normal; background: url(images/templatemo_button.png) } a.more:hover { text-decoration: none; color: #faca39; }

.float_l { float: left } .float_r { float: right }

.image_wrapper { display: inline-block; border: 5px solid #fff; background: none; margin-bottom: 5px } .image_fl { float: left; margin: 3px 15px 0 0 } .image_fr { float: right; margin: 3px 0 0 15px }


.tmo_list { margin: 20px 0 20px 20px; padding: 0; list-style: none } .tmo_list li { color:#d7a202; margin: 0; padding: 0 0 0 15px; background: url(images/templatemo_list.png) no-repeat scroll 0 6px } .tmo_list li a { color: #c89806; font-weight: normal } .tmo_list li a:hover { color: #d7a202 }

  1. templatemo_wrapper {

width: 960px; padding: 0 30px; margin: 0 auto }

  1. templatemo_header {

width: 930px; height: 50px; padding: 15px; }

  1. site_title { float: left; }
  2. site_title h1 { margin: 0; padding: 0 }
  3. site_title h1 a { display: block; width: 275px; height: 57px; color: #F60; text-indent: -10000px; background: url(images/templatemo_logo.png) no-repeat }
  1. twitter a{ float: right; font-weight: normal; display: block; padding: 13px 50px 13px 0; color: #f0c132; font-size: 18px; background: url(images/twitter.png) no-repeat right center }

/* menu */

  1. templatemo_menu {

clear: both; width: 930px; height: 45px; padding: 0 15px; background: url(images/menu.jpg) no-repeat }

  1. templatemo_menu ul {

float: left; width: 695px; margin: 0; padding: 0; list-style: none; }

  1. templatemo_menu ul li {

padding: 0px; margin: 0px; display: inline; }

  1. templatemo_menu ul li a {

float: left; display: block; padding: 8px 20px; margin: 0 1px 0 0; font-size: 14px; font-weight: bold; text-align: center; text-decoration: none; color: #000; outline: none; border: none; background: url(images/templatemo_menu_divider.png) center right no-repeat }

  1. templatemo_menu ul li a:hover, #templatemo_menu ul li .current { color: #fff; background: #d5a30b; }
  1. search_box { float: right; width: 200px; height: 20px; margin: 10px 15px 10px 0; background: url(images/templatemo_search.jpg) left bottom no-repeat }
  2. search_box form { clear: both; width: 200px; height: 19px; padding: 0; margin: 0 }
  3. searchfield { height: 18px; line-height: 18px; width: 190px; padding: 0 5px; font-size: 11px; color: #a09391; background: #605654; border: 1px solid #453c3a; }

/* end of menu */

/* slider */

  1. slider_wrapper {

clear: both; width: 960px; height: 300px; margin-bottom: 15px; background: url(images/slider_bottom.jpg) bottom no-repeat }

  1. slider_wrapper_n { clear: both; width: 900px; padding: 30px; margin-bottom: 15px; background: #000 url(images/slider_bottom.jpg) no-repeat bottom }
  2. slider_wrapper_n h2 {

color: #fff; }

  1. slider_wrapper_n p { font-size: 16px }
  1. slider {

width: 960px; height: 280px; overflow: hidden; }


/* end of slider */

  1. templatemo_main {

clear: both; position: relative; width: 960px; padding: 30px 0; background: #fff url(images/content_top.jpg) no-repeat top }

  1. templatemo_main span.bottom {

position: absolute; left: 0; bottom: 0; width: 960px; height: 15px; background: url(images/content_bottom.jpg) no-repeat }

.col_w900 { width: 900px; padding: 0 30px 70px 30px; margin-bottom: 0; background: url(images/content_divider.jpg) repeat-x bottom } .col_w580 { width: 580px } .col_w420 { width: 420px } .col_w280 { width: 280px } .col_allw280 { float: left; width: 280px; margin-right: 30px } .col_w900_last { padding: 0 30px; margin: 0; background: none; } .col_last { margin: 0; }

.frontpage_box h2 { padding: 0; margin-bottom: 5px; color: #333 } .frontpage_box img { float: left; margin-right: 15px } .frontpage_box a.more { margin-top: 15px } .tagline { display: block; font-size: 12px; font-weight: bold; font-style: italic; color: #999; margin-bottom: 20px }

.lbe_box { clear: both; margin-bottom: 20px } .lbe_box h3 { font-size: 16px; margin-bottom: 0 } .lbe_box h3 a { color: #c89806; font-size: 16px; font-weight: normal } .lbe_box p { margin-bottom: 0; } .lbe_box p.date { font-size: 10px; font-weight: 700; color: #000 }

.lp_box { float: left; width: 280px; margin-right: 30px } .lp_box_last { margin: 0 } .lp_box img { border: 1px solid #CCC; padding: 4px }

  1. map img { width: 270px; height: 160px; border: 1px solid #999; padding: 4px }
  1. cp_contact_form { padding: 0; width: 380px }
  2. cp_contact_form form { margin: 0px; padding: 0px; }
  1. cp_contact_form form .input_field {

width: 380px; font-size: 12px; color: #333; padding: 5px; height: 20px; border: 1px solid #ccc; background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 12px; }

  1. cp_contact_form form label { display: block; width: 220px; margin-bottom: 5px; font-size: 12px; color: #000; }
  1. cp_contact_form form textarea {

width: 380px; height: 160px; padding: 5px; color: #333; border: 1px solid #ccc; background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 12px; }

  1. cp_contact_form form .submit_btn { margin: 10px 0px; padding: 5px 14px; border: 1px solid #ccc; background: #fff; }

.news_box { clear: both; margin-bottom: 30px } .news_box h2 { font-size: 20px; margin-bottom: 0 } .news_box p.date { color: #000 } .news_box img { float: left; width: 100px; height: 100px; padding: 4px; border: 1px solid #000; margin-right: 30px } .news_box a.more { float: right; }

.sb_lp_box { clear: both; margin-bottom: 20px } .sb_lp_box img { padding: 9px; border: 1px solid #ccc }

.post_box { clear: both; margin-bottom: 30px } .post_box h2 { font-size: 20px; margin-bottom: 10px } .post_box p.post_meta { margin-bottom: 0 } .post_box p span.cat a { color: #cb5c02; font-weight: 400 } .post_box img { width: 550px; height: 160px; border: 10px solid #eee; margin-bottom: 10px } .post_box a.more { float: right; }

  1. gallery { margin: 0; padding: 0 }
  2. gallery .gallery_box { display: block; float: left; width: 210px; margin: 0 20px 40px 0; }
  3. gallery .lmb { margin: 0 0 20px 0; }

.gallery_box h3 { margin-bottom: 10px } .gallery_box h3 a { font-size: 18px; font-weight: normal; color: #1184df } .gallery_box p { font-style: italic; font-size: 11px; font-weight: bold } .gallery_box a img { border: 1px solid #ccc; width: 190px; height: 130px; padding: 8px } .gallery_box a img:hover { background: #ccc }

  1. gallery a.more { float: left; margin-right: 10px }


  1. templatemo_footer {

clear: both; width: 960px; padding: 10px 0; margin: 0 auto; color: #000; text-align: center; font-size: 11px; }

  1. templatemo_footer a {

font-weight: normal; color: #000; }