-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
70 lines (56 loc) · 1.08 KB
/
style.css
File metadata and controls
70 lines (56 loc) · 1.08 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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: var(--primary-color);
color: var(--secondary-color);
transition: background-color 0.3s ease, color 0.3s ease;
}
h1 {
text-align: center;
}
.buttons {
display: flex;
margin:auto;
justify-content: space-between;
align-items: center;
padding: 20px 0;
}
ul {
flex:1;
list-style-type: none;
text-align: center;
}
li {
font-size: 20px;
display: inline-block;
margin-bottom: 10px;
padding: 10px;
}
a {
display: flex;
background-color: var(--primary-color);
color: var(--secondary-color) ;
text-decoration: none;
border-radius: 4px;
transition: background-color 0.3s;
}
a:hover {
background-color: var(--secondary-color);
color: var(--primary-color);
}
#bulb {
position: absolute;
top: 20px;
right: 20px;
font-size: 24px;
cursor: pointer;
}
:root{
--primary-color: #edf2fc;
--secondary-color: #212121;
}
.dark-theme{
--primary-color: #212121;
--secondary-color: #edf2fc;
}