Team:GeorgiaTech/css

From 2011.igem.org

(Difference between revisions)
Line 9: Line 9:
       margin-right:auto;
       margin-right:auto;
       width:781px;
       width:781px;
-
       height:218px;
+
       height:auto;
       background:url(https://static.igem.org/mediawiki/2011/a/ad/GTMenu.png);
       background:url(https://static.igem.org/mediawiki/2011/a/ad/GTMenu.png);
}
}
Line 15: Line 15:
#gt #navbar #intro a{
#gt #navbar #intro a{
position: absolute;
position: absolute;
-
width: 186px;
+
width: 100px;
-
height: 218px;
+
height: auto;
top: 0px;
top: 0px;
left: 0px;
left: 0px;
Line 27: Line 27:
#gt #navbar #Sthermophilus a{
#gt #navbar #Sthermophilus a{
position: absolute;
position: absolute;
-
width: 181px;
+
width: 100px;
-
height: 218px;
+
height: auto;
top: 0px;
top: 0px;
-
left: 201px;
+
left: 100px;
}
}
Line 39: Line 39:
#gt #navbar #safety a{
#gt #navbar #safety a{
position: absolute;
position: absolute;
-
width: 142px;
+
width: 100px;
-
height: 218px;
+
height: auto;
top: 0px;
top: 0px;
-
left: 393px;
+
left: 200px;
}
}
Line 52: Line 52:
#gt #navbar #notebook a{
#gt #navbar #notebook a{
position: absolute;
position: absolute;
-
width: 237px;
+
width: 100px;
-
height: 218px;
+
height: auto;
top: 0px;
top: 0px;
-
left: 544px;
+
left: 300px;
}
}
Line 64: Line 64:
#gt #navbar #modeling a{
#gt #navbar #modeling a{
position: absolute;
position: absolute;
-
width: 237px;
+
width: 100px;
-
height: 218px;
+
height: auto;
top: 0px;
top: 0px;
-
left: 544px;
+
left: 400px;
}
}
Line 76: Line 76:
#gt #navbar #future a{
#gt #navbar #future a{
position: absolute;
position: absolute;
-
width: 237px;
+
width: 100px;
-
height: 218px;
+
height: auto;
top: 0px;
top: 0px;
-
left: 544px;
+
left: 500px;
}
}
Line 88: Line 88:
#gt #navbar #iGEM a{
#gt #navbar #iGEM a{
position: absolute;
position: absolute;
-
width: 237px;
+
width: 100px;
-
height: 218px;
+
height: auto;
top: 0px;
top: 0px;
-
left: 544px;
+
left: 600px;
}
}

Revision as of 17:28, 28 September 2011

body{

       font-family: 'Josefin Sans', sans-serif;

margin: 0px;

       background: #fcfaf8;

}

  1. gt #navbar {
     position:relative;
     margin-left:auto;
     margin-right:auto;
     width:781px;
     height:auto;
     background:url(GTMenu.png);

}

  1. gt #navbar #intro a{

position: absolute; width: 100px; height: auto; top: 0px; left: 0px; }

  1. gt #navbar #intro a:hover{
     	background:url(GTIntro.png);

}

  1. gt #navbar #Sthermophilus a{

position: absolute; width: 100px; height: auto; top: 0px; left: 100px; }

  1. gt #navbar #Sthermophilus a:hover{
     	background:url(GTS_thermophilus.png);

}

  1. gt #navbar #safety a{

position: absolute; width: 100px; height: auto; top: 0px; left: 200px; }

  1. gt #navbar #safety a:hover{
     	background:url(GTSafety.png);

}


  1. gt #navbar #notebook a{

position: absolute; width: 100px; height: auto; top: 0px; left: 300px; }

  1. gt #navbar #notebook a:hover{
     	background:url(GTNotebook.png);

}

  1. gt #navbar #modeling a{

position: absolute; width: 100px; height: auto; top: 0px; left: 400px; }

  1. gt #navbar #modeling a:hover{
     	background:url(GTModeling.png);

}

  1. gt #navbar #future a{

position: absolute; width: 100px; height: auto; top: 0px; left: 500px; }

  1. gt #navbar #future a:hover{
     	background:url(https://2011.igem.org/File:Future.png);

}

  1. gt #navbar #iGEM a{

position: absolute; width: 100px; height: auto; top: 0px; left: 600px; }

  1. gt #navbar #iGEM a:hover{
     	background:url(GTIGEM.png);

}