-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path_faq.scss
More file actions
88 lines (85 loc) · 1.73 KB
/
_faq.scss
File metadata and controls
88 lines (85 loc) · 1.73 KB
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
.section-faq {
h5 {
margin: 0;
border-bottom: 1px solid #efefef;
a {
display: block;
padding: 1rem 0;
color: #000;
font-weight: 700;
font-size: 1rem;
cursor: pointer;
}
+ {
div {
padding: 0;
p {
margin: 1rem 0 0;
}
}
}
}
}
.faq-header {
background-size: cover;
z-index: 0;
background-image: url(./assets/images/faq.jpg);
padding: 10rem 0;
color: #fff;
position: relative;
text-align: center;
&:after {
content: '';
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6);
display: block;
position: absolute;
top: 0;
z-index: -1;
}
h2 {
text-align: center;
font-size: 23px;
font-weight: 700;
margin: 0;
color: #ffe500;
+ {
p {
font-size: 18px;
font-weight: 400;
}
}
}
}
.faq-content {
border-top: 15px solid #ffe500;
overflow: hidden;
padding: 4rem 0;
position: relative;
&:before {
content: '';
display: block;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
left: 50%;
width: 40px;
height: 40px;
background-color: #ffe500;
position: absolute;
margin-left: -20px;
top: -20px;
}
}
@media (min-width: 768px) {
.faq-header {
h2 {
font-size: 53px;
+ {
p {
font-size: 23px;
}
}
}
}
}