-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path_glossary.scss
More file actions
100 lines (98 loc) · 1.92 KB
/
Copy path_glossary.scss
File metadata and controls
100 lines (98 loc) · 1.92 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
89
90
91
92
93
94
95
96
97
98
99
100
.section-glossary {
h2 {
margin: 0;
font-size: 23px;
font-weight: 700;
text-align: center;
+ {
p {
font-size: 18px;
font-weight: 400;
}
}
}
background-color: #ffe500;
color: #000;
background: #fff;
padding: 4rem 0;
.btn {
margin-right: 0;
}
}
.glossary-content {
border-top: 15px solid #ffe500;
overflow: hidden;
padding: 4rem 0 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;
}
}
.glossary-header {
background-size: cover;
z-index: 0;
background-image: url(./assets/images/glossary.jpg);
padding: 10rem 0;
color: #fff;
position: relative;
&:after {
content: '';
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6);
display: block;
position: absolute;
top: 0;
z-index: 0;
}
.container {
z-index: 1;
}
h2 {
text-align: center;
font-size: 23px;
font-weight: 700;
margin: 0;
color: #ffe500;
+ {
p {
font-size: 18px;
font-weight: 400;
}
}
}
}
@media (min-width: 768px) {
.glossary-header {
h2 {
font-size: 53px;
+ {
p {
font-size: 23px;
}
}
}
}
}
@media (min-width: 768px) {
.section-glossary {
h2 {
font-size: 53px;
+ {
p {
font-size: 23px;
}
}
}
}
}