-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
101 lines (85 loc) · 1.54 KB
/
style.css
File metadata and controls
101 lines (85 loc) · 1.54 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
101
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;500&display=swap');
body {
font-family: 'Nunito', sans-serif;
font-weight: bold;
background-color: #22223b;
margin: 20px;
border-radius: 20px;
}
* {
margin: 0;
}
nav {
display: flex;
padding: 14px;
padding-bottom: 10px;
box-sizing: border-box;
border-radius: inherit;
justify-content: space-between;
align-items: center;
background-color: #4a4e69;
color: white;
}
nav a {
font-size: 24px;
text-decoration: none;
color: inherit;
}
nav a::after {
position:relative;
display: block;
content: "";
width: 0%;
left: 50%;
height: 4px;
opacity: 0;
border-radius: 2px;
background-color: #fff;
transition: 0.2s;
}
a:hover::after {
width: 100%;
left: 0%;
opacity: 1;
}
.Question {
margin: 10px 0px;
display: flex;
flex-direction: column;
box-sizing: border-box;
width: 100%;
color: white;
padding: 20px 20px;
height: fit-content;
border-radius: inherit;
background-color: #4a4e69;
}
.Question h1 {
font-weight: 300;
white-space: pre-line;
}
.Question h2 {
font-weight: 500;
font-size: 20px;
white-space: pre-line;
}
.Question h1::after {
display: block;
content: "";
width: 100%;
height: 4px;
background-color: white;
margin: 20px 0px;
}
img {
transition: 0.2s;
}
img:hover {
filter: opacity(0.5);
}
.buttons{
display: flex;
flex-direction: row;
gap: 20px;
color: white;
}