|
30 | 30 | <title>Python Mini Projects — Interactive Web Edition</title> |
31 | 31 | <link href="assets/favicon.svg" rel="icon" type="image/svg+xml" /> |
32 | 32 | <link rel="manifest" href="manifest.json" /> |
33 | | - <link href="css/styles.css?v=2" rel="stylesheet" /> |
| 33 | + <link href="css/styles.css?v=3" rel="stylesheet" /> |
34 | 34 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" |
35 | 35 | integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==" |
36 | 36 | crossorigin="anonymous" referrerpolicy="no-referrer" /> |
|
170 | 170 | <button aria-label="Switch theme" class="theme-toggle" id="sidebarThemeToggle" type="button"> |
171 | 171 | <i class="fas fa-moon" aria-hidden="true"></i> |
172 | 172 | </button> |
173 | | - <div class="theme-selector"> |
174 | | - <span class="theme-selector-label">Appearance</span> |
175 | | - <button id="themeModePicker" class="theme-picker" type="button" aria-haspopup="listbox" |
176 | | - aria-expanded="false"> |
177 | | - <span class="theme-picker-value">Auto (System)</span> |
178 | | - <i class="fas fa-chevron-down theme-picker-chevron" aria-hidden="true"></i> |
179 | | - </button> |
180 | | - <ul id="themeModeMenu" class="theme-picker-menu" role="listbox" aria-label="Theme mode options"> |
181 | | - <li role="option" class="theme-picker-option" data-value="auto" aria-selected="true"> |
182 | | - Auto (System) |
183 | | - </li> |
184 | | - <li role="option" class="theme-picker-option" data-value="light" aria-selected="false"> |
185 | | - Light |
186 | | - </li> |
187 | | - <li role="option" class="theme-picker-option" data-value="dark" aria-selected="false"> |
188 | | - Dark |
189 | | - </li> |
190 | | - </ul> |
191 | | - </div> |
| 173 | + </div> |
| 174 | + <div class="theme-selector"> |
| 175 | + <span class="theme-selector-label">Appearance</span> |
| 176 | + <button id="themeModePicker" class="theme-picker" type="button" aria-haspopup="listbox" |
| 177 | + aria-expanded="false"> |
| 178 | + <span class="theme-picker-value">Auto (System)</span> |
| 179 | + <i class="fas fa-chevron-down theme-picker-chevron" aria-hidden="true"></i> |
| 180 | + </button> |
| 181 | + <ul id="themeModeMenu" class="theme-picker-menu" role="listbox" aria-label="Theme mode options"> |
| 182 | + <li role="option" class="theme-picker-option" data-value="auto" aria-selected="true"> |
| 183 | + Auto (System) |
| 184 | + </li> |
| 185 | + <li role="option" class="theme-picker-option" data-value="light" aria-selected="false"> |
| 186 | + Light |
| 187 | + </li> |
| 188 | + <li role="option" class="theme-picker-option" data-value="dark" aria-selected="false"> |
| 189 | + Dark |
| 190 | + </li> |
| 191 | + </ul> |
192 | 192 | </div> |
193 | 193 |
|
194 | 194 | <button aria-label="Toggle Sidebar" class="collapse-sidebar-btn" id="sidebarCollapseBtn" type="button"> |
@@ -630,7 +630,7 @@ <h3>Stay Updated</h3> |
630 | 630 | <script defer src="js/projects.js?v=4"></script> |
631 | 631 | <script defer src="js/cm-editor.js"></script> |
632 | 632 | <script defer src="js/playground.js"></script> |
633 | | - <script defer type="module" src="js/main.js?v=2"></script> |
| 633 | + <script defer type="module" src="js/main.js?v=3"></script> |
634 | 634 | <script defer src="js/hero-canvas.js"></script> |
635 | 635 | <script defer src="js/projects/war-card-game.js"></script> |
636 | 636 | <script defer src="js/projects/number-sliding-puzzle.js"></script> |
@@ -1282,7 +1282,7 @@ <h3>${project.title}</h3> |
1282 | 1282 | })(); |
1283 | 1283 | </script> |
1284 | 1284 |
|
1285 | | - //THEME TOGGLE |
| 1285 | + <!-- THEME TOGGLE --> |
1286 | 1286 | <script> |
1287 | 1287 | (function () { |
1288 | 1288 | const html = document.documentElement; |
|
0 commit comments