File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 122122 </ nav >
123123</ header >
124124
125+ <!-- Theme toggle -->
126+ < div class ="theme-toggle-bar ">
127+ < div class ="theme-toggle " id ="theme-toggle " role ="group " aria-label ="Color theme ">
128+ < span class ="theme-toggle__label " id ="theme-label-dark "> 🌑 Dark</ span >
129+ < button class ="theme-toggle__track " id ="theme-toggle-btn " aria-label ="Toggle theme " title ="Toggle theme "> </ button >
130+ < span class ="theme-toggle__label " id ="theme-label-light "> ☀️ Light</ span >
131+ < span class ="theme-toggle__hint " id ="theme-hint "> Go dark, friend 😈</ span >
132+ </ div >
133+ </ div >
134+
125135<!-- ── HERO ────────────────────────────────────────────────────────────────── -->
126136< section class ="section-wrap " style ="padding-bottom:0; ">
127137 < div class ="animate-fade-up " style ="margin-bottom:16px; ">
140150 class ="link-accent "> Full specification ↗</ a >
141151 </ p >
142152
143- <!-- Theme toggle -->
144- < div class ="animate-fade-up delay-3 " style ="display:flex;align-items:center;justify-content:flex-end;margin-bottom:12px; ">
145- < div class ="theme-toggle " id ="theme-toggle " role ="group " aria-label ="Color theme ">
146- < span class ="theme-toggle__label " id ="theme-label-dark "> 🌑 Dark</ span >
147- < button class ="theme-toggle__track " id ="theme-toggle-btn " aria-label ="Toggle theme " title ="Toggle theme "> </ button >
148- < span class ="theme-toggle__label " id ="theme-label-light "> ☀️ Light</ span >
149- < span class ="theme-toggle__hint " id ="theme-hint "> Go dark, friend 😈</ span >
150- </ div >
151- </ div >
152-
153153 <!-- Mini converter -->
154- < div class ="animate-fade-up delay-4 ingr-right " id ="hero-grid "
154+ < div class ="animate-fade-up delay-3 ingr-right " id ="hero-grid "
155155 style ="display:grid;gap:0;border:1px solid var(--border); ">
156156
157157 <!-- Input -->
Original file line number Diff line number Diff line change @@ -85,6 +85,14 @@ body { position: relative; z-index: 1; }
8585 backdrop-filter : blur (12px );
8686 z-index : 50 ;
8787}
88+ .theme-toggle-bar {
89+ display : flex;
90+ align-items : center;
91+ justify-content : flex-end;
92+ padding : 8px 32px 0 ;
93+ max-width : 1164px ;
94+ margin : 0 auto;
95+ }
8896.site-logo {
8997 font-family : var (--font-mono );
9098 font-size : 18px ;
You can’t perform that action at this time.
0 commit comments