From c0997e92d43fce6c20919c07c955213047828181 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Fri, 7 Jul 2023 11:29:33 +0100 Subject: [PATCH] Reformat --- .prettierrc | 2 +- src/app.css | 19 +-- src/lib/islands/input-island-form.svelte | 15 +- src/lib/islands/island.svelte | 3 +- src/lib/islands/overlay-island.svelte | 3 +- src/lib/islands/quick-link-island.svelte | 3 +- src/lib/islands/quick-link-set-island.svelte | 6 +- src/lib/ldb/alert-bar.svelte | 18 +-- src/lib/ldb/public-ldb.svelte | 141 ++++--------------- src/lib/ldb/staff-ldb.svelte | 45 ++---- src/lib/navigation/loading.svelte | 6 +- src/lib/navigation/nav-ldb.svelte | 18 +-- src/lib/overlays/welcome.svelte | 3 +- src/lib/stores/quick-links.js | 7 +- src/lib/train/train-detail.svelte | 19 +-- src/routes/+error.svelte | 10 +- src/routes/+layout.svelte | 5 +- src/routes/more/about/+page.svelte | 9 +- src/routes/more/corpus/+page.svelte | 41 +----- src/routes/more/data/+page.svelte | 18 +-- src/routes/more/privacy/+page.svelte | 55 ++------ src/routes/more/reasons/+page.svelte | 19 +-- src/routes/more/reg/+page.svelte | 43 ++---- src/routes/more/report/+page.svelte | 28 +--- src/routes/pis/+page.svelte | 24 +--- 25 files changed, 117 insertions(+), 443 deletions(-) diff --git a/.prettierrc b/.prettierrc index 6307b22..02869a6 100644 --- a/.prettierrc +++ b/.prettierrc @@ -4,7 +4,7 @@ "semi": true, "singleQuote": true, "trailingComma": "none", - "printWidth": 80, + "printWidth": 180, "plugins": ["prettier-plugin-svelte"], "pluginSearchDirs": ["."], "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }] diff --git a/src/app.css b/src/app.css index e968024..5faa7c0 100644 --- a/src/app.css +++ b/src/app.css @@ -1,32 +1,26 @@ /* FONTS */ @font-face { font-family: 'firamono'; - src: url('/font/firamono/firamono-regular.woff2') format('woff2'), - url('/font/firamono/firamono-regular.woff') format('woff'), + src: url('/font/firamono/firamono-regular.woff2') format('woff2'), url('/font/firamono/firamono-regular.woff') format('woff'), url('/font/firamono/firamono-regular.ttf') format('truetype'); font-weight: normal; font-style: normal; } @font-face { font-family: 'firamono'; - src: url('/font/firamono/firamono-500.woff2') format('woff2'), - url('/font/firamono/firamono-500.woff') format('woff'), - url('/font/firamono/firamono-500.ttf') format('truetype'); + src: url('/font/firamono/firamono-500.woff2') format('woff2'), url('/font/firamono/firamono-500.woff') format('woff'), url('/font/firamono/firamono-500.ttf') format('truetype'); font-weight: 500; font-style: normal; } @font-face { font-family: 'urwgothic'; - src: url('/font/urwgothic/urwgothic.woff2') format('woff2'), - url('/font/urwgothic/urwgothic.woff') format('woff'), - url('/font/urwgothic/urwgothic.ttf') format('truetype'); + src: url('/font/urwgothic/urwgothic.woff2') format('woff2'), url('/font/urwgothic/urwgothic.woff') format('woff'), url('/font/urwgothic/urwgothic.ttf') format('truetype'); font-weight: normal; font-style: normal; } @font-face { font-family: 'urwgothic'; - src: url('/font/urwgothic/urwgothicDemi.woff2') format('woff2'), - url('/font/urwgothic/urwgothicDemi.woff') format('woff'), + src: url('/font/urwgothic/urwgothicDemi.woff2') format('woff2'), url('/font/urwgothic/urwgothicDemi.woff') format('woff'), url('/font/urwgothic/urwgothicDemi.ttf') format('truetype'); font-weight: 900; font-style: normal; @@ -58,10 +52,7 @@ html { body { background-color: var(--main-bg-color); - background-image: radial-gradient( - var(--second-bg-color), - var(--main-bg-color) - ); + background-image: radial-gradient(var(--second-bg-color), var(--main-bg-color)); color: var(--second-text-color); font-family: urwgothic, sans-serif; text-align: center; diff --git a/src/lib/islands/input-island-form.svelte b/src/lib/islands/input-island-form.svelte index 5a65574..7505a6d 100644 --- a/src/lib/islands/input-island-form.svelte +++ b/src/lib/islands/input-island-form.svelte @@ -10,14 +10,7 @@
- +
@@ -32,8 +25,7 @@ border-radius: 50px; border: none; text-align: center; - font-family: urwgothic, 'Lucida Sans', 'Lucida Sans Regular', - 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; + font-family: urwgothic, 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; text-transform: uppercase; font-size: 15px; } @@ -44,8 +36,7 @@ border: none; border-radius: 20px; padding: 5px; - font-family: urwgothic, 'Lucida Sans', 'Lucida Sans Regular', - 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; + font-family: urwgothic, 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; font-size: 16px; font-weight: 400; background-color: var(--main-bg-color); diff --git a/src/lib/islands/island.svelte b/src/lib/islands/island.svelte index 2641ab2..098bb96 100644 --- a/src/lib/islands/island.svelte +++ b/src/lib/islands/island.svelte @@ -9,8 +9,7 @@