From 1368909b3cd552dbb0d12d5863c597f5be46177d Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 14 May 2024 13:56:28 +0800 Subject: updates --- src/css/style.css | 9 ++++++--- src/js/2dtilt.js | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/css/style.css b/src/css/style.css index 676eb1ce..82d8b177 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -346,10 +346,12 @@ header { position: fixed; top: 2rem; left: 0; - width: 75%; - margin-left: 12.5%; + /* width: 75%; */ + /* width: 100%; */ + /* max-width: fit-content; */ + /* margin-left: 12.5%; */ height: var(--topBarHeight); - justify-content: space-between; + /* justify-content: fit-content; */ align-items: center; text-align: center; /* background: color(0, 0, 0, .1); */ @@ -368,6 +370,7 @@ header { height: 100%; text-align: center; font-size: 2rem; + font-weight: 500; text-transform: capitalize; text-align: center; text-decoration: none; diff --git a/src/js/2dtilt.js b/src/js/2dtilt.js index 179b1d36..eba12f85 100644 --- a/src/js/2dtilt.js +++ b/src/js/2dtilt.js @@ -49,4 +49,4 @@ if (navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) requestAnimationFrame(tiltEffect); -}; \ No newline at end of file +}; -- cgit v1.2.3