Complete color and font implementation into news and about pages

This commit is contained in:
Daniele Pancottini
2023-02-21 10:36:32 +01:00
parent 6e202e0cbd
commit 4be082fedc
8 changed files with 50 additions and 8 deletions

View File

@@ -3,4 +3,8 @@
.aboutSliderText {
font-family: 'Dancing Script', cursive;
}
.aboutSliderHeading {
font-family: 'Dancing Script', cursive !important;
}

View File

@@ -107,12 +107,12 @@ export default function AboutSlider() {
position="relative"
>
<Stack spacing={6} w={'full'} maxW={'-webkit-max-content'}>
<Heading fontSize={{ base: '3xl', md: '4xl', lg: '5xl' }}>
<Heading color={card.titleColor} className={style.aboutSliderHeading} fontSize={{ base: '3xl', md: '4xl', lg: '5xl' }}>
{card.title}
</Heading>
<Text
as={"span"}
fontSize={{ base: 'lg', lg: 'xl' }}
fontSize={{ base: 'xl', lg: '2xl' }}
color="GrayText"
className={style.aboutSliderText}
>

View File

@@ -121,7 +121,7 @@ const Layout: React.FC<Props> = ({
<style jsx>
{
`.vintageBackground {
background-color: rgba(240, 226, 123, 0.9)
background-color: rgba(240, 226, 123, 0.8)
}`
}
</style>

View File

@@ -3,4 +3,8 @@
.newsSliderText {
font-family: 'Dancing Script', cursive;
}
.newsSliderHeading {
font-family: 'Dancing Script', cursive !important;
}

View File

@@ -107,7 +107,7 @@ export default function NewsSlider() {
position="relative"
>
<Stack spacing={6} w={'full'} maxW={'-webkit-max-content'}>
<Heading fontSize={{ base: '3xl', md: '4xl', lg: '5xl' }}>
<Heading color={card.titleColor} className={style.newsSliderHeading} fontSize={{ base: '3xl', md: '4xl', lg: '5xl' }}>
{card.title}
</Heading>
<Text