Team:Korea U Seoul/template/banner
From 2013.igem.org
(Difference between revisions)
(Created page with "<html> <style> /* Edited 7/16/11 from Wiki Hacks */ /* Author: Pieter van Boheemen */ /* Team: TU Delft */ #globalWrapper { background-color: #ffffff; - →좌우 여백 컬러: ...") |
m (banner page) |
||
Line 1: | Line 1: | ||
<html> | <html> | ||
<style> | <style> | ||
- | /* | + | /* |
- | /* | + | ** MediaWiki 'monobook' style sheet for CSS2-capable browsers. |
- | /* | + | ** Copyright Gabriel Wicke - http://wikidev.net/ |
+ | ** License: GPL (http://www.gnu.org/copyleft/gpl.html) | ||
+ | ** | ||
+ | ** Loosely based on http://www.positioniseverything.net/ordered-floats.html by Big John | ||
+ | ** and the Plone 2.0 styles, see http://plone.org/ (Alexander Limi,Joe Geldart & Tom Croucher, | ||
+ | ** Michael Zeltner and Geir Bækholt) | ||
+ | ** All you guys rock :) | ||
+ | */ | ||
+ | |||
+ | |||
+ | /* Font size: | ||
+ | ** We take advantage of keyword scaling- browsers won't go below 9px | ||
+ | ** More at http://www.w3.org/2003/07/30-font-size | ||
+ | ** http://style.cleverchimp.com/font_size_intervals/altintervals.html | ||
+ | */ | ||
+ | |||
+ | body { | ||
+ | font: x-small sans-serif; | ||
+ | color: black; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | background-color: #aaaaaa; | ||
+ | } | ||
+ | |||
+ | /* scale back up to a sane default */ | ||
#globalWrapper { | #globalWrapper { | ||
- | + | position: relative; | |
- | + | font-size: 127%; | |
- | margin: 0; | + | width: 100%; |
- | padding: 0; | + | margin: 0; |
- | + | padding: 0; | |
- | + | padding-bottom: 10px; | |
- | + | } | |
- | + | .visualClear { | |
+ | clear: both; | ||
} | } | ||
+ | |||
+ | /* The top section contains the banner, the search box, and the left and right menus */ | ||
#top-section { | #top-section { | ||
- | background-image: url('https://static.igem.org/mediawiki/2011/0/0d/MAIN_IMAGE.jpg'); | + | background-color: #8b0029; |
- | height:180px ! important; /* 메인 배너 이미지 높이 */ | + | #background-image: url('https://static.igem.org/mediawiki/2011/0/0d/MAIN_IMAGE.jpg'); |
- | margin: 0px; | + | height:180px ! important; /* 메인 배너 이미지 높이 */ |
- | margin-left: auto; | + | margin: 0px; |
- | margin-right: auto; | + | margin-left: auto; |
- | margin-bottom: 0 !important; | + | margin-right: auto; |
- | padding:0; | + | margin-bottom: 0 !important; |
- | border: none; | + | padding:0; |
+ | border: none; | ||
+ | position: relative; | ||
+ | width: 975px; | ||
} | } | ||
- | + | #p-logo { | |
- | + | position: absolute; | |
- | #p-logo { | + | z-index: 1; |
- | + | height: 107px; | |
- | + | width: 975px; | |
- | + | display: none; | |
- | + | } | |
- | #search-controls { | + | #search-controls { |
- | + | position: absolute; | |
- | + | top: 20px; | |
- | + | right: 15px; | |
- | + | width: 150px; | |
- | + | height: 40px; | |
- | + | background-color: transparent; | |
- | + | text-align: center; | |
- | + | z-index: 3; | |
- | + | display: none; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
Line 97: | Line 113: | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
+ | |||
</style> | </style> | ||
</html> | </html> |
Revision as of 04:18, 22 September 2013