From bf5075ed85bafd9c0b2b5e0a05df68a78b7da04f Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Thu, 28 Dec 2023 15:27:29 +0100 Subject: [PATCH] Increase font size + scale --- .../website/src/components/base/Section.astro | 9 +- .../src/components/base/navbar/Navbar.astro | 2 +- .../base/navbar/NavbarElement.astro | 2 +- .../src/pages/projects/oneconfig.astro | 158 +++++++++--------- apps/website/src/styles/global.css | 2 +- 5 files changed, 88 insertions(+), 85 deletions(-) diff --git a/apps/website/src/components/base/Section.astro b/apps/website/src/components/base/Section.astro index 092c069..d3edfcf 100644 --- a/apps/website/src/components/base/Section.astro +++ b/apps/website/src/components/base/Section.astro @@ -6,6 +6,7 @@ interface Props extends HTMLAttributes<'section'> { colReverse?: boolean wrapperClass?: string wFull?: boolean + hFull?: boolean } const { @@ -13,14 +14,16 @@ const { colReverse = true, wrapperClass = '', wFull = true, + hFull = false, ...props } = Astro.props; const twoColumn = Astro.slots.has('left') || Astro.slots.has('right'); -const className = `max-w-[${maxWidth}] ${wFull ? 'w-full' : `w-[${maxWidth}]`} px-5 md:p-0 flex gap-x-20 gap-y-4${ - twoColumn ? ` ${maxWidth === 'none' ? 'justify-center' : 'justify-between md:justify-evenly lg:justify-between'} ${colReverse ? 'flex-col-reverse' : 'flex-col'} md:flex-row items-center md:flex-row` : '' -}${props.class ? ` ${props.class}` : ''}`; +const twoColumnClasses = ` ${maxWidth === 'none' ? 'justify-center' : 'justify-center md:justify-evenly lg:justify-between'} + ${colReverse ? 'flex-col-reverse' : 'flex-col'} md:flex-row items-center md:flex-row`; + +const className = `max-w-[${maxWidth}] ${hFull ? 'min-h-screen' : 'h-auto'} ${wFull ? 'w-full' : `w-[${maxWidth}]`} px-5 md:p-0 flex gap-x-20 gap-y-4${twoColumn ? twoColumnClasses : ''}${props.class ? ` ${props.class}` : ''}`; ---
diff --git a/apps/website/src/components/base/navbar/Navbar.astro b/apps/website/src/components/base/navbar/Navbar.astro index 65b7473..aa31245 100644 --- a/apps/website/src/components/base/navbar/Navbar.astro +++ b/apps/website/src/components/base/navbar/Navbar.astro @@ -4,7 +4,7 @@ import config from 'config'; import NavbarElement from '../navbar/NavbarElement.astro'; --- -
+
-
- -
-
+
+ +
+ + -
+
A unified HUD editor
@@ -118,8 +120,8 @@ import { Code } from 'astro:components';
-
-
+
+
With many fabulous mods
Discover a wide range of mods integrated with OneConfig to enhance your experience. @@ -130,35 +132,33 @@ import { Code } from 'astro:components';
-
- - -
-
- - - - - - - - - - - - - - - - - - - - +
+
+ + + + + + + + + + + + + + + + + + + + +
-
+
-
+
diff --git a/apps/website/src/styles/global.css b/apps/website/src/styles/global.css index f98d574..59f7633 100644 --- a/apps/website/src/styles/global.css +++ b/apps/website/src/styles/global.css @@ -24,7 +24,7 @@ html, body { - @apply text-[15px] md:text-[16px]; + @apply text-[15px] md:text-[19px]; } a {