@@ -18,34 +18,51 @@ body.dark-mode {
1818 background-color : # 111 ;
1919 color : # eee ;
2020}
21+
2122body .dark-mode a {
2223 color : # 111 ;
2324}
25+
2426body .dark-mode button {
2527 background-color : # eee ;
2628 color : # 111 ;
2729}
28- body .dark-mode h4 {
30+
31+ body .dark-mode h4 {
2932 color : # eee ;
3033}
31- body .dark-mode svg {
34+
35+ body .dark-mode svg {
3236 fill : # fff ;
3337 color : # 151513 ;
3438}
39+
40+ body .dark-mode input {
41+ color : white;
42+ }
43+
44+ body .light-mode input {
45+ color : # 111 ;
46+ }
47+
3548body .light-mode {
3649 background-color : # eee ;
3750 color : # 111 ;
3851}
52+
3953body .light-mode a {
4054 color : # 111 ;
4155}
56+
4257body .light-mode button {
4358 background-color : # 111 ;
4459 color : # eee ;
4560}
61+
4662body .light-mode h4 {
4763 color : # 111 ;
4864}
65+
4966body .light-mode svg {
5067 fill : # 151513 ;
5168 color : # fff ;
@@ -56,30 +73,36 @@ body.light-mode svg {
5673.github-corner : hover .octo-arm {
5774 animation : octocat-wave 560ms ease-in-out;
5875}
76+
5977@keyframes octocat-wave {
78+
6079 0% ,
6180 100% {
6281 transform : rotate (0 );
6382 }
83+
6484 20% ,
6585 60% {
6686 transform : rotate (-25deg );
6787 }
88+
6889 40% ,
6990 80% {
7091 transform : rotate (10deg );
7192 }
7293}
94+
7395@media (max-width : 500px ) {
7496 .github-corner : hover .octo-arm {
7597 animation : none;
7698 }
99+
77100 .github-corner .octo-arm {
78101 animation : octocat-wave 560ms ease-in-out;
79102 }
80103}
81104
82- .toggleButton {
105+ .toggleButton {
83106 position : absolute;
84107 top : 0 ;
85108 margin : 10px 3px 3px 10px ;
106129@media only screen and (max-width : 658px ) {
107130
108131 h1 {
109- font-size : 1.8em ;
110- padding : 32px 40px ;
132+ font-size : 1.8em ;
133+ padding : 32px 40px ;
111134 }
112135
113136}
@@ -141,33 +164,33 @@ a:visited {
141164 width : 90% ;
142165 height : 100% ;
143166 background-color : rgba (0 , 0 , 0 , 0.4 );
144- box-shadow : 0 0 transparent, 0 0 transparent, 0 0 transparent, 0 0 transparent, 0 2px 3px 0 rgba (0 , 0 , 0 , 0.15 ), 0 1px 2px 0 rgba (0 , 0 , 0 , 0.06 );
167+ box-shadow : 0 0 transparent, 0 0 transparent, 0 0 transparent, 0 0 transparent, 0 2px 3px 0 rgba (0 , 0 , 0 , 0.15 ), 0 1px 2px 0 rgba (0 , 0 , 0 , 0.06 );
145168 border-radius : 10px ;
146169 transition : transform .3s ease-in-out 0s ;
147170}
148171
149- .item : hover {
172+ .item : hover {
150173 transform : scale3d (1.05 , 1.05 , 1 );
151174 /* border: 1px solid #ffffff; */
152175 filter : drop-shadow (10px );
153176 filter : contrast (110% );
154177}
155178
156- .item h4 {
179+ .item h4 {
157180 font-size : 1.3rem ;
158181 text-align : center;
159182}
160183
161- .main {
184+ .main {
162185 width : 90vw ;
163186 display : grid;
164- grid-template-columns : repeat (auto-fit, minmax (320px , 1fr ));
187+ grid-template-columns : repeat (auto-fit, minmax (320px , 1fr ));
165188 grid-gap : 24px ;
166189 row-gap : 24px ;
167190 margin : auto;
168191}
169192
170- .main a {
193+ .main a {
171194 text-decoration : none;
172195}
173196
@@ -197,24 +220,47 @@ footer a:visited {
197220}
198221
199222.scrollToTop {
200- position : fixed;
201- right : 10px ;
202- bottom : 10px ;
203- cursor : pointer;
204- width : 40px ;
205- height : 40px ;
206- background-color : # 5520b6 ;
207- border-radius : 50% ;
223+ position : fixed;
224+ right : 10px ;
225+ bottom : 10px ;
226+ cursor : pointer;
227+ width : 40px ;
228+ height : 40px ;
229+ background-color : # 5520b6 ;
230+ border-radius : 50% ;
208231}
232+
209233.scrollToTop span {
210- position : absolute;
211- top : 50% ;
212- left : 50% ;
213- margin-left : -8px ;
214- margin-top : -12px ;
215- border : 8px solid transparent;
216- border-bottom-color : white;
234+ position : absolute;
235+ top : 50% ;
236+ left : 50% ;
237+ margin-left : -8px ;
238+ margin-top : -12px ;
239+ border : 8px solid transparent;
240+ border-bottom-color : white;
217241}
242+
218243.scrollToTop : hover {
219- background-color : # 5836D8 ;
244+ background-color : # 5836D8 ;
220245}
246+
247+ input {
248+ border-radius : 3rem ;
249+ padding : 10px ;
250+ border-color : grey;
251+ width : 15% ;
252+ position : absolute;
253+ top : 6.5% ;
254+ right : 7% ;
255+ background : transparent;
256+ }
257+
258+ @media (max-width : 1000px ) {
259+ input {
260+ position : relative;
261+ align-items : center;
262+ margin-bottom : 3% ;
263+ left : 35% ;
264+ width : 25%
265+ }
266+ }
0 commit comments