Team:Shenzhen BGIC 0101/Templates/Banner
From 2013.igem.org
(Difference between revisions)
Line 231: | Line 231: | ||
right:0; | right:0; | ||
} | } | ||
- | |||
+ | .container { | ||
+ | position: relative; | ||
+ | width: 1000px; | ||
+ | margin: 0 auto; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | .container .column { | ||
+ | float: left; | ||
+ | display: inline; | ||
+ | margin-left: 10px; | ||
+ | margin-right: 10px; | ||
+ | } | ||
+ | .container .one-third.column { | ||
+ | width: 300px; | ||
+ | } | ||
+ | |||
+ | .mini-post { | ||
+ | float: left; | ||
+ | background: #fff; | ||
+ | box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .4); | ||
+ | border-radius: 2px; | ||
+ | overflow: hidden; | ||
+ | width: 290px; | ||
+ | -webkit-transition: all .2s ease-out; | ||
+ | -moz-transition: all .2s ease-out; | ||
+ | transition: all .2s ease-out; | ||
+ | color: #333; | ||
+ | min-height: 320px; | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | |||
+ | .mini-post:hover { | ||
+ | margin-top: -5px; | ||
+ | box-shadow: 0 3px 3px 0 rgba(0, 0, 0, .4); | ||
+ | } | ||
</style> | </style> |
Revision as of 00:42, 26 October 2013