diff --git a/frontend/src/css/app.css b/frontend/src/css/app.css new file mode 100644 index 0000000..c71471a --- /dev/null +++ b/frontend/src/css/app.css @@ -0,0 +1,41 @@ + +:root { + --footer-height: calc(68px + 20px + 20px); + --accent-color: #213c8b; + --pianello-red: #de0e1b; + --pianello-yellow: #f6ae04; + --pianello-blue: #213c8b; + --card-background-color: #f9f4f1; +} + +* { + box-sizing: border-box; +} + +html { + width: 100%; + height: 100%; +} + +body { + width: 100%; + height: 100%; + margin: 0px; + background-color: #fff; + font-family: 'Roboto-Regular'; + display: grid; +} + +header, +main, +footer { + height: 100%; + width: 100%; + display: grid; + place-items: center; +} + +@font-face { + font-family: 'Roboto-Regular'; + src: url('/fonts/roboto/Roboto-Regular.ttf') format('TrueType'); +} \ No newline at end of file diff --git a/frontend/src/lib/components/BottomAppBar.svelte b/frontend/src/lib/components/BottomAppBar.svelte index 899563b..d339db0 100644 --- a/frontend/src/lib/components/BottomAppBar.svelte +++ b/frontend/src/lib/components/BottomAppBar.svelte @@ -18,11 +18,10 @@ position: fixed; bottom: 0; left: 0; - } #container { display: flex; - height: 68px; + height: 10vh; justify-content: center; width: 90%; border-radius: 90px; diff --git a/frontend/src/lib/components/Header.svelte b/frontend/src/lib/components/Header.svelte index cadea96..f2652a6 100644 --- a/frontend/src/lib/components/Header.svelte +++ b/frontend/src/lib/components/Header.svelte @@ -1,14 +1,12 @@ -{#if transparent} -
+
@@ -18,28 +16,20 @@
-{:else} -
- - - - - - -

Percorsi {title}

- -
-{/if} diff --git a/frontend/src/lib/components/Tabs.svelte b/frontend/src/lib/components/Tabs.svelte index 7e5204d..1a1eb0c 100644 --- a/frontend/src/lib/components/Tabs.svelte +++ b/frontend/src/lib/components/Tabs.svelte @@ -59,6 +59,7 @@ padding: 15px; border-bottom: 1px solid #eee; cursor: pointer; + } .tab { diff --git a/frontend/src/routes/routes/[slug]/+page.svelte b/frontend/src/routes/routes/[slug]/+page.svelte index ebba505..930356c 100644 --- a/frontend/src/routes/routes/[slug]/+page.svelte +++ b/frontend/src/routes/routes/[slug]/+page.svelte @@ -5,7 +5,7 @@ -
+
splash
@@ -21,10 +21,12 @@ #divider { background: white; margin-top: 0px; + margin-top: 20vh; } img { width: 100%; + height: 100%; position: absolute; z-index: -1; }