aboutsummaryrefslogtreecommitdiff
path: root/src/routes/+layout.svelte
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-12-15 02:46:41 -0800
committerFuwn <[email protected]>2025-12-15 02:46:41 -0800
commit4033679ef214601e5445e2398b9835c118ba2157 (patch)
tree8bc6215e1679cbd04e5616fc6f2c750cfdba5eb9 /src/routes/+layout.svelte
parentfeat(Wrapped): Add detailed activity fetcher toggle (diff)
downloaddue.moe-4033679ef214601e5445e2398b9835c118ba2157.tar.xz
due.moe-4033679ef214601e5445e2398b9835c118ba2157.zip
format: Apply Prettier formatting
Diffstat (limited to 'src/routes/+layout.svelte')
-rw-r--r--src/routes/+layout.svelte30
1 files changed, 8 insertions, 22 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 09221c99..90f804ac 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -61,10 +61,10 @@
$: way = data.url.includes('/user')
? 200
: $previousPage && $previousPage.includes('/user')
- ? -200
- : navigationOrder.indexOf(data.url) > navigationOrder.indexOf($previousPage ?? '/')
- ? 200
- : -200;
+ ? -200
+ : navigationOrder.indexOf(data.url) > navigationOrder.indexOf($previousPage ?? '/')
+ ? 200
+ : -200;
const handleScroll = () => {
const currentScrollPosition = window.scrollY;
@@ -252,7 +252,7 @@
</div>
</div>
- <p></p>
+ <p />
<Notifications item={EventNotification} zIndex={5000}>
<Root {data} {way}>
@@ -273,19 +273,8 @@
<style lang="scss">
.header {
- font-family:
- 'DM Sans',
- system-ui,
- -apple-system,
- BlinkMacSystemFont,
- 'Segoe UI',
- Roboto,
- Oxygen,
- Ubuntu,
- Cantarell,
- 'Open Sans',
- 'Helvetica Neue',
- sans-serif;
+ font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
+ Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 1.05em;
font-weight: 600;
padding: 0.8rem 0.4rem;
@@ -341,10 +330,7 @@
display: inline-block;
vertical-align: middle;
border-radius: 8px;
- box-shadow:
- 0 1.5px 9px var(--base01),
- 0 0 0 4px var(--base0E),
- 0 4px 30px var(--base01);
+ box-shadow: 0 1.5px 9px var(--base01), 0 0 0 4px var(--base0E), 0 4px 30px var(--base01);
}
.separator {