File tree Expand file tree Collapse file tree 4 files changed +41
-4
lines changed
Expand file tree Collapse file tree 4 files changed +41
-4
lines changed Original file line number Diff line number Diff line change 5454 </ div >
5555 < div class ="menu-item ">
5656 < a href ="# " class ="theme-switcher ">
57+ < span class ="theme-switcher-title "> Theme</ span >
5758 < span class ="icon light ">
5859 < svg data-slot ="icon " fill ="none " stroke-width ="1.5 " stroke ="currentColor " viewBox ="0 0 24 24 " xmlns ="http://www.w3.org/2000/svg " aria-hidden ="true ">
5960 < path stroke-linecap ="round " stroke-linejoin ="round " d ="M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z "> </ path >
Original file line number Diff line number Diff line change 4949 </ a >
5050 </ div >
5151 </ div >
52+ < div class ="menu-item ">
53+ < a href ="# " class ="theme-switcher ">
54+ < span class ="theme-switcher-title "> Theme</ span >
55+ < span class ="icon light ">
56+ < svg data-slot ="icon " fill ="none " stroke-width ="1.5 " stroke ="currentColor " viewBox ="0 0 24 24 " xmlns ="http://www.w3.org/2000/svg " aria-hidden ="true ">
57+ < path stroke-linecap ="round " stroke-linejoin ="round " d ="M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z "> </ path >
58+ </ svg >
59+ </ span >
60+ < span class ="icon dark ">
61+ < svg data-slot ="icon " fill ="none " stroke-width ="1.5 " stroke ="currentColor " viewBox ="0 0 24 24 " xmlns ="http://www.w3.org/2000/svg " aria-hidden ="true ">
62+ < path stroke-linecap ="round " stroke-linejoin ="round " d ="M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z "> </ path >
63+ </ svg >
64+ </ span >
65+ </ a >
66+ </ div >
5267 </ div >
5368 < div class ="burger ">
5469 < a href ="# " id ="menu-switcher "> < span > </ span > < span > </ span > < span > </ span > </ a >
Original file line number Diff line number Diff line change @@ -52,10 +52,30 @@ nav {
5252
5353 @include media (" min" , " lg" ) {
5454 display : flex ;
55- gap : 1rem ;
5655 align-items : center ;
5756 }
5857
58+ .menu-item {
59+ padding-right : 1rem ;
60+
61+ & :last-child {
62+ padding-right : 0 ;
63+ }
64+
65+ .theme-switcher {
66+ display : flex ;
67+ align-items : center ;
68+ }
69+
70+ .theme-switcher-title {
71+ margin-right : 0.5rem ;
72+
73+ @include media (" min" , " lg" ) {
74+ display : none ;
75+ }
76+ }
77+ }
78+
5979 a {
6080 font-size : 1.25rem ;
6181 display : block ;
@@ -197,14 +217,13 @@ nav {
197217 .socials {
198218 display : flex ;
199219 align-items : center ;
200- gap : 1rem ;
220+ margin-right : 1rem ;
201221
202222 @include media (" max" , " lg" ) {
203223 position : absolute ;
204224 left : 0 ;
205225 bottom : 1rem ;
206226 width : 100% ;
207- gap : 1.5rem ;
208227 justify-content : center ;
209228 }
210229
Original file line number Diff line number Diff line change 88
99 @include media (" min" , " lg" ) {
1010 display : flex ;
11- gap : 1rem ;
1211 }
1312
1413 .editor {
1918 height : 30rem ;
2019 padding : 0 ;
2120 border : none ;
21+ @include media (" min" , " lg" ) {
22+ margin-right : 1rem ;
23+ }
2224
2325 .input , .output {
2426 box-sizing : border-box ;
You can’t perform that action at this time.
0 commit comments