-
Notifications
You must be signed in to change notification settings - Fork 0
/
slide.css
93 lines (92 loc) · 2.05 KB
/
slide.css
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
body {
background-color: #000;
margin: 0;
}
.overlay {
position: absolute;
width: 100%;
height: 100%;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(to bottom, rgba(14, 29, 51, 0.8), rgba(14, 29, 51, 0.2));
}
.hero-slider {
width: 100%;
height: 100vh;
overflow: hidden;
}
.hero-slider .carousel-cell {
width: 100%;
height: 100%;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
.hero-slider .carousel-cell .inner {
position: relative;
top: 50%;
transform: translateY(-50%);
color: white;
text-align: center;
}
.hero-slider .carousel-cell .inner .subtitle {
font-family: 'Roboto Slab', serif;
font-size: 2.2rem;
line-height: 1.2em;
font-weight: 200;
font-style: italic;
letter-spacing: 3px;
color: rgba(255, 255, 255, 0.5);
margin-bottom: 5px;
}
.hero-slider .carousel-cell .inner .title {
font-family: 'Montserrat', sans-serif;
font-size: 3rem;
line-height: 1.2em;
text-transform: uppercase;
letter-spacing: 3px;
margin-bottom: 40px;
}
.hero-slider .carousel-cell .inner .btn {
border: 1px solid #fff;
padding: 14px 18px;
text-transform: uppercase;
font-family: 'Montserrat', sans-serif;
font-size: 0.8rem;
letter-spacing: 3px;
color: #fff;
text-decoration: none;
transition: all 0.2s ease;
}
.hero-slider .carousel-cell .inner .btn:hover {
background: #fff;
color: #000;
}
.hero-slider .flickity-prev-next-button {
width: 80px;
height: 80px;
background: transparent;
}
.hero-slider .flickity-prev-next-button:hover {
background: transparent;
}
.hero-slider .flickity-prev-next-button .arrow {
fill: white;
}
.hero-slider .flickity-page-dots {
bottom: 30px;
}
.hero-slider .flickity-page-dots .dot {
width: 30px;
height: 4px;
opacity: 1;
background: rgba(255, 255, 255, 0.5);
border: 0 solid white;
border-radius: 0;
}
.hero-slider .flickity-page-dots .dot.is-selected {
background: #f00;
border: 0 solid #f00;
}