Template:Style

From 2013.igem.org

(Difference between revisions)
(Undo revision 73754 by Amaron (talk))
(Undo revision 73750 by Amaron (talk))
Line 1: Line 1:
-
/*
+
<html>
-
baby blue #b6e6fd; RGB(182,230,253)
+
-
blue #0089d1; RGB(0,137,209)
+
-
dark blue #22409a; RGB(34,64,154)
+
-
+
-
<style type="text/css">
+
-
@-moz-document url-prefix() {
+
-
h1 {
+
-
color: red;
+
-
}
+
-
}
+
-
</style>
+
-
*/
+
-
+
-
+
-
<html>
+
<style type="text/css">
<style type="text/css">
Line 36: Line 21:
-
 
 +
h1 {
 +
color: #0089d1;
 +
}
 +
 +
p {
 +
color: #22409a;
 +
}
 +
 +
 +
 +
section {
 +
min-height: 1300px;
 +
padding: 20px;
 +
}
 +
 +
header {
 +
display: inline-block;
 +
position: relative;
 +
width: 100%;
 +
}
 +
 +
 +
 +
*{
*{
margin: 0px;
margin: 0px;
padding: 0px;
padding: 0px;
 +
                padding-top: 0px;
border: none;
border: none;
}
}
-
/*
 
-
html, body{
 
-
width: 100%;
 
-
height: 100%;
 
-
}*/
 
-
section, footer, nav{
 
-
display: block;
 
-
}
 
 +
body{
body{
Line 72: Line 74:
}
}
-
 
+
-
header {
+
-
display: inline-block;
+
-
position: relative;
+
-
width: 100%;
+
-
}
+
#logo_img{
#logo_img{
Line 100: Line 97:
#navbar {
#navbar {
-
background-image: url(../image/layout/menubar.png);
+
background-image: url(https://static.igem.org/mediawiki/2013/e/e5/Menubar.png);
background-repeat: no-repeat;
background-repeat: no-repeat;
background-position: center right;  
background-position: center right;  
Line 106: Line 103:
height: 55px;
height: 55px;
}
}
-
nav {
+
-
}
+
-
section
 
-
{
 
-
min-height: 1300px;
 
-
padding: 20px;
 
-
}
 
-
 
footer
footer
{
{
Line 123: Line 113:
.home-knapp
.home-knapp
{
{
-
position: relative;left:15px;top:-84px;
+
position: relative;left:15px;top:-70px;
width: 15%;
width: 15%;
float: left;
float: left;
Line 138: Line 128:
#list_type1{width: 110px;}#list_type2{width: 80px;}#list_type3{width: 120px;}#list_type4{width: 150px;}
#list_type1{width: 110px;}#list_type2{width: 80px;}#list_type3{width: 120px;}#list_type4{width: 150px;}
-
nav ul ul {
 
-
display: none;
 
-
z-index: 1;
 
-
}
 
nav ul li:hover > ul {
nav ul li:hover > ul {
Line 159: Line 145:
nav ul li  
nav ul li  
{
{
-
padding-top: 1.4%;
+
padding-top: 0.6%;
float: left;
float: left;
-
height: 44px;
+
height: 50px;
}
}
Line 168: Line 154:
text-align: center;
text-align: center;
display: block;
display: block;
-
text-decoration: none;
+
text-decoration:         none;
}
}
.nav-text2{
.nav-text2{
Line 196: Line 182:
border-radius: 0px;  
border-radius: 0px;  
padding: 0px;  
padding: 0px;  
-
position: absolute;  
+
position: relative;
-
top: 100%;
+
top: -5px
 +
left: -10px;
 +
display: none;
 +
z-index: 1;
}
}
nav ul ul li {
nav ul ul li {

Revision as of 13:17, 16 August 2013