Team:UC Chile/style
From 2012.igem.org
(Difference between revisions)
(66 intermediate revisions not shown) | |||
Line 24: | Line 24: | ||
#contentSub { | #contentSub { | ||
display:none; | display:none; | ||
+ | } | ||
+ | |||
+ | #bodyContent{ | ||
+ | background: white; | ||
+ | color: black; | ||
} | } | ||
Line 49: | Line 54: | ||
body { | body { | ||
- | background | + | background: #145224; /* defines the default background color of the document*/ |
+ | |||
+ | /* background-image:url('https://static.igem.org/mediawiki/2012/1/1d/B_image.png'); */ | ||
+ | |||
color: white; /* defines the default font-color of the document*/ | color: white; /* defines the default font-color of the document*/ | ||
+ | |||
} | } | ||
a { | a { | ||
Line 66: | Line 75: | ||
height: 33px; | height: 33px; | ||
background-color: #333; | background-color: #333; | ||
+ | border-top: 1px solid white; | ||
} | } | ||
#nav{ | #nav{ | ||
list-style:none; | list-style:none; | ||
- | |||
float:left; | float:left; | ||
width:100%; | width:100%; | ||
Line 80: | Line 89: | ||
float:left; | float:left; | ||
margin-right:0px; | margin-right:0px; | ||
- | + | top: 0px; | |
+ | position:relative; | ||
width: 110px; | width: 110px; | ||
+ | |||
} | } | ||
#nav a{ | #nav a{ | ||
Line 94: | Line 105: | ||
text-decoration:underline; | text-decoration:underline; | ||
} | } | ||
- | + | #nav li: hover{ | |
+ | border-bottom: 1px solid white; | ||
+ | z-index:2; | ||
+ | } | ||
/*--- DROPDOWN ---*/ | /*--- DROPDOWN ---*/ | ||
#nav ul{ | #nav ul{ | ||
Line 101: | Line 115: | ||
position:absolute; | position:absolute; | ||
left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */ | left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */ | ||
+ | border-bottom: 1px solid black; | ||
+ | |||
} | } | ||
Line 109: | Line 125: | ||
} | } | ||
#nav li:hover ul{ | #nav li:hover ul{ | ||
- | + | left:0px; | |
- | left: | + | |
top: 0px; | top: 0px; | ||
margin-top: 29px; | margin-top: 29px; | ||
Line 126: | Line 141: | ||
color: black; | color: black; | ||
} | } | ||
+ | |||
+ | .selflink{ | ||
+ | margin-top: 5px; | ||
+ | } | ||
+ | |||
+ | .center{ | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
</html> | </html> |
Latest revision as of 15:53, 31 March 2012