/
expo.sass
56 lines (50 loc) · 1.04 KB
/
expo.sass
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.bd-expo
background-color: $scheme-main
padding: 1.5rem
.bd-website
display: block
position: relative
text-align: center
&:last-child
margin-bottom: 0
.bd-website-image
align-items: center
display: flex
justify-content: center
margin-bottom: 1.5rem
position: relative
// &:hover
// .bd-website-shadow
// opacity: 0
// .bd-website-overlay
// opacity: 0.25
.b-lazy
opacity: 0
transition: opacity 500ms $easing
.b-loaded
opacity: 1
.bd-website-shadow
border: 1px solid rgba(#000, 0.04)
transition: opacity 200ms $easing
.bd-website-overlay
background-color: $scheme-invert
opacity: 0
transition: opacity 200ms $easing
+mobile
.bd-website:not(:last-child)
margin-bottom: 1.5rem
+tablet
.bd-expo
padding-bottom: 3rem
padding-top: 3rem
.bd-websites
display: flex
flex-wrap: wrap
justify-content: space-between
.bd-website
margin-bottom: 3rem
width: calc(50% - 3rem)
&.bd-is-highlighted
width: 100%
.bd-website-image
margin-bottom: 3rem