Difference between revisions of "Template:HSNU-TAIPEI/main"
Line 97: | Line 97: | ||
float: left; | float: left; | ||
width: 25%; | width: 25%; | ||
+ | } | ||
+ | |||
+ | .logo::before { | ||
+ | content: ""; | ||
+ | background: url('https://static.igem.org/mediawiki/2015/2/2f/HSNU-TAIPEI_logo.png') no-repeat; | ||
+ | width: 100px; | ||
+ | height: 100px; | ||
+ | -webkit-background-size: contain; | ||
+ | -moz-background-size: contain; | ||
+ | -o-background-size: contain; | ||
+ | background-size: contain; | ||
+ | display: inline-block; | ||
} | } | ||
.logo a { | .logo a { | ||
− | display: block; | + | display: inline-block; |
width: 180px; | width: 180px; | ||
margin-top: 28px; | margin-top: 28px; |
Revision as of 00:27, 19 September 2015