Template:Team:DukeHomePage/CSS
From 2014.igem.org
(Difference between revisions)
Line 89: | Line 89: | ||
body { | body { | ||
background-color:#000; | background-color:#000; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 145: | Line 138: | ||
.igemlogo { | .igemlogo { | ||
- | + | position:absolute; | |
- | + | z-index:200; | |
- | + | padding:20px; | |
} | } | ||
- | + | .main { | |
+ | position:relative; | ||
+ | z-index:100; | ||
+ | padding:20px; | ||
+ | text-align:center; | ||
+ | } | ||
</style> | </style> | ||
Line 161: | Line 159: | ||
<body> | <body> | ||
<div class="igemlogo"> | <div class="igemlogo"> | ||
- | <img src="https://static.igem.org/mediawiki/2014/1/1a/Mattigemlogowhite.png " align="right" alt="Duke iGEM" height=" | + | <img src="https://static.igem.org/mediawiki/2014/1/1a/Mattigemlogowhite.png " align="right" alt="Duke iGEM" height="100px" width="100px"> |
<!--black logo can be found here: https://static.igem.org/mediawiki/2014/c/ce/Mattigemlogo.png --> | <!--black logo can be found here: https://static.igem.org/mediawiki/2014/c/ce/Mattigemlogo.png --> | ||
<!--white logo can be found here: https://static.igem.org/mediawiki/2014/1/1a/Mattigemlogowhite.png --> | <!--white logo can be found here: https://static.igem.org/mediawiki/2014/1/1a/Mattigemlogowhite.png --> | ||
</div> | </div> | ||
- | <div> | + | |
+ | <div class="main"> | ||
<table align="center"> | <table align="center"> | ||
<tr> | <tr> | ||
Line 175: | Line 174: | ||
</tr> | </tr> | ||
</table> | </table> | ||
- | + | ||
<table align="center" class="main"> | <table align="center" class="main"> | ||
<tr> | <tr> | ||
Line 184: | Line 183: | ||
</tr> | </tr> | ||
</table> | </table> | ||
- | + | </div> | |
</body> | </body> | ||
</html> | </html> |
Revision as of 14:28, 22 July 2014