-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
98 lines (82 loc) · 1.56 KB
/
style.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
94
95
96
97
98
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
}
body {
min-height: 100vh;
display: flex;
justify-content: center;
background: black;
}
.container {
color: white;
max-width: 1000px;
padding: 4rem 1rem;
width: 100%;
}
.container > h1 {
font-size: 2rem;
margin-bottom: 1rem;
}
.container > h1 > span {
color: #ffe800;
}
.container > p {
font-size: 1.1rem;
margin-bottom: 1rem;
}
.container > hr {
margin-bottom: 1.5rem;
display: block;
height: 1px;
border: 0;
border-top: 2px solid #ffe800;
padding: 0;
}
.homeworks {
display: flex;
flex-direction: column;
gap: 1rem;
}
.homework {
background: #1c1c1c;
padding: 1.5rem;
border-radius: 10px;
}
.homework > h2 {
font-size: 1.5rem;
margin-bottom: 0.5rem;
color: #ffe800;
}
.homework > p {
font-size: 1rem;
margin-bottom: 1rem;
}
.homework > .links {
margin-top: 1rem;
display: flex;
gap: 0.5rem;
justify-content: flex-end;
}
.homework > .links > a {
color: black;
background: #ffe800;
padding: 0.5rem 1rem;
text-decoration: none;
font-size: 1.1rem;
transition: 0.2s;
}
.homework > .links > a:hover {
background: #ffe800aa;
}
.homework > .links > a.source {
background: #343434;
color: white;
}
.homework > .links > a.source:hover {
background: #343434aa;
color: rgba(255, 255, 255, 0.7);
}