From 27af0b9a226e42607792d1004fdf0b8a720affb3 Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Mon, 30 Jan 2023 11:51:46 +0100 Subject: [PATCH] styled the free text on dates --- sass/base/elements/_lists.scss | 86 +++++++++++++++++++++------------- 1 file changed, 54 insertions(+), 32 deletions(-) diff --git a/sass/base/elements/_lists.scss b/sass/base/elements/_lists.scss index 7e978cc..bea3f90 100644 --- a/sass/base/elements/_lists.scss +++ b/sass/base/elements/_lists.scss @@ -1,65 +1,87 @@ ul, ol { - margin: 0 0 0.5em 0.5em; - padding: 0; + margin: 0 0 0.5em 0.5em; + padding: 0; } ul { - list-style: none; + list-style: none; } ol { - list-style: decimal; + list-style: decimal; } li > ul, li > ol { - margin-bottom: 0; - margin-left: 0.5em; + margin-bottom: 0; + margin-left: 0.5em; } dt { - font-weight: 700; + font-weight: 700; } dd { - margin: 0 0 0.5em 0.5em; - padding: 0; + margin: 0 0 0.5em 0.5em; + padding: 0; } article:not(.type-post){ -.ofisuport-label { - margin: 0; - padding: 0; - display: inline; - li { - display:inline-block; - margin:0.1em 0; - padding: 0.2em 0.2em 0 0.2em; - color: $color__white; - background-color: $color__black; - font-family: $font__black; - font-size: $font__size-body*0.7; - text-transform: uppercase; - } -} + .ofisuport-label { + margin: 0; + padding: 0; + display: inline; + li { + display:inline-block; + margin:0.1em 0; + padding: 0.2em 0.2em 0 0.2em; + color: $color__white; + background-color: $color__black; + font-family: $font__black; + font-size: $font__size-body*0.7; + text-transform: uppercase; + } + } .item-os_fund_target li { - background-color: $color__orange; + background-color: $color__orange; } .item-os_fund_source li { - background-color: $color__lightblue; + background-color: $color__lightblue; } .item-os_fund_field li { - background-color: $color__yellow; + background-color: $color__yellow; } .item-os_fund_dates li { - background-color: $color__green; + background-color: $color__green; } .item-os_fund_call { - display: block; - margin:0.2rem 0; - li { + display: block; + margin:0.2rem 0; + li { font-size: $font__size-body*1.2; - } + } + } + .item-os_fund_apply_text { + display:inline-block; + margin:0.1em 0; + padding: 0.2em 0.2em 0 0.2em; + color: $color__white; + background-color: $color__green; + font-family: $font__black; + font-size: $font__size-body*0.7; + text-transform: uppercase; + } +} +.single-ofisuport-ajut { + article:not(.type-post){ + .ofisuport-label { + li { + font-size: $font__size-body*1.1; + } + } + .item-os_fund_apply_text { + font-size: $font__size-body*1.1; + } } }