diff --git a/src/layouts/InternalLayout.astro b/src/layouts/InternalLayout.astro index 1f13115..0a628d3 100644 --- a/src/layouts/InternalLayout.astro +++ b/src/layouts/InternalLayout.astro @@ -11,7 +11,7 @@ interface Props { const { title, description, keywords } = Astro.props; --- -
+
diff --git a/src/pages/index.astro b/src/pages/index.astro index 3a48b8e..983e229 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -12,7 +12,7 @@ const articles = allArticles.map((a) => ({ })); --- -
+

Антон Вахрушев

Я веб-программист. @@ -27,12 +27,16 @@ const articles = allArticles.map((a) => ({

-
diff --git a/src/styles/global.css b/src/styles/global.css index 400d44d..7586d56 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -8,14 +8,15 @@ --color-link: #0366d6; --color-rule: #e6e6e6; - --width-content: 740px; + --max-width-content: 740px; + --breakpoint-content: 740px; } @layer base { html { font-size: 20px; - @media (max-width: theme(--width-content)) { + @media (max-width: theme(--breakpoint-content)) { font-size: 18px; } }