14
14
.content {
15
15
padding : 100px ;
16
16
padding-top : 0 ;
17
- font-size : 250 % ;
17
+ font-size : 300 % ;
18
18
text-align : center;
19
19
}
20
20
21
21
.main {
22
+ position : absolute;
22
23
color : # 323232 ;
23
24
background-color : # faebd7 ;
24
25
transition : 200ms all ease;
25
- font-family : 'Gill Sans' , 'Gill Sans MT' , Calibri, 'Trebuchet MS' , sans-serif;
26
+ font-family : 'Gill Sans' , 'Gill Sans MT' , Calibri, 'Trebuchet MS' , sans-serif;
27
+ margin-top : -1% ;
28
+ margin-left : -1% ;
29
+ height : 165% ;
26
30
}
27
31
28
32
.sidebar {
49
53
50
54
51
55
.easter-egg-button {
52
- position : relative;
53
56
bottom : -450px ;
54
57
}
55
58
56
59
# sidebar-toggle {
57
60
display : none;
58
61
}
59
62
63
+ .sidebar-toggle-button ::before {
64
+ text-align : center;
65
+ content : "☰" ;
66
+ font-size : 100% ;
67
+ position : absolute;
68
+ top : 2% ;
69
+ left : 2% ;
70
+ width : 100px ;
71
+ height : 100px ;
72
+ background-color : white;
73
+ border-radius : 50% ;
74
+ z-index : 9999 ;
75
+ }
76
+
60
77
.sidebar-toggle-button {
61
78
position : fixed;
62
79
top : 2% ;
63
- left : 89 % ;
80
+ left : 88 % ;
64
81
cursor : pointer;
65
82
z-index : 9999 ;
66
83
user-select : none;
67
84
transition : 200ms ease all;
68
85
font-size : 72px ;
69
-
70
86
}
71
87
72
- # opened-hamburger-menu {
73
- opacity : 0 ;
74
- }
75
-
76
- # sidebar-toggle : checked ~ # opened-hamburger-menu {
77
- color : white;
78
- opacity : 1 ;
79
- }
80
-
81
- # sidebar-toggle : checked ~ # closed-hamburger-menu {
82
- opacity : 0 ;
83
- }
88
+ # sidebar-toggle : checked + .sidebar-toggle-button ::before {
89
+ content : "✕" ;
90
+ }
84
91
85
92
# sidebar-toggle : checked ~ .sidebar {
86
93
right : 0px ;
93
100
94
101
.theme-toggle-button ::before {
95
102
content : "☀️" ;
96
- font-size : 510% ;
103
+ font-size : 81.5px ;
104
+ text-align : center;
97
105
position : absolute;
98
106
top : 2% ;
99
107
left : 2% ;
102
110
background-color : white;
103
111
border-radius : 50% ;
104
112
transition : transform 200ms ;
113
+ z-index : 9999 ;
105
114
}
106
115
107
116
# theme-toggle {
117
126
}
118
127
119
128
# theme-toggle : checked ~ .main {
120
- background : radial-gradient (circle at center , # 051428, # 051428 92 % , # faebd7 70 % , # faebd7 ) ;
129
+ background : # 051428 ;
121
130
color : # faebd7 ;
122
131
}
123
132
124
133
# theme-toggle : checked ~ .sidebar {
125
134
background-color : # 102f1e ;
126
135
}
127
136
128
- .easter-egg {
129
- display : none;
137
+ # theme-toggle : checked ~ .sidebar-toggle-button {
138
+ color : white;
139
+ }
140
+
141
+ .easter-egg-button > img {
142
+ padding-top : 75% ;
143
+ }
144
+
145
+ @media (min-width : 1280px ) {
146
+ .theme-toggle-button ::before {
147
+ content : "☀️" ;
148
+ font-size : 225% ;
149
+ position : absolute;
150
+ top : 2% ;
151
+ left : 2% ;
152
+ width : 50px ;
153
+ height : 50px ;
154
+ background-color : white;
155
+ border-radius : 50% ;
156
+ transition : transform 200ms ;
157
+ z-index : 9999 ;
158
+ }
159
+
160
+ # sidebar-toggle : checked ~ .sidebar {
161
+ right : 0px ;
162
+ box-shadow : 0px 0px 0px 0px hsla (0 , 0% , 0% , 0 );
163
+ }
164
+
165
+ .sidebar {
166
+ text-align : center;
167
+ height : 100% ;
168
+ width : 12% ;
169
+ font-size : 150% ;
170
+ position : fixed;
171
+ top : 0 ;
172
+ background-color : MediumSeaGreen;
173
+ padding-top : 25px ;
174
+ right : 0% ;
175
+ transition : 200ms all ease;
176
+ }
177
+
178
+ .sidebar a {
179
+ display : block;
180
+ color : white;
181
+ padding : 35px ;
182
+ text-decoration : none;
183
+ transition : 200ms all;
184
+ font-family : 'Gill Sans' , 'Gill Sans MT' , Calibri, 'Trebuchet MS' , sans-serif;
185
+ white-space : nowrap;
186
+ }
187
+
188
+ .sidebar-toggle-button {
189
+ display : none;
190
+ }
191
+
192
+ # theme-toggle : checked ~ .main {
193
+ background : # 051428 ;
194
+ color : # faebd7 ;
195
+ }
196
+
197
+ .easter-egg-button > img {
198
+ max-width : 75% ;
199
+ padding-top : 225% ;
200
+ }
201
+
202
+ .main {
203
+ padding-top : 0 ;
204
+ right : 12% ;
205
+ }
206
+
207
+ .title {
208
+ font-size : 500% ;
209
+ font-weight : bold;
210
+ text-align : center;
211
+ padding : 2px ;
212
+ display : inline;
213
+ }
214
+
215
+ .content {
216
+ font-size : 200% ;
217
+ }
130
218
}
0 commit comments