mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
23 lines
417 B
SCSS
23 lines
417 B
SCSS
|
.bd-screenshots {
|
||
|
display: grid;
|
||
|
grid-gap: $block-spacing;
|
||
|
grid-template-columns: 1fr;
|
||
|
|
||
|
.bd-screenshot {
|
||
|
position: relative;
|
||
|
|
||
|
&:hover {
|
||
|
box-shadow: 0 1em 1em rgba(black, 0.1);
|
||
|
transform: translateY(-0.5em);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@include tablet {
|
||
|
.bd-screenshots {
|
||
|
grid-template-columns: repeat(auto-fill, minmax(336px, 1fr));
|
||
|
margin: 0 auto;
|
||
|
max-width: var(--container-width);
|
||
|
}
|
||
|
}
|