-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
86 lines (74 loc) · 1.56 KB
/
styles.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
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
* {
--default-background: #141b25;
--default-text: #e1e6ed;
--default-accent: #3f81df;
--default-link: #6099e9;
background-color: var(--default-background);
color: var(--default-text);
font-family: "Open Sans", sans-serif;
margin: 4%;
justify-content: center;
}
strong,
span,
a,
i,
br {
margin: 0;
}
/* Tooltip container */
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted var(--default-text); /* If you want dots under the hoverable text */
}
/* Tooltip text */
.tooltip .tooltiptext {
visibility: hidden;
width: 200px;
background-color: #222830ef;
backdrop-filter: blur(6px);
color: #fff;
text-align: left;
padding: 15px;
border: 0.5px solid grey;
border-radius: 5px;
/* Position the tooltip text - see examples below! */
position: absolute;
z-index: 1;
}
/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
visibility: visible;
}
h1,
h2,
a,
br {
color: var(--default-accent);
background-color: transparent;
}
.subheading-img {
object-fit: cover;
overflow: hidden;
width: 100%;
margin: auto;
height: 300px;
}
.subheading-container {
position: relative;
}
.subheading {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 10px;
background-color: #242424cc;
text-align: center;
width: 75%;
}
.quiz {
object-fit: cover;
}