diff --git a/src/app/[locale]/turniirid/cs2/page.tsx b/src/app/[locale]/turniirid/cs2/page.tsx index 06df301..4ed6035 100644 --- a/src/app/[locale]/turniirid/cs2/page.tsx +++ b/src/app/[locale]/turniirid/cs2/page.tsx @@ -4,7 +4,6 @@ import RulesContent from "@/components/RulesContent"; import RulesLastChanged from "@/components/RulesLastChanged"; import Link from "next/link"; import { getTranslations, setRequestLocale } from "next-intl/server"; -import '../style.css' const sectionKeys = [ { id: "intro", labelKey: "cs2page.nav.intro" }, @@ -33,7 +32,7 @@ export default async function CS2Tournament({ return (
-
+
{/* Main content */}
{/* Header */} diff --git a/src/app/[locale]/turniirid/lol/page.tsx b/src/app/[locale]/turniirid/lol/page.tsx index ae3836b..ab43c33 100644 --- a/src/app/[locale]/turniirid/lol/page.tsx +++ b/src/app/[locale]/turniirid/lol/page.tsx @@ -4,7 +4,6 @@ import RulesContent from "@/components/RulesContent"; import RulesLastChanged from "@/components/RulesLastChanged"; import Link from "next/link"; import { getTranslations, setRequestLocale } from "next-intl/server"; -import '../style.css'; const sectionKeys = [ { id: "intro", labelKey: "lolpage.nav.intro" }, @@ -30,9 +29,9 @@ export default async function LoLTournament({ })); return ( -
+
-
+
{/* Main content */}
{/* Header */} diff --git a/src/app/[locale]/turniirid/style.css b/src/app/[locale]/turniirid/style.css deleted file mode 100644 index b6f0abb..0000000 --- a/src/app/[locale]/turniirid/style.css +++ /dev/null @@ -1,21 +0,0 @@ -p, li { - color: #ffffff; - text-align: justify; -} - -@media (min-width: 640px) { -p, li { - font-size: 0.875rem; - } -} - -@media (min-width: 1024px) { -p, li { - font-size: 1.25rem; - } -} - -ol { - color: #ffffff; - list-style-position: inside; -} \ No newline at end of file diff --git a/src/app/globals.css b/src/app/globals.css index 7c075ad..4143ae7 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -213,3 +213,28 @@ body { will-change: auto; } } + +.tournament-page-scope p, +.tournament-page-scope li { + color: #ffffff; + text-align: justify; +} + +@media (min-width: 640px) { + .tournament-page-scope p, + .tournament-page-scope li { + font-size: 0.875rem; + } +} + +@media (min-width: 1024px) { + .tournament-page-scope p, + .tournament-page-scope li { + font-size: 1.25rem; + } +} + +.tournament-page-scope ol { + color: #ffffff; + list-style-position: inside; +} \ No newline at end of file