From 5981c0ebf2887419d60c4771e0e17049f4018b2a Mon Sep 17 00:00:00 2001 From: Boris Voropaev Date: Tue, 29 Aug 2023 11:58:05 +0300 Subject: [PATCH] page text css --- .../layout/footer/footer.component.scss | 8 ++++- .../header/header-section.component.scss | 34 +++++++++++-------- .../basic/html/html-section.component.scss | 16 ++++++++- src/assets/css/basics.scss | 8 +++-- src/styles.scss | 5 +-- 5 files changed, 49 insertions(+), 22 deletions(-) diff --git a/src/app/_modules/layout/footer/footer.component.scss b/src/app/_modules/layout/footer/footer.component.scss index 5fb334c..ff22d22 100644 --- a/src/app/_modules/layout/footer/footer.component.scss +++ b/src/app/_modules/layout/footer/footer.component.scss @@ -6,7 +6,13 @@ display: flex; flex-direction: column; .block{ - a {cursor: pointer;} + a{ + cursor: pointer; + color: white; + :hover{ + color: white; + } + } display: flex; div{ display: block; diff --git a/src/app/_modules/pages/sections/types/basic/header/header-section.component.scss b/src/app/_modules/pages/sections/types/basic/header/header-section.component.scss index 8e09d57..ab1f908 100644 --- a/src/app/_modules/pages/sections/types/basic/header/header-section.component.scss +++ b/src/app/_modules/pages/sections/types/basic/header/header-section.component.scss @@ -1,21 +1,27 @@ h2 { - color: var(--grey-7); - font-size: 1.75rem; - line-height: 32px; + color: var(--dark-1); + font-family: PT Sans Narrow; + font-size: 50px; + font-style: normal; font-weight: 700; - margin: 32px 0 16px; + line-height: 60px; /* 120% */ + letter-spacing: 0.5px; } h3 { - color: var(--grey-7); - font-size: 1.5rem; - line-height: 30px; - font-weight: 400; - margin: 24px 0 16px; + color: var(--dark-1); + font-family: PT Sans Narrow; + font-size: 36px; + font-style: normal; + font-weight: 700; + line-height: 60px; /* 120% */ + letter-spacing: 0.36px; } h4 { - color: var(--grey-7); - font-size: 1.25rem; - line-height: 24px; - font-weight: 200; - margin: 20px 0 16px; + color: var(--dark-1); + font-family: PT Sans Narrow; + font-size: 24px; + font-style: normal; + font-weight: 700; + line-height: 44px; /* 133.333% */ + letter-spacing: 0.24px; } diff --git a/src/app/_modules/pages/sections/types/basic/html/html-section.component.scss b/src/app/_modules/pages/sections/types/basic/html/html-section.component.scss index 8b13789..3bee55d 100644 --- a/src/app/_modules/pages/sections/types/basic/html/html-section.component.scss +++ b/src/app/_modules/pages/sections/types/basic/html/html-section.component.scss @@ -1 +1,15 @@ - +:host{ + color: var(--dark-1); + font-family: PT Sans; + font-size: 20px; + font-style: normal; + font-weight: 400; + line-height: 32px; + a { + color: var(--blue-1); + &:hover{ + color: var(--blue-3); + }; + } + +} diff --git a/src/assets/css/basics.scss b/src/assets/css/basics.scss index af30f35..10e73a4 100644 --- a/src/assets/css/basics.scss +++ b/src/assets/css/basics.scss @@ -30,7 +30,7 @@ body { height: 100%; padding: 0; margin: 0; - color: var(--blue-1); + color: var(--dark-1); } .limiter { @@ -48,9 +48,13 @@ h1 { a { text-decoration: none; + color: var(--blue-1); + &:hover{ + color: var(--blue-3); + }; &.document { display: inline-flex; - color: var(--grey-7); + &:before { width: 20px; height: 20px; diff --git a/src/styles.scss b/src/styles.scss index f2ecb28..3cea045 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -8,6 +8,7 @@ --blue-2: #005799; --blue-3: #004077; --blue-4: #A1CAE5; + --dark-1: #2D2D2D; } @@ -19,10 +20,6 @@ li { //list-style-image: url("~src/assets/images/icons/add_24dp.svg"); } -a { - color: var(--grey-4); -} - .btn { font-weight: 500; font-size: 0.875rem;