Difference between revisions of "Template:HSNU-TAIPEI/main"
Line 471: | Line 471: | ||
section img { | section img { | ||
display: block; | display: block; | ||
− | |||
margin:10px auto; | margin:10px auto; | ||
} | } | ||
Line 525: | Line 524: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 674: | Line 650: | ||
order: 1 !important; | order: 1 !important; | ||
} | } | ||
+ | |||
+ | section { | ||
+ | height: 300px; | ||
+ | } | ||
+ | section::after { | ||
+ | content: ""; | ||
+ | display: table; | ||
+ | clear: both; | ||
+ | } | ||
+ | .mc-container section h1 { | ||
+ | text-align: left; | ||
+ | float: left; | ||
+ | } | ||
+ | section img { | ||
+ | display: block; | ||
+ | float: right; | ||
+ | height: 250px; | ||
+ | margin-right: 10px; | ||
+ | margin-top: 10px; | ||
+ | transition: all .5s ease; | ||
+ | } | ||
+ | section .backing-link:hover + img { | ||
+ | height: 280px; | ||
+ | } | ||
Revision as of 12:17, 14 September 2015