Template:Peking2012 CSS
From 2012.igem.org
(Difference between revisions)
m |
m |
||
Line 87: | Line 87: | ||
text-align: center; | text-align: center; | ||
margin: 0 auto; | margin: 0 auto; | ||
+ | } | ||
+ | .floatL | ||
+ | { | ||
+ | float: left; | ||
+ | clear: left; | ||
+ | } | ||
+ | .floatR | ||
+ | { | ||
+ | float: right; | ||
+ | clear: right; | ||
+ | } | ||
+ | .floatC | ||
+ | { | ||
+ | text-align: center; | ||
+ | margin: 0 auto; | ||
+ | float: none; | ||
+ | clear: both; | ||
} | } | ||
Line 159: | Line 176: | ||
margin: 15px; | margin: 15px; | ||
text-align: center; | text-align: center; | ||
- | |||
- | |||
} | } | ||
.PKU-block p | .PKU-block p | ||
{ | { | ||
- | width: | + | width: 650px; |
font-size: 16px; | font-size: 16px; | ||
padding: 30px 40px; | padding: 30px 40px; | ||
Line 178: | Line 193: | ||
.PKU-block span | .PKU-block span | ||
{ | { | ||
- | |||
text-align: justify; | text-align: justify; | ||
font-style: italic; | font-style: italic; | ||
Line 184: | Line 198: | ||
margin: 1px; | margin: 1px; | ||
padding: 1px; | padding: 1px; | ||
+ | } | ||
+ | .PKU-block span.blank | ||
+ | { | ||
+ | width: 315px; | ||
+ | float: left; | ||
+ | clear: left; | ||
} | } | ||
Line 214: | Line 234: | ||
.PKU-block-bk | .PKU-block-bk | ||
{ | { | ||
- | filter: Alpha(Opacity | + | filter: Alpha(Opacity=10%); |
-moz-opacity: 0.1; | -moz-opacity: 0.1; | ||
opacity: 0.1; | opacity: 0.1; | ||
padding: 20px 30px; | padding: 20px 30px; | ||
+ | z-index: 0; | ||
+ | } | ||
+ | .PKU-block-bk * | ||
+ | { | ||
+ | filter: Alpha(Opacity=100%); | ||
+ | -moz-opacity: 1; | ||
+ | opacity: 1; | ||
+ | padding: 20px 30px; | ||
+ | z-index: 2; | ||
} | } | ||
Revision as of 09:26, 5 August 2012