Team:NRP-UEA-Norwich/Test/css

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
-
/* Credit: http://www.templatemo.com */
+
#cssmenu{ height:37px; display:block; padding:0; margin:20px auto;  border:1px solid; border-radius:5px; }
 +
#cssmenu > ul {list-style:inside none; padding:0; margin:0;}
 +
#cssmenu > ul > li {list-style:inside none; padding:0; margin:0; float:left; display:block; position:relative;}
 +
#cssmenu > ul > li > a{ outline:none; display:block; position:relative; padding:12px 20px; font:bold 13px/100% Arial, Helvetica, sans-serif; text-align:center; text-decoration:none; text-shadow:1px 1px 0 rgba(0,0,0, 0.4); }
 +
#cssmenu > ul > li:first-child > a{border-radius:5px 0 0 5px;}
 +
#cssmenu > ul > li > a:after{ content:''; position:absolute; border-right:1px solid; top:-1px; bottom:-1px; right:-2px; z-index:99; }
 +
#cssmenu ul li.has-sub:hover > a:after{top:0; bottom:0;}
 +
#cssmenu > ul > li.has-sub > a:before{ content:''; position:absolute; top:18px; right:6px; border:5px solid transparent; border-top:5px solid #fff; }
 +
#cssmenu > ul > li.has-sub:hover > a:before{top:19px;}
 +
#cssmenu ul li.has-sub:hover > a{ background:#3f3f3f; border-color:#3f3f3f; padding-bottom:13px; padding-top:13px; top:-1px; z-index:999; }
 +
#cssmenu ul li.has-sub:hover > ul, #cssmenu ul li.has-sub:hover > div{display:block;}
 +
#cssmenu ul li.has-sub > a:hover{background:#3f3f3f; border-color:#3f3f3f;}
 +
#cssmenu ul li > ul, #cssmenu ul li > div{ display:none; width:auto; position:absolute; top:38px; padding:10px 0; background:#3f3f3f; border-radius:0 0 5px 5px; z-index:999; }
 +
#cssmenu ul li > ul{width:200px;}
 +
#cssmenu ul li > ul li{display:block; list-style:inside none; padding:0; margin:0; position:relative;}
 +
#cssmenu ul li > ul li a{ outline:none; display:block; position:relative; margin:0; padding:8px 20px; font:10pt Arial, Helvetica, sans-serif; color:#fff; text-decoration:none; text-shadow:1px 1px 0 rgba(0,0,0, 0.5); }
-
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; }
+
#cssmenu, #cssmenu > ul > li > ul > li a:hover{ background:#bf4143; background:-moz-linear-gradient(top, #bf4143 0%, #a13742 100%); background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#bf4143), color-stop(100%,#a13742)); background:-webkit-linear-gradient(top, #bf4143 0%,#a13742 100%); background:-o-linear-gradient(top,  #bf4143 0%,#a13742 100%); background:-ms-linear-gradient(top,  #bf4143 0%,#a13742 100%); background:linear-gradient(top#bf4143 0%,#a13742 100%); filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#bf4143', endColorstr='#a13742',GradientType=0 ); }  
-
a:hover { color: #FF6600; text-decoration: underline; }
+
#cssmenu{border-color:#712730;}  
-
 
+
#cssmenu > ul > li > a{border-right:1px solid #712730; color:#fff;}  
-
p { margin: 0 0 10px 0; padding: 0; }
+
#cssmenu > ul > li > a:after{border-color:#f0696c;}  
-
img { border: none; }
+
#cssmenu > ul > li > a:hover{background:#8f2f34;}
-
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 }
+
-
 
+
-
#templatemo_wrapper {
+
-
width: 960px;
+
-
padding: 0 30px;
+
-
margin: 0 auto
+
-
}
+
-
 
+
-
#templatemo_header {
+
-
width: 930px;
+
-
height: 50px;
+
-
padding: 15px;
+
-
}
+
-
 
+
-
#site_title { float: left; }
+
-
#site_title h1 { margin: 0; padding: 0 }
+
-
#site_title h1 a { display: block; width: 275px; height: 57px; color: #F60; text-indent: -10000px; background: url(images/templatemo_logo.png) no-repeat }
+
-
 
+
-
#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 */
+
-
#templatemo_menu {
+
-
clear: both;
+
-
width: 930px;
+
-
height: 45px;
+
-
padding: 0 15px;
+
-
background: url(images/menu.jpg) no-repeat
+
-
}
+
-
 
+
-
#templatemo_menu ul {
+
-
float: left;
+
-
width: 695px;
+
-
margin: 0;
+
-
padding: 0;
+
-
list-style: none;
+
-
}
+
-
 
+
-
#templatemo_menu ul li {
+
-
padding: 0px;
+
-
margin: 0px;
+
-
display: inline;
+
-
}
+
-
 
+
-
#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
+
-
}
+
-
 
+
-
#templatemo_menu ul li a:hover, #templatemo_menu ul li .current { color: #fff; background: #d5a30b; }
+
-
 
+
-
#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
+
-
}
+
-
 
+
-
#slider_wrapper_n { clear: both; width: 900px; padding: 30px; margin-bottom: 15px; background: #000 url(images/slider_bottom.jpg) no-repeat bottom }
+
-
#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;
+
-
color: #000;
+
-
text-align: center;
+
-
font-size: 11px;
+
-
}
+
-
 
+
-
#templatemo_footer a {
+
-
font-weight: normal;
+
-
color: #000;
+
-
}
+

Revision as of 17:43, 10 July 2013

  1. cssmenu{ height:37px; display:block; padding:0; margin:20px auto; border:1px solid; border-radius:5px; }
  2. cssmenu > ul {list-style:inside none; padding:0; margin:0;}
  3. cssmenu > ul > li {list-style:inside none; padding:0; margin:0; float:left; display:block; position:relative;}
  4. cssmenu > ul > li > a{ outline:none; display:block; position:relative; padding:12px 20px; font:bold 13px/100% Arial, Helvetica, sans-serif; text-align:center; text-decoration:none; text-shadow:1px 1px 0 rgba(0,0,0, 0.4); }
  5. cssmenu > ul > li:first-child > a{border-radius:5px 0 0 5px;}
  6. cssmenu > ul > li > a:after{ content:; position:absolute; border-right:1px solid; top:-1px; bottom:-1px; right:-2px; z-index:99; }
  7. cssmenu ul li.has-sub:hover > a:after{top:0; bottom:0;}
  8. cssmenu > ul > li.has-sub > a:before{ content:; position:absolute; top:18px; right:6px; border:5px solid transparent; border-top:5px solid #fff; }
  9. cssmenu > ul > li.has-sub:hover > a:before{top:19px;}
  10. cssmenu ul li.has-sub:hover > a{ background:#3f3f3f; border-color:#3f3f3f; padding-bottom:13px; padding-top:13px; top:-1px; z-index:999; }
  11. cssmenu ul li.has-sub:hover > ul, #cssmenu ul li.has-sub:hover > div{display:block;}
  12. cssmenu ul li.has-sub > a:hover{background:#3f3f3f; border-color:#3f3f3f;}
  13. cssmenu ul li > ul, #cssmenu ul li > div{ display:none; width:auto; position:absolute; top:38px; padding:10px 0; background:#3f3f3f; border-radius:0 0 5px 5px; z-index:999; }
  14. cssmenu ul li > ul{width:200px;}
  15. cssmenu ul li > ul li{display:block; list-style:inside none; padding:0; margin:0; position:relative;}
  16. cssmenu ul li > ul li a{ outline:none; display:block; position:relative; margin:0; padding:8px 20px; font:10pt Arial, Helvetica, sans-serif; color:#fff; text-decoration:none; text-shadow:1px 1px 0 rgba(0,0,0, 0.5); }


  1. cssmenu, #cssmenu > ul > li > ul > li a:hover{ background:#bf4143; background:-moz-linear-gradient(top, #bf4143 0%, #a13742 100%); background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#bf4143), color-stop(100%,#a13742)); background:-webkit-linear-gradient(top, #bf4143 0%,#a13742 100%); background:-o-linear-gradient(top, #bf4143 0%,#a13742 100%); background:-ms-linear-gradient(top, #bf4143 0%,#a13742 100%); background:linear-gradient(top, #bf4143 0%,#a13742 100%); filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#bf4143', endColorstr='#a13742',GradientType=0 ); }
  2. cssmenu{border-color:#712730;}
  3. cssmenu > ul > li > a{border-right:1px solid #712730; color:#fff;}
  4. cssmenu > ul > li > a:after{border-color:#f0696c;}
  5. cssmenu > ul > li > a:hover{background:#8f2f34;}