From d8369bf7aa2a6b51036883c04e57604a2498ee44 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Tue, 15 Dec 2020 15:43:12 +0000 Subject: [PATCH] [Library | Trunk]: Move number text color on library. Add number-width class git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/assets@60137 d315682c-612b-4755-9ff5-7f18f6832af3 --- library-css/text.scss | 77 +++++++++++++++++++++--------------------- library-css/utils.scss | 4 +++ 2 files changed, 43 insertions(+), 38 deletions(-) diff --git a/library-css/text.scss b/library-css/text.scss index ae9d99d..91efc00 100644 --- a/library-css/text.scss +++ b/library-css/text.scss @@ -13,6 +13,45 @@ line-height: 1.2; } +.uk-h1, h1 { + font-size: 54px; + font-weight: 400; +} + +.uk-h2, h2 { + font-size: 45px; + font-weight: 400; +} + +.uk-h3, h3 { + font-size: 36px; + font-weight: 400; +} + +.uk-h4, h4 { + font-size: 27px; + font-weight: 400; +} + +.uk-h5, h5 { + font-size: 22px; + font-weight: 400; +} + +.uk-h6, h6 { + font-size: 18px; + font-weight: 400; +} + +.number { + font-size: 41px; + color: #1d1d1d; +} + +.number-size { + font-size: 36px; +} + @media only screen and (max-width: 639px) { .uk-h1, h1 { font-size: 36px !important; @@ -46,41 +85,3 @@ font-size: 27px; } } - -.uk-h1, h1 { - font-size: 54px; - font-weight: 400; -} - -.uk-h2, h2 { - font-size: 45px; - font-weight: 400; -} - -.uk-h3, h3 { - font-size: 36px; - font-weight: 400; -} - -.uk-h4, h4 { - font-size: 27px; - font-weight: 400; -} - -.uk-h5, h5 { - font-size: 22px; - font-weight: 400; -} - -.uk-h6, h6 { - font-size: 18px; - font-weight: 400; -} - -.number { - font-size: 41px; -} - -.number-size { - font-size: 36px; -} diff --git a/library-css/utils.scss b/library-css/utils.scss index 84c7382..cfa17a6 100644 --- a/library-css/utils.scss +++ b/library-css/utils.scss @@ -113,3 +113,7 @@ ul > li > .circle.uk-light svg > * { div:not(.uk-logo) > img { align-self: start; } + +.number-width { + width: 50%; +}