2023-11-08 09:52:56 +00:00
|
|
|
///// HOMEPAGE
|
2023-10-20 09:18:59 +00:00
|
|
|
|
2023-11-08 13:32:14 +00:00
|
|
|
/// Chill brand colors
|
2023-11-08 09:52:56 +00:00
|
|
|
$chill-blue: #334d5c;
|
|
|
|
$chill-green: #43b29d;
|
|
|
|
$chill-beige: #d3c7b1;
|
|
|
|
$chill-red: #dc516d;
|
|
|
|
$chill-pink: #e57469;
|
|
|
|
$chill-orange: #e89463;
|
|
|
|
$chill-lightgray: #efefef;
|
|
|
|
$chill-yellow: #f1d275;
|
|
|
|
|
2023-11-08 13:32:14 +00:00
|
|
|
/// Other custom colors
|
|
|
|
$bg-dark-blue: #0d242e;
|
|
|
|
$bg-light-blue: #a0dcff;
|
|
|
|
$btn-orange: #f46839;
|
|
|
|
$text-green: #56c4aa;
|
|
|
|
$icon-red: #f0384d;
|
|
|
|
$icon-yellow: #fcc958;
|
|
|
|
|
|
|
|
// Pattern
|
|
|
|
// hugo needs to precompile images in public dir, and make it automatically with images called from content.
|
|
|
|
// here we need to use it in css, then need to generate it, calling it first from a content md file.
|
|
|
|
@mixin apply-bgpattern-01() {
|
|
|
|
background-repeat: repeat;
|
2023-11-08 17:01:29 +00:00
|
|
|
background-position: top center;
|
|
|
|
background-image: url('../images/bg/pattern-1.png');
|
2023-11-08 13:32:14 +00:00
|
|
|
}
|
|
|
|
|
2023-11-08 17:01:29 +00:00
|
|
|
// Sections bg transitions
|
|
|
|
@mixin curve-bottom($id) {
|
|
|
|
position: relative;
|
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-image: url('../images/svg/curve-#{$id}.svg');
|
|
|
|
background-size: contain;
|
|
|
|
background-position: bottom center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Title design element, with colored circle
|
|
|
|
@mixin circle-in-title($color) {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
width: 45px;
|
|
|
|
height: 45px;
|
|
|
|
left: -70px;
|
|
|
|
top: -20px;
|
|
|
|
border-radius: 25px;
|
|
|
|
background-color: $color;
|
|
|
|
z-index: 0;
|
|
|
|
}
|
|
|
|
}
|
2023-11-08 09:52:56 +00:00
|
|
|
|
2023-11-08 17:01:29 +00:00
|
|
|
// Theme custom sections
|
2023-11-08 09:52:56 +00:00
|
|
|
header.header {
|
2023-11-08 13:32:14 +00:00
|
|
|
background-color: $bg-dark-blue;
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
|
|
|
main > section {
|
2023-11-08 13:32:14 +00:00
|
|
|
&.hero {
|
|
|
|
background-color: $bg-dark-blue;
|
|
|
|
@include apply-bgpattern-01();
|
2023-11-08 17:01:29 +00:00
|
|
|
@include curve-bottom(1);
|
2023-11-08 13:32:14 +00:00
|
|
|
h1 {
|
|
|
|
color: $text-green;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
color: white;
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
|
|
|
&.section-1 {
|
2023-11-08 17:01:29 +00:00
|
|
|
@include curve-bottom(2);
|
|
|
|
li {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
|
|
|
&.section-2 {
|
2023-11-08 17:01:29 +00:00
|
|
|
background-color: $bg-light-blue;
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
|
|
|
&.section-3 {
|
2023-11-08 13:32:14 +00:00
|
|
|
background-color: $text-green;
|
2023-11-08 17:01:29 +00:00
|
|
|
h2 {
|
|
|
|
@include circle-in-title($icon-red);
|
|
|
|
}
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
|
|
|
&.section-4 {
|
|
|
|
}
|
|
|
|
&.section-5 {
|
2023-11-08 13:32:14 +00:00
|
|
|
background-color: transparentize($color: $text-green, $amount: 0.7)
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
|
|
|
&.section-6 {
|
2023-11-08 13:32:14 +00:00
|
|
|
background-color: $bg-dark-blue;
|
|
|
|
@include apply-bgpattern-01();
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
|
|
|
&.section-7 {
|
2023-11-08 13:32:14 +00:00
|
|
|
background-color: $bg-light-blue;
|
2023-11-08 17:01:29 +00:00
|
|
|
h2 {
|
|
|
|
@include circle-in-title($icon-yellow);
|
|
|
|
}
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Change bulletlists rendering in flex bloc
|
|
|
|
section.section-1,
|
2023-11-08 13:32:14 +00:00
|
|
|
section.section-5,
|
|
|
|
section.section-7 {
|
2023-11-08 09:52:56 +00:00
|
|
|
.container .row {
|
|
|
|
& > div {
|
|
|
|
&:last-child {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
h2, p {
|
2023-11-08 17:01:29 +00:00
|
|
|
//text-align: center;
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
|
|
|
ul {
|
|
|
|
display: flex;
|
|
|
|
li {
|
|
|
|
i:first-child {
|
|
|
|
display: none;
|
2023-10-20 09:18:59 +00:00
|
|
|
}
|
2023-11-08 09:52:56 +00:00
|
|
|
flex: 1 0 0;
|
|
|
|
margin: 0.5em;
|
|
|
|
padding: 1.5em;
|
|
|
|
text-align: center;
|
2023-11-08 17:01:29 +00:00
|
|
|
//border: 1px solid #767676;
|
2023-11-08 09:52:56 +00:00
|
|
|
border-radius: 4px;
|
2023-11-08 17:01:29 +00:00
|
|
|
background-color: white;
|
2023-10-20 09:18:59 +00:00
|
|
|
}
|
|
|
|
}
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
2023-10-20 09:18:59 +00:00
|
|
|
}
|
2023-11-08 13:32:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Dark context (homepage header, hero, footer)
|
|
|
|
.dark {
|
|
|
|
|
|
|
|
// Overwrite primary button design
|
|
|
|
.btn-primary {
|
|
|
|
background-color: $btn-orange;
|
|
|
|
color: white;
|
|
|
|
border: 1px solid $btn-orange;
|
|
|
|
border-radius: 2em;
|
|
|
|
}
|
2023-10-20 09:18:59 +00:00
|
|
|
}
|