Template:Team:Uppsala/test

From 2013.igem.org

(Difference between revisions)
 
(12 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<style type="text/css">
<style type="text/css">
 +
 +
 +
/* http://meyerweb.com/eric/tools/css/reset/
 +
  v2.0 | 20110126
 +
  License: none (public domain)
 +
*/
 +
 +
html, body, div, span, applet, object, iframe,
 +
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
 +
a, abbr, acronym, address, big, cite, code,
 +
del, dfn, em, img, ins, kbd, q, s, samp,
 +
small, strike, strong, sub, sup, tt, var,
 +
b, u, i, center,
 +
dl, dt, dd, ol, ul, li,
 +
fieldset, form, label, legend,
 +
table, caption, tbody, tfoot, thead, tr, th, td,
 +
article, aside, canvas, details, embed,
 +
figure, figcaption, footer, header, hgroup,
 +
menu, nav, output, ruby, section, summary,
 +
time, mark, audio, video {
 +
  margin: 0;
 +
  padding: 0;
 +
  border: 0;
 +
 +
  vertical-align: baseline;
 +
}
 +
/* HTML5 display-role reset for older browsers */
 +
article, aside, details, figcaption, figure,
 +
footer, header, hgroup, menu, nav, section {
 +
  display: block;
 +
}
 +
body {
 +
  line-height: 1;
 +
}
 +
ol, ul {
 +
  list-style: none;
 +
}
 +
blockquote, q {
 +
  quotes: none;
 +
}
 +
blockquote:before, blockquote:after,
 +
q:before, q:after {
 +
  content: '';
 +
  content: none;
 +
}
 +
table {
 +
  border-collapse: collapse;
 +
  border-spacing: 0;
 +
}
 +
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
Line 20: Line 70:
}  
}  
 +
body {
 +
background-image: url(https://static.igem.org/mediawiki/2013/2/26/Background.png); /* bakgrund för hela sidan */
 +
border: none;
 +
}
h1 {
h1 {
color: #0089d1;
color: #0089d1;
}
}
-
 
+
/*
p {
p {
color: #22409a;
color: #22409a;
}
}
-
 
+
*/
-
 
+
#main_frame {
 +
 +
min-height: 1400px;
 +
width: 950px;
 +
margin-left: auto;
 +
margin-right: auto;
 +
background-color: #fff;
 +
border: 1px solid light gray;
 +
border-radius:                                        15px;
 +
box-shadow: 0px 0px 30px rgba(110,110,110, .8);
 +
}
 +
 +
#header {
 +
width:100%;
 +
margin-left:auto;
 +
margin-right:auto;
 +
}
section {
section {
Line 43: Line 113:
}
}
 +
#igem_logo {
 +
width: 500px;
 +
padding: 10px;
 +
padding-top: 30px;
 +
float: right;
 +
}
 +
 +
 +
 +
#logo {
 +
width: 300px;
 +
float: left;
 +
}
 +
 +
#home-knapp {
 +
position: relative;
 +
z-index: 1;
 +
float: left;
 +
}
 +
 +
 +
 +
#n_container {
 +
padding-top: 1px;
 +
height::100px;
 +
width:950px;
 +
clear:both;
 +
}
 +
/*
 +
 +
#button_1 {
 +
position: relative;left:15px;top:-15px;
 +
float:left;
 +
}
 +
 +
#navbar {
 +
background-color: #22409a;
 +
margin-top: 60px;
 +
width: 94%;
 +
margin-left: 6%;
 +
height: 55px;
 +
vertical-align: middle;
 +
text-align: center;
 +
}
 +
*/
 +
 +
.sublogo {
 +
 +
width: 150px;
 +
margin-left: 475px;
 +
 +
}
 +
 +
.logo {
 +
padding-top: 40px;
 +
width: 200px;
 +
float: left;
 +
}
 +
 +
 +
.navbar-text {
 +
 +
 +
}
 +
 +
/* NAVBAR code begins */
 +
 +
 +
/*
 +
 +
.nav ul {
 +
  text-align: left;
 +
  display: inline;
 +
  margin: 0;
 +
  padding: 15px 4px 17px 0;
 +
  list-style: none;
 +
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
 +
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
 +
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
 +
}
 +
.nav ul li {
 +
  font: bold 12px/18px sans-serif;
 +
  display: inline-block;
 +
  margin-right: -4px;
 +
  position: relative;
 +
  padding: 15px 20px;
 +
  background: #fff;
 +
  cursor: pointer;
 +
  -webkit-transition: all 0.2s;
 +
  -moz-transition: all 0.2s;
 +
  -ms-transition: all 0.2s;
 +
  -o-transition: all 0.2s;
 +
  transition: all 0.2s;
 +
}
 +
.nav ul li:hover {
 +
  background: #555;
 +
  color: #fff;
 +
}
 +
.nav ul li ul {
 +
  padding: 0;
 +
  position: absolute;
 +
  top: 48px;
 +
  left: 0;
 +
  width: 150px;
 +
  -webkit-box-shadow: none;
 +
  -moz-box-shadow: none;
 +
  box-shadow: none;
 +
  display: none;
 +
  opacity: 0;
 +
  visibility: hidden;
 +
  -webkit-transiton: opacity 0.2s;
 +
  -moz-transition: opacity 0.2s;
 +
  -ms-transition: opacity 0.2s;
 +
  -o-transition: opacity 0.2s;
 +
  -transition: opacity 0.2s;
 +
}
 +
.nav ul li ul li {
 +
  background: #555;
 +
  display: block;
 +
  color: #fff;
 +
  text-shadow: 0 -1px 0 #000;
 +
}
 +
.nav ul li ul li:hover { background: #666; }
 +
.nav ul li:hover ul {
 +
  display: block;
 +
  opacity: 1;
 +
  visibility: visible;
 +
}
 +
 +
.a {
 +
width: 100px; height: 60px;
 +
padding-bottom: 30px;
 +
}
 +
 +
*/
 +
 +
}
 +
.content {
 +
clear:both;
 +
}
 +
 +
 +
.igem_logo  {
 +
width: 400px;
 +
float: right;
 +
}
Line 52: Line 268:
#project-description {
#project-description {
 +
padding-top: 30px;
width: 100%;
width: 100%;
-
margin-left:auto;
 
-
margin-right:auto;
 
border-bottom: 1px solid #22409a;
border-bottom: 1px solid #22409a;
padding-bottom: 10px;
padding-bottom: 10px;
-
clear: both;
 
-
position: relative;
 
-
top: -50px;
 
}
}
 +
.project-text {
 +
padding-top: px;
 +
}
 +
 +
.first-background-text {
 +
padding-top: px;
 +
}
 +
 +
.second-background-text {
 +
padding-top: px;
 +
}
#grid-matrix {
#grid-matrix {
Line 189: Line 412:
}
}
-
 
+
/* Hover effect in grid pictures end
 +
Grid pictures styling begin */
.top {
.top {
Line 205: Line 429:
/* Grid pictures styling ends */
/* Grid pictures styling ends */
-
 
-
 
-
*{
 
-
margin: 0px;
 
-
padding: 0px;
 
-
                padding-top: 0px;
 
-
border: none;
 
-
}
 
-
 
-
 
-
section, footer, nav{
 
-
display: block;
 
-
}
 
-
 
-
body{
 
-
 
-
width: 100%;
 
-
height: 100%;
 
-
 
-
background-image: url(../image/bakgrund3.png); /* bakgrund för hela sidan */
 
-
}
 
-
 
-
#main_frame {
 
-
min-height: 1600px;
 
-
width: 950px;
 
-
margin: 20px auto;
 
-
border: 1px solid ligth gray;
 
-
border-radius: 15px;
 
-
box-shadow: 0px 0px 30px rgba(110,110,110, .8);
 
-
background: white;
 
-
 
-
}
 
-
 
-
 
-
#logo_img{
 
-
position: relative;
 
-
padding: 10px;
 
-
}
 
-
 
-
#header img.logo{
 
-
float: left;
 
-
width: 150px;
 
-
}
 
-
 
-
#igem_logo{
 
-
position: relative;
 
-
padding: 10px;
 
-
}
 
-
 
-
#header img.igem_logo{
 
-
width: 400px;
 
-
float: right;
 
-
}
 
-
 
-
#navbar {
 
-
background-image: url(https://static.igem.org/mediawiki/2013/e/e5/Menubar.png);
 
-
background-repeat: no-repeat;
 
-
background-position: center right;
 
-
background-size: 93% 55px;
 
-
height: 55px;
 
-
}
 
-
 
-
 
-
footer
 
-
{
 
-
padding: 20px;
 
-
height: 100px;
 
-
}
 
-
 
-
.home-knapp
 
-
{
 
-
position: relative;left:15px;top:-70px;
 
-
width: 15%;
 
-
float: left;
 
-
z-index: 2;
 
-
}
 
-
 
-
.nav-text
 
-
{
 
-
padding-right: 10px;
 
-
z-index: 1;
 
-
/*-webkit-transition: -webkit-transform 0.1s, background 0.1s;*/
 
-
}
 
-
 
-
#list_type1{width: 110px;}#list_type2{width: 80px;}#list_type3{width: 120px;}#list_type4{width: 150px;}
 
-
 
-
nav ul li:hover > ul {
 
-
display: block;
 
-
}
 
-
 
-
nav ul {
 
-
list-style: none;
 
-
position: relative;
 
-
display: inline-table;
 
-
}
 
-
nav ul:after {
+
#drop-down ul {
-
content: ""; clear: both; display: block;
+
  text-align: left;
-
}
+
  display: inline;
-
+
  margin: 0;
-
nav ul li  
+
  /*padding: 15px 4px 17px 0;*/
-
{
+
  list-style: none;
-
padding-top: 0.6%;
+
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
-
float: left;
+
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
-
height: 50px;
+
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
 +
}
 +
#drop-down ul li {
 +
  font: bold 12px/18px sans-serif;
 +
  display: inline-block;
 +
  margin-right: -4px;
 +
  position: relative;
 +
  padding: 5px 0px;
 +
  background: #22409a;
 +
  cursor: pointer;
 +
  -webkit-transition: all 0.2s;
 +
  -moz-transition: all 0.2s;
 +
  -ms-transition: all 0.2s;
 +
  -o-transition: all 0.2s;
 +
  transition: all 0.2s;
 +
}
 +
#drop-down ul li:hover {
 +
  background: #0089d1;
 +
  color: #fff;
 +
}
 +
#drop-down ul li ul {
 +
  padding: 0;
 +
  position: absolute;
 +
  top: 54px;
 +
  left: 0;
 +
  width: 150px;
 +
  -webkit-box-shadow: none;
 +
  -moz-box-shadow: none;
 +
  box-shadow: none;
 +
  display: none;
 +
  opacity: 0;
 +
  visibility: hidden;
 +
  -webkit-transiton: opacity 0.2s;
 +
  -moz-transition: opacity 0.2s;
 +
  -ms-transition: opacity 0.2s;
 +
  -o-transition: opacity 0.2s;
 +
  -transition: opacity 0.2s;
 +
}
 +
#drop-down ul li ul li {
 +
  background: #22409a;
 +
  display: block;
 +
  color: #fff;
 +
  text-shadow: 0 -1px 0 #000;
 +
}
 +
#drop-down ul li ul li:hover { background: #0089d1; }
 +
#drop-down ul li:hover ul {
 +
  display: block;
 +
  opacity: 1;
 +
  visibility: visible;
 +
}
 +
#drop-down ul li a {
 +
  display: block;
 +
  text-decoration: none;
 +
  color: #fff;
 +
  font-size: 14px;
 +
  padding-left: 5px;
 +
  z-index: 122112122
}
}
-
 
-
nav ul li a {
 
-
text-align: center;
 
-
display: block;
 
-
text-decoration:         none;
 
-
}
 
-
.nav-text2{
 
-
width: 90px;
 
-
position: relative;
 
-
top: -30px;
 
-
z-index: 1;
 
-
}
 
-
 
-
nav ul li:hover
 
-
{
 
-
background: #0089d1;
 
-
}
 
-
nav ul li:hover img.nav-text2{
 
-
background: none;
 
-
z-index: 3;
 
-
}
 
-
nav ul li:hover li .nav-text
 
-
{
 
-
background: #0089d1;
 
-
 
-
}
 
-
nav ul ul
+
 
-
{
+
 
-
background: #22409a;
+
#navbar {
-
border-radius: 0px;  
+
  width: 900px;
-
padding: 0px;  
+
  height: 60px;
-
position: absolute;  
+
  background-color: #22409a;
-
top: 100%;
+
  margin-left: 50px;
-
display: none;
+
  margin-top: 75px;
-
z-index: 1;
+
}
}
-
nav ul ul li {
+
 
-
padding-top: 10px;
+
.ad {
-
width: 150px;
+
margin-left: 5px;
-
float: none;
+
}
-
position: relative;
+
 
-
}
+
 
-
nav ul ul li a {
+
</style>
-
color: #fff;
+
</html>
-
font-weight: bold;
+
-
}
+
-
nav ul ul li a:hover {
+
-
background: #0089d1;
+
-
}
+

Latest revision as of 20:10, 15 August 2013