Template:Team:HokkaidoU Japan/CSS
From 2014.igem.org
(Difference between revisions)
Line 749: | Line 749: | ||
} | } | ||
- | /*Demo | + | /*Demo 3*/ |
@font-face { | @font-face { | ||
font-family: 'arrows'; | font-family: 'arrows'; | ||
Line 762: | Line 762: | ||
.bb-custom-wrapper { | .bb-custom-wrapper { | ||
- | width: | + | width: 420px; |
- | + | ||
position: relative; | position: relative; | ||
+ | margin: 0 auto 40px; | ||
+ | text-align: center; | ||
} | } | ||
.bb-custom-wrapper .bb-bookblock { | .bb-custom-wrapper .bb-bookblock { | ||
- | + | box-shadow: 0 12px 20px -10px rgba(81,64,49,0.6); | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
Line 833: | Line 778: | ||
} | } | ||
- | .bb-custom-wrapper | + | .bb-custom-wrapper nav { |
width: 100%; | width: 100%; | ||
- | height: | + | height: 30px; |
margin: 1em auto 0; | margin: 1em auto 0; | ||
- | position: | + | position: relative; |
- | + | z-index: 0; | |
- | z-index: | + | |
text-align: center; | text-align: center; | ||
} | } | ||
- | .bb-custom-wrapper | + | .bb-custom-wrapper nav a { |
display: inline-block; | display: inline-block; | ||
- | width: | + | width: 30px; |
- | height: | + | height: 30px; |
text-align: center; | text-align: center; | ||
border-radius: 2px; | border-radius: 2px; | ||
- | background: # | + | background: #ea5381; |
color: #fff; | color: #fff; | ||
font-size: 0; | font-size: 0; | ||
Line 855: | Line 799: | ||
} | } | ||
- | .bb-custom-wrapper | + | .bb-custom-wrapper nav a:hover { |
opacity: 0.6; | opacity: 0.6; | ||
} | } | ||
Line 867: | Line 811: | ||
text-transform: none; | text-transform: none; | ||
line-height: 1; | line-height: 1; | ||
- | font-size: | + | font-size: 20px; |
- | line-height: | + | line-height: 30px; |
display: block; | display: block; | ||
-webkit-font-smoothing: antialiased; | -webkit-font-smoothing: antialiased; | ||
Line 897: | Line 841: | ||
.no-js .bb-custom-content { | .no-js .bb-custom-content { | ||
- | height: | + | height: 470px; |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
Revision as of 09:59, 11 September 2014