Template:Team:Edinburgh/css/header-style.css

From 2012.igem.org

(Difference between revisions)
m (#content -> bg color)
(Adding an img bg in the header)
Line 2: Line 2:
<style type="text/css">
<style type="text/css">
/* wiki edit */
/* wiki edit */
-
#top-section{
+
#top-section #menubar.left-menu a,
-
background:#25476c;
+
#top-section #menubar.left-menu a,
-
}
+
#top-section #menubar.left-menu a:hover,
-
#top-section #menubar.left-menu a, #top-section #menubar.left-menu a,
+
#top-section #menubar.left-menu a:hover,
-
#top-section #menubar.left-menu a:hover, #top-section #menubar.left-menu a:hover,
+
#top-section #menubar.left-menu a:visited,
-
#top-section #menubar.left-menu a:visited, #top-section #menubar.left-menu a:visited,{
+
#top-section #menubar.left-menu a:visited,{
color: #fff;
color: #fff;
text-decoration:none;
text-decoration:none;
}
}
-
#top-section #menubar.left-menu a:hover, #top-section #menubar.left-menu a:hover{
+
#top-section #menubar.left-menu a:hover,
 +
#top-section #menubar.left-menu a:hover{
font-weight: bold;
font-weight: bold;
}
}
Line 18: Line 19:
}
}
-
/*General*/
+
/* header */
-
body{
+
a,
-
font-family: helvetica, arial, sans-serif;
+
a:hover,
-
background:#f2f2f2;
+
a:visited{
-
}
+
-
a, a:hover, a:visited{
+
text-decoration:none;
text-decoration:none;
}
}
Line 29: Line 28:
font-family: calibri, tahoma, verdana, sans-serif;
font-family: calibri, tahoma, verdana, sans-serif;
}
}
-
/*header*/
+
#header{
-
div.header{
+
background: url("imgs/edi-uni.png") no-repeat;
-
background:#25476c;
+
background-position: top right;
 +
background-color:#25476c;
color:#fff;
color:#fff;
}
}
-
div.team-name{
+
#banner{
 +
background-color:rgba(37,71,108, 0.5);
 +
}
 +
#team-name{
background: url("https://static.igem.org/mediawiki/2012/7/74/UoE-blue-logo.png") no-repeat;
background: url("https://static.igem.org/mediawiki/2012/7/74/UoE-blue-logo.png") no-repeat;
background-size: auto 120px;
background-size: auto 120px;
}
}
-
div.team-name p{
+
#team-name p{
font: normal bold 34px/50px calibri, "lucida sans", helvetica, arial, sans-serif;
font: normal bold 34px/50px calibri, "lucida sans", helvetica, arial, sans-serif;
}
}
-
div.team-name a,
+
#team-name a,
-
div.team-name a:hover,
+
#team-name a:hover,
-
div.team-name a:visited{
+
#team-name a:visited{
color:#fff;
color:#fff;
-
text-decoration:none;
 
}
}
-
.main-menu{
+
#main-menu{
-
background: #182e46;
+
background: rgba(37,71,108, 0.5);/*#25476c*/
-
border-top-right-radius: 10px;
+
}
 +
#main-menu li{
 +
background: rgba(24,46,70,0.8);/*#182e46*/
 +
}
 +
#home-page{
border-top-left-radius: 10px;
border-top-left-radius: 10px;
}
}
-
/*div.main-menu li{
+
#attributions-page{
-
background: #182e46;
+
border-top-right-radius: 10px;
-
}*/
+
}
-
div.main-menu a p{
+
#main-menu a p{
font: normal bold 17px/30px tahoma, verdana, sans-serif;
font: normal bold 17px/30px tahoma, verdana, sans-serif;
}
}
-
div.main-menu a,
+
#main-menu a,
-
div.main-menu a:link,
+
#main-menu a:link,
-
div.main-menu a:active,
+
#main-menu a:active,
-
div.main-menu a:visited{
+
#main-menu a:visited{
color:#cad8e5;
color:#cad8e5;
}
}
-
div.main-menu a:hover{
+
#main-menu a:hover{
color:#fff;
color:#fff;
}
}
</style>
</style>
</html>
</html>

Revision as of 19:38, 1 July 2012