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
|
2023-11-09 10:38:03 +00:00
|
|
|
@mixin add-bg-pattern($id) {
|
2023-11-08 13:32:14 +00:00
|
|
|
background-repeat: repeat;
|
2023-11-08 17:01:29 +00:00
|
|
|
background-position: top center;
|
2023-11-17 12:27:06 +00:00
|
|
|
background-image: url('/images/bg/pattern-#{$id}.png');
|
2023-11-08 13:32:14 +00:00
|
|
|
}
|
|
|
|
|
2023-11-08 17:01:29 +00:00
|
|
|
// Sections bg transitions
|
2023-11-09 10:38:03 +00:00
|
|
|
@mixin add-horizontal-curve($id, $pos) {
|
2023-11-08 17:01:29 +00:00
|
|
|
position: relative;
|
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2023-11-17 12:27:06 +00:00
|
|
|
background-image: url('/images/svg/curve-#{$id}.svg');
|
2023-11-08 17:01:29 +00:00
|
|
|
background-size: contain;
|
2023-11-09 10:38:03 +00:00
|
|
|
background-position: $pos center;
|
2023-11-08 17:01:29 +00:00
|
|
|
background-repeat: no-repeat;
|
2023-11-09 11:00:39 +00:00
|
|
|
pointer-events: none;
|
2023-11-08 17:01:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-09 10:38:03 +00:00
|
|
|
// Colored design element: square or circle
|
2023-12-20 13:34:03 +00:00
|
|
|
@mixin add-decorative-shape($color, $shape: 'square', $scale: 1) {
|
2023-11-08 17:01:29 +00:00
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
2023-12-20 13:34:03 +00:00
|
|
|
width: 45px * $scale;
|
2023-11-09 10:38:03 +00:00
|
|
|
height: 45px * $scale;
|
2023-12-20 13:34:03 +00:00
|
|
|
left: 50%;
|
|
|
|
top: -7%;
|
|
|
|
margin-left: -14px;
|
2023-11-08 17:01:29 +00:00
|
|
|
background-color: $color;
|
|
|
|
z-index: 0;
|
2023-11-09 10:38:03 +00:00
|
|
|
@if $shape == 'circle' {
|
|
|
|
border-radius: 25px;
|
|
|
|
}
|
|
|
|
@else {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2023-11-08 17:01:29 +00:00
|
|
|
}
|
|
|
|
}
|
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;
|
2023-11-09 10:38:03 +00:00
|
|
|
@include add-bg-pattern(1);
|
|
|
|
@include add-horizontal-curve(1, bottom);
|
2023-11-09 12:02:06 +00:00
|
|
|
h1 { color: $text-green; }
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
|
|
|
&.section-1 {
|
2023-11-09 12:02:06 +00:00
|
|
|
li { font-weight: 600; }
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
|
|
|
&.section-2 {
|
2023-11-09 12:02:06 +00:00
|
|
|
background-color: transparentize($color: $text-green, $amount: 0.7)
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
|
|
|
&.section-3 {
|
2023-11-08 13:32:14 +00:00
|
|
|
background-color: $text-green;
|
2023-11-09 14:16:10 +00:00
|
|
|
//@include add-horizontal-curve(4, bottom);
|
2023-11-08 17:01:29 +00:00
|
|
|
h2 {
|
2023-11-09 10:38:03 +00:00
|
|
|
@include add-decorative-shape($icon-red, 'circle');
|
2023-11-08 17:01:29 +00:00
|
|
|
}
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
|
|
|
&.section-4 {
|
2023-11-09 14:16:10 +00:00
|
|
|
//@include add-horizontal-curve(2, bottom);
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
|
|
|
&.section-5 {
|
2023-11-09 12:02:06 +00:00
|
|
|
background-color: transparentize($color: $text-green, $amount: 0.5)
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
|
|
|
&.section-6 {
|
2023-11-08 13:32:14 +00:00
|
|
|
background-color: $bg-dark-blue;
|
2023-11-09 10:38:03 +00:00
|
|
|
@include add-bg-pattern(1);
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
|
|
|
&.section-7 {
|
2023-11-09 12:02:06 +00:00
|
|
|
background-color: $text-green;
|
2023-11-08 17:01:29 +00:00
|
|
|
h2 {
|
2023-11-09 10:38:03 +00:00
|
|
|
@include add-decorative-shape($icon-yellow);
|
2023-11-08 17:01:29 +00:00
|
|
|
}
|
2023-11-08 09:52:56 +00:00
|
|
|
}
|
|
|
|
}
|
2023-11-09 10:38:03 +00:00
|
|
|
.dark > footer {
|
2023-11-09 12:02:06 +00:00
|
|
|
margin-top: 4rem;
|
2023-11-09 10:38:03 +00:00
|
|
|
@include add-horizontal-curve(3, top);
|
|
|
|
&:before {
|
|
|
|
top: -70px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-09 12:02:06 +00:00
|
|
|
section {
|
2023-11-17 12:29:57 +00:00
|
|
|
// Centered text
|
|
|
|
&.big-text,
|
2023-11-09 12:02:06 +00:00
|
|
|
&.li-block {
|
2023-11-17 12:29:57 +00:00
|
|
|
h2, p {
|
|
|
|
width: fit-content;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.big-text {
|
2023-11-09 12:02:06 +00:00
|
|
|
.container .row {
|
|
|
|
& > div {
|
|
|
|
&:last-child {
|
2023-11-17 12:29:57 +00:00
|
|
|
width: 80%;
|
|
|
|
margin-left: 10%;
|
2023-11-09 12:02:06 +00:00
|
|
|
}
|
2023-11-17 12:29:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
p.text-xl {
|
|
|
|
//font-size: 1.4rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// Change bulletlists rendering in flex bloc }
|
|
|
|
&.li-block {
|
|
|
|
.container .row {
|
|
|
|
& > div {
|
|
|
|
&:last-child {
|
|
|
|
width: 100%;
|
2023-11-09 12:02:06 +00:00
|
|
|
}
|
|
|
|
ul {
|
|
|
|
display: flex;
|
|
|
|
li {
|
|
|
|
i:first-child {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
flex: 1 0 0;
|
|
|
|
margin: 0.5em;
|
|
|
|
padding: 1.5em;
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: #ffffff3b;
|
2023-10-20 09:18:59 +00:00
|
|
|
}
|
2023-11-09 12:02:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// Add custom colored icons on each item
|
|
|
|
&.section-1 {
|
2023-11-13 14:02:34 +00:00
|
|
|
//text-transform: uppercase;
|
2023-11-09 12:02:06 +00:00
|
|
|
ul li {
|
2023-11-13 14:02:34 +00:00
|
|
|
font-weight: 500;
|
|
|
|
font-size: large;
|
2023-11-09 12:02:06 +00:00
|
|
|
&:nth-child(1) {
|
2023-12-20 13:34:03 +00:00
|
|
|
@include add-decorative-shape($text-green, 'square', 0.7);
|
2023-11-09 12:02:06 +00:00
|
|
|
}
|
|
|
|
&:nth-child(2) {
|
2023-12-20 13:34:03 +00:00
|
|
|
@include add-decorative-shape($icon-red, 'circle', 0.7);
|
2023-11-09 12:02:06 +00:00
|
|
|
}
|
|
|
|
&:nth-child(3) {
|
2023-12-20 13:34:03 +00:00
|
|
|
@include add-decorative-shape($chill-orange, 'square', 0.7);
|
2023-11-09 12:02:06 +00:00
|
|
|
}
|
|
|
|
&:nth-child(4) {
|
2023-12-20 13:34:03 +00:00
|
|
|
@include add-decorative-shape($icon-yellow, 'circle', 0.7);
|
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-11-09 12:02:06 +00:00
|
|
|
}
|
2023-11-09 10:38:03 +00:00
|
|
|
|
2023-11-09 12:02:06 +00:00
|
|
|
// Dark but only in sections
|
|
|
|
section.dark {
|
2023-11-09 10:38:03 +00:00
|
|
|
p {
|
|
|
|
color: white;
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
2023-11-09 12:02:06 +00:00
|
|
|
}
|
|
|
|
|
2023-11-13 14:02:34 +00:00
|
|
|
.hop {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
///// PAGES
|
|
|
|
|
|
|
|
main > section {
|
|
|
|
&.page-hero {
|
|
|
|
background-color: $bg-dark-blue;
|
|
|
|
@include add-bg-pattern(1);
|
|
|
|
@include add-horizontal-curve(1, bottom);
|
|
|
|
h1 { color: $text-green; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chapo {
|
|
|
|
font-size: large;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure.image {
|
|
|
|
//background-color: $chill-lightgray;
|
|
|
|
//padding: 1em;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
&.left {
|
|
|
|
float: left;
|
|
|
|
margin-right: 1.5em;
|
|
|
|
}
|
|
|
|
&.right {
|
|
|
|
float: right;
|
|
|
|
margin-left: 1.5em;
|
|
|
|
}
|
|
|
|
&.center {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
img {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
figcaption {}
|
2023-10-20 09:18:59 +00:00
|
|
|
}
|