mirror of
https://github.com/jgthms/bulma
synced 2026-03-20 12:24:28 -07:00
Bulma v9 website (#3249)
* Add Bulma v9 * Add vendor dependencies * Fix native * Fix sponsors * Add style attribute
This commit is contained in:
23
docs/_sass/components/book.scss
Normal file
23
docs/_sass/components/book.scss
Normal file
@@ -0,0 +1,23 @@
|
||||
.bd-book-cover {
|
||||
@extend %block;
|
||||
@extend %center;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
|
||||
a {
|
||||
box-shadow: 0 0.5em 1em rgba(black, 0.1);
|
||||
display: inline-block;
|
||||
transition-duration: $speed * 2;
|
||||
transition-property: box-shadow, transform;
|
||||
vertical-align: top;
|
||||
|
||||
&:hover {
|
||||
box-shadow: 0 1em 2em rgba(black, 0.1);
|
||||
transform: translateY(-0.5em);
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user