-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.scss
48 lines (39 loc) · 912 Bytes
/
styles.scss
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
@import './styles/index.scss';
.main_index {
display: flex;
flex-flow: column nowrap;
justify-content: space-evenly;
align-items: center;
padding-top: 5rem;
.main_index__anchor {
display: flex;
flex-flow: column nowrap;
align-items: center;
padding-bottom: 10px;
&:last-child {
padding-bottom: 0px;
}
img {
margin: 0 auto;
height: 300px;
}
}
}
// Medium devices (tablets, 576px until 768px)
@media (min-width: $sm-width) and (max-width: $md-width) {
.main_index {
flex-flow: row wrap;
.main_index__anchor {
flex: 0 1 40%;
}
}
}
// Large devices (desktop, 768px and up)
@media (min-width: $md-width) {
.main_index {
flex-flow: row wrap;
.main_index__anchor {
flex: 0 1 auto;
}
}
}