File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -257,13 +257,21 @@ body {
257257}
258258
259259/* ---- Back to top button ---- */
260- # backToTop {
260+ # backToTopWrap {
261261 position : fixed;
262262 bottom : 24px ;
263- right : 24px ;
263+ left : 0 ;
264+ right : 0 ;
264265 z-index : 99 ;
265- width : 40px ;
266- height : 40px ;
266+ pointer-events : none;
267+ }
268+
269+ # backToTop {
270+ position : absolute;
271+ right : 0 ;
272+ bottom : 0 ;
273+ width : 34px ;
274+ height : 34px ;
267275 border-radius : 50% ;
268276 border : 1.5px solid var (--border-hover );
269277 background : var (--bg-surface );
@@ -287,6 +295,7 @@ body {
287295 color : var (--accent );
288296}
289297
298+
290299/* ---- Theme toggle button ---- */
291300# themeToggle {
292301 position : absolute;
Original file line number Diff line number Diff line change 1414
1515< body >
1616
17- < button id ="backToTop " aria-label ="Back to top "> ↑</ button >
17+ < div id ="backToTopWrap ">
18+ < div class ="container ">
19+ < div class ="row ">
20+ < div class ="col-12 ">
21+ < button id ="backToTop " aria-label ="Back to top "> ↑</ button >
22+ </ div >
23+ </ div >
24+ </ div >
25+ </ div >
1826
1927 < div id ="stickyHeader ">
2028 < div class ="sticky-inner ">
@@ -91,6 +99,7 @@ <h4>Geospatial & Health Data Systems Engineer</h4>
9199 window . scrollTo ( { top : 0 , behavior : 'smooth' } ) ;
92100 } ) ;
93101
102+
94103 // --------------- Theme Toggle ----------------
95104 const $html = $ ( 'html' ) ;
96105 const systemDark = window . matchMedia ( '(prefers-color-scheme: dark)' ) ;
You can’t perform that action at this time.
0 commit comments