-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
42 lines (36 loc) · 804 Bytes
/
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
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');
:root {
--dark-bg: #2b2d42;
--dark-text: #edf2f4;
--light-bg: #edf2f4;
--light-text: #2b2d42;
}
body {
font-family: 'Source Code Pro', monospace;
background: var(--light-bg);
color: var(--light-text);
transition: all 0.5s ease;
}
.dark-theme {
background: var(--dark-bg);
color: var(--dark-text);
}
.light-theme {
background: var(--light-bg);
color: var(--light-text);
}
.toggle-theme-btn {
position: fixed;
top: 20px;
right: 20px;
padding: 10px 20px;
background-color: #8d99ae;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.toggle-theme-btn:hover {
background-color: #4c5c68;
}