From 22ff72f4a8ecec3fc1756d98f11c02757735d82c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa?= Date: Tue, 16 Sep 2025 15:39:30 +0200 Subject: [PATCH] amend font sizes --- assets/css/main.css | 52 ++++++++++++++++++--------- components/ButtonCTA.vue | 2 +- components/CardCompany.vue | 2 +- components/CardCourse.vue | 8 ++--- components/CardTool.vue | 10 +++--- components/Footer.vue | 22 +++++------- components/HeroHome.vue | 24 ++----------- components/HeroPages.vue | 2 +- components/LogosWithText.vue | 4 +-- components/NavBar.vue | 6 ++-- components/SectionWithCards.vue | 4 +-- components/TextWithIconAndButtons.vue | 2 +- components/TextWithImage.vue | 10 +++--- components/WhatIs.vue | 4 +-- data/es/foro.json | 2 +- 15 files changed, 75 insertions(+), 79 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index 6d5a2d8..5a2ed2c 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -81,11 +81,11 @@ --font-size-H3: 32px; --font-size-H4: 22px; --font-size-H5: 16px; - --font-size-2xl: 24px; - --font-size-lg: 18px; - --font-size-base: 16px; - --font-size-sm: 14px; - --font-size-xs: 12px; + --font-size-2xl-custom: 24px; + --font-size-lg-custom: 18px; + --font-size-base-custom: 16px; + --font-size-sm-custom: 14px; + --font-size-xs-custom: 12px; --font-size-button-base: 16px; } } @@ -101,11 +101,11 @@ --font-size-H3: 24px; --font-size-H4: 22px; --font-size-H5: 16px; - --font-size-2xl: 20px; - --font-size-lg: 16px; - --font-size-base: 16px; - --font-size-sm: 14px; - --font-size-xs: 12px; + --font-size-2xl-custom: 20px; + --font-size-lg-custom: 16px; + --font-size-base-custom: 16px; + --font-size-sm-custom: 14px; + --font-size-xs-custom: 12px; --font-size-button-base: 14px; } } @@ -121,11 +121,11 @@ --font-size-H3: 24px; --font-size-H4: 22px; --font-size-H5: 16px; - --font-size-2xl: 18px; - --font-size-lg: 16px; - --font-size-base: 16px; - --font-size-sm: 14px; - --font-size-xs: 12px; + --font-size-2xl-custom: 18px; + --font-size-lg-custom: 16px; + --font-size-base-custom: 16px; + --font-size-sm-custom: 14px; + --font-size-xs-custom: 12px; --font-size-button-base: 14px; } } @@ -215,6 +215,26 @@ h5 { } .text-2xl-custom { + font-size: var(--font-size-2xl-custom); +} + +.text-lg-custom { + font-size: var(--font-size-lg-custom); +} + +.text-base-custom { + font-size: var(--font-size-base-custom); +} + +.text-sm-custom { + font-size: var(--font-size-sm-custom); +} + +.text-xs-custom { + font-size: var(--font-size-xs-custom); +} + +/* .text-2xl-custom { font-size: var(--font-size-2xl); } .text-lg { @@ -228,7 +248,7 @@ h5 { } .text-xs-custom { font-size: var(--font-size-xs); -} +} */ .text-button-base { font-size: var(--font-size-button-base); diff --git a/components/ButtonCTA.vue b/components/ButtonCTA.vue index a669f06..5306d49 100644 --- a/components/ButtonCTA.vue +++ b/components/ButtonCTA.vue @@ -1,5 +1,5 @@ @@ -86,10 +86,4 @@ export default { }, }, }; - - - \ No newline at end of file + \ No newline at end of file diff --git a/components/HeroHome.vue b/components/HeroHome.vue index 139f549..d3bf6c2 100644 --- a/components/HeroHome.vue +++ b/components/HeroHome.vue @@ -15,8 +15,8 @@ class="absolute right-0 top-0 h-60 md:h-25.6" >
-

{{ title }}

-

{{ subtitle }}

+

{{ title }}

+

{{ subtitle }}

{{ button.label }} @@ -59,22 +59,4 @@ export default { }, }; - - - \ No newline at end of file + \ No newline at end of file diff --git a/components/HeroPages.vue b/components/HeroPages.vue index fef33ca..b1f7d1d 100644 --- a/components/HeroPages.vue +++ b/components/HeroPages.vue @@ -21,7 +21,7 @@

{{ title }}

-

+

{{ button.label }} diff --git a/components/LogosWithText.vue b/components/LogosWithText.vue index d27cacb..966a15c 100644 --- a/components/LogosWithText.vue +++ b/components/LogosWithText.vue @@ -3,8 +3,8 @@ :id="id" class="flex flex-col gap-12 mb-8 px-4 pt-8 pb-16 max-w-3xl mx-auto">
-

{{ title }}

-

{{ description }}

+

{{ title }}

+

{{ description }}

    diff --git a/components/NavBar.vue b/components/NavBar.vue index 77b676f..5b543fe 100644 --- a/components/NavBar.vue +++ b/components/NavBar.vue @@ -12,7 +12,7 @@ -
diff --git a/components/WhatIs.vue b/components/WhatIs.vue index 3df5ece..3e08e8e 100644 --- a/components/WhatIs.vue +++ b/components/WhatIs.vue @@ -5,13 +5,13 @@

{{ title }}

-

+

  • -

    +

diff --git a/data/es/foro.json b/data/es/foro.json index 0d79384..6b75ab0 100644 --- a/data/es/foro.json +++ b/data/es/foro.json @@ -40,7 +40,7 @@ "id": "tu-red-de-apoyo", "title": "Tu red de apoyo y conocimiento", "description": "Un lugar para encontrar respuestas, aportar ideas y sumar experiencias.", - "display": "col-3-transparent", + "display": "col-3", "bgColor": "foro", "cardsType": "transparent", "cards": [