-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathmodules.scss
61 lines (60 loc) · 1.6 KB
/
modules.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
49
50
51
52
53
54
55
56
57
58
59
60
61
.main-slideshow {
.swiper-slide {
img {
max-width: 100%;
height: auto;
}
.slide-caption {
position: absolute;
right: 2rem ;
bottom: 2rem;
width: rem-calc(280);
padding: 1rem;
z-index: 1;
font-family: $font-alt;
background-color: $primary-color;
h3 {
font-weight: bold;
font-family: $font-alt;
font-size: 1.9rem;
letter-spacing: -1px;
text-transform: uppercase;
}
p {
margin-bottom: 0;
font-size: .9rem;
}
.slide-caption-btn {
display: inline-block;
float: right;
padding: .2rem .5rem;
margin-top: .9rem;
text-decoration: none;
text-align: center;
line-height: 26px;
color: $white !important;
font-size: 0.85rem;
background-color: $alert-color;
&:hover {
background-color: lighten($alert-color, 10);
}
}
}
}
}
.block-section {
.block {
position: relative;
padding: 1rem 1.5rem 3.8rem 1rem;
color: #fff;
&:first-child {
background-color: $alert-color;
}
&:nth-child(2) {
background-color: $secondary-color;
}
&:last-child {
background-color: $success-color;
}
}
}