diff --git a/src/app.scss b/src/app.scss index da88763..8676ba5 100644 --- a/src/app.scss +++ b/src/app.scss @@ -75,4 +75,8 @@ body { .bg-blur { background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px); +} + +body { + overflow-x: hidden; } \ No newline at end of file diff --git a/src/lib/components/BlurredButton.svelte b/src/lib/components/BlurredButton.svelte index a506286..c41e2a5 100644 --- a/src/lib/components/BlurredButton.svelte +++ b/src/lib/components/BlurredButton.svelte @@ -10,8 +10,8 @@ background-color: transparent; color: white; box-shadow: - inset 0px 0px 2px 2px var(--btn-color), - 0px 0px 2px 2px var(--btn-color); + inset 0px 0px 4px 2px var(--btn-color), + 0px 0px 4px 2px var(--btn-color); border: 1px solid var(--btn-color); transition: all 0.3s ease; } diff --git a/src/lib/components/BlurredIconButton.svelte b/src/lib/components/BlurredIconButton.svelte index 13dcbe7..08961d4 100644 --- a/src/lib/components/BlurredIconButton.svelte +++ b/src/lib/components/BlurredIconButton.svelte @@ -14,11 +14,11 @@ diff --git a/src/routes/corsi/[slug]/+page.svelte b/src/routes/corsi/[slug]/+page.svelte index 12bcd8e..7ed5821 100644 --- a/src/routes/corsi/[slug]/+page.svelte +++ b/src/routes/corsi/[slug]/+page.svelte @@ -3,51 +3,56 @@ const { data } = $props(); -{#if data.corso} -
-
-
-

- {data.corso.titolo} - + {#if data.corso} +
+
+
+

+ {data.corso.titolo} + {data.corso.anno} -

-
-
-
-
-
-
-

{data.corso.descrizione}

+ >{data.corso.anno} +

+
- - {#if data.corso.gruppi && data.corso.gruppi.length > 0} -
+
-
- {#each data.corso.gruppi as gruppo, index} - - {/each} +
+

{data.corso.descrizione}

+ {#if data.corso.gruppi && data.corso.gruppi.length > 0} +
+
+
+ {#each data.corso.gruppi as gruppo, index} + + {/each} +
+
+
+ {/if} {/if} -{/if} +
diff --git a/src/routes/gruppi/[slug]/+page.svelte b/src/routes/gruppi/[slug]/+page.svelte index c10fa00..bd01142 100644 --- a/src/routes/gruppi/[slug]/+page.svelte +++ b/src/routes/gruppi/[slug]/+page.svelte @@ -59,8 +59,8 @@ {data.gruppo.corso.anno} @@ -86,7 +86,7 @@
STUDENTI
@@ -149,4 +149,9 @@ /*:global(.btn-blur) { --btn-color: #{data.gruppo.corso.colore}; }*/ + @media (max-width: 768px) { + .fs-big { + font-size: 3rem; + } + }