-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
102 lines (102 loc) · 1.72 KB
/
styles.css
File metadata and controls
102 lines (102 loc) · 1.72 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
102
html,
body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
overflow: hidden;
font-family: "Roboto", sans-serif;
transition: background-color 0.3s, color 0.3s;
}
textarea {
position: absolute;
tab-size: 4;
top: 0;
left: 0;
width: calc(100% - 50px);
height: calc(100% - 50px);
margin: 25px;
border: none;
outline: none;
resize: none;
font-size: 24px;
padding: 0;
box-sizing: border-box;
background-color: transparent;
color: inherit;
}
.dark-mode {
background-color: black;
color: white;
}
.options-menu {
position: absolute;
top: 0px;
right: 0px;
height: 25px;
width: 80px;
padding: 0px 0px 20px 20px;
gap: 8px;
opacity: 0.33;
transition: opacity 0.3s;
border-radius: 25px;
}
.options-menu:hover,
.options-menu:has(*:focus) {
opacity: 1;
}
.toggle-container {
position: absolute;
top: 5px;
right: 5px;
height: 25px;
width: 50px;
border-radius: 25px;
background-color: #ffc100;
transition: background-color 0.3s;
cursor: pointer;
}
.toggle-circle {
position: absolute;
top: 2px;
left: 2px;
width: 21px;
height: 21px;
border-radius: 50%;
background-color: white;
transition: transform 0.3s;
}
.toggle-container.dark-mode {
background-color: #3d007c;
}
.toggle-container.dark-mode .toggle-circle {
transform: translateX(25px);
background-color: black;
}
.icon {
position: absolute;
font-size: 16px;
line-height: 25px;
width: 21px;
text-align: center;
transition: opacity 0.3s;
opacity: 1;
user-select: none;
cursor: pointer;
}
.icon.sun {
left: 2px;
}
.icon.moon {
right: 2px;
opacity: 0;
}
.toggle-container.dark-mode .icon.sun {
opacity: 0;
}
.toggle-container.dark-mode .icon.moon {
opacity: 1;
}
.icon.dl {
top: 5.5px;
}