Team:AHUT China/CSS
From 2014.igem.org
(Difference between revisions)
(Created page with " *{ margin:0; padding:0; } body{ position:relative; z-index:0; } section, footer, header, aside{ display: block; } p { margin:0; } /************************index page***...") |
|||
(6 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | + | <html> | |
+ | <style type="text/css"> | ||
*{ | *{ | ||
margin:0; | margin:0; | ||
Line 196: | Line 197: | ||
height:170px; | height:170px; | ||
float:left; | float:left; | ||
- | padding | + | padding:10px 0 0 0; |
+ | margin:0; | ||
} | } | ||
#index_foot_list li{ | #index_foot_list li{ | ||
Line 460: | Line 462: | ||
font-weight:600; | font-weight:600; | ||
background-color:#414141; | background-color:#414141; | ||
+ | } | ||
+ | .topic a,.topic a:hover { | ||
+ | width:100%; | ||
+ | height:120px; | ||
+ | line-height:120px; | ||
+ | text-align:center; | ||
+ | color:#ffffff; | ||
+ | font-family:Arial, Helvetica, sans-serif; | ||
+ | font-size:72px; | ||
+ | font-weight:600; | ||
+ | background-color:#414141; | ||
+ | text-decoration:none; | ||
} | } | ||
.content_topic { | .content_topic { | ||
Line 519: | Line 533: | ||
border:none; | border:none; | ||
margin:0 10px; | margin:0 10px; | ||
+ | -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35); | ||
+ | -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35); | ||
+ | box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35); | ||
} | } | ||
.hp_pic a img { | .hp_pic a img { | ||
border:solid #393939 4px; | border:solid #393939 4px; | ||
margin:0 10px; | margin:0 10px; | ||
+ | -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35); | ||
+ | -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35); | ||
+ | box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35); | ||
+ | |||
} | } | ||
.hp_pic a:hover img { | .hp_pic a:hover img { | ||
border:solid #98bcdb 4px; | border:solid #98bcdb 4px; | ||
margin:0 10px; | margin:0 10px; | ||
+ | -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35); | ||
+ | -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35); | ||
+ | box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35); | ||
} | } | ||
.speechmarksleft { | .speechmarksleft { | ||
Line 539: | Line 563: | ||
vertical-align: text-top; | vertical-align: text-top; | ||
width: 150px; | width: 150px; | ||
+ | top:130px; | ||
+ | position: relative; | ||
} | } | ||
.speechmarksright { | .speechmarksright { | ||
Line 551: | Line 577: | ||
vertical-align: text-top; | vertical-align: text-top; | ||
width: 150px; | width: 150px; | ||
+ | top:130px; | ||
+ | position: relative; | ||
} | } | ||
.content_table { | .content_table { | ||
Line 666: | Line 694: | ||
clear:both; | clear:both; | ||
} | } | ||
+ | </style> | ||
+ | </html> |
Latest revision as of 11:25, 17 October 2014