Add assets and config

This commit is contained in:
Boris Waaub
2026-01-20 16:34:22 +01:00
parent e429e6f25b
commit ce4e946615
46 changed files with 2822 additions and 568 deletions
-187
View File
@@ -1,187 +0,0 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
html {
@apply scroll-smooth;
}
body {
@apply font-sans text-gray-700 antialiased;
}
h1, h2, h3, h4, h5, h6 {
@apply font-heading font-bold text-gray-900;
}
}
@layer utilities {
.rounded-lg {
border-radius: 2rem;
}
}
@layer components {
.cta-section {
padding-top: 3rem;
padding-bottom: 3rem;
margin-top: 2rem;
margin-bottom: 2rem;
}
.cta-gradient {
background: linear-gradient(calc(var(--gradient-angle) * 1deg), var(--gradient-from), var(--gradient-to));
}
.btn {
@apply inline-flex items-center justify-center px-6 py-3 font-medium transition duration-200 ease-in-out;
border-radius: 2rem;
}
.btn-primary {
@apply btn bg-primary-600 text-white hover:bg-primary-700 hover:scale-105;
}
.btn-secondary {
@apply btn bg-secondary-600 text-white hover:bg-secondary-700 hover:scale-105;
}
.btn-outline {
@apply btn border-2 border-primary-600 text-primary-600 hover:scale-105;
}
.container {
@apply mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl;
}
.section {
@apply py-16 md:py-24;
}
.card {
@apply bg-white p-6 transition duration-200 hover:shadow-md;
border-radius: 2rem;
}
.nav-link {
@apply text-gray-600 hover:text-primary-600 font-bold transition duration-200;
}
.feature-grid {
@apply grid gap-8 md:grid-cols-2 lg:grid-cols-3;
}
/* Blog and Syntax Highlighting Styles */
.highlight {
@apply text-sm font-mono text-gray-200;
}
.highlight table {
@apply w-full border-separate border-spacing-0;
}
.highlight table td {
@apply p-0;
}
.highlight table td:first-child {
@apply pr-4 text-right select-none text-gray-500 border-r border-gray-700;
}
.highlight table td:last-child {
@apply pl-4 w-full;
}
.highlight .k, .highlight .kd {
@apply text-purple-400 font-semibold;
}
.highlight .nf, .highlight .nx {
@apply text-blue-400;
}
.highlight .s, .highlight .s1, .highlight .s2 {
@apply text-green-400;
}
.highlight .mi, .highlight .mf {
@apply text-orange-400;
}
.highlight .c, .highlight .c1, .highlight .cm {
@apply text-gray-500 italic;
}
.highlight .o {
@apply text-yellow-400;
}
.highlight .p {
@apply text-gray-400;
}
.prose {
@apply max-w-none;
}
.prose h1, .prose h2, .prose h3, .prose h4 {
@apply font-heading font-bold text-gray-900;
}
.prose h1 {
@apply text-4xl mb-8;
}
.prose h2 {
@apply text-3xl mt-12 mb-6;
}
.prose h3 {
@apply text-2xl mt-8 mb-4;
}
.prose p {
@apply text-gray-700 leading-relaxed mb-6;
}
.prose a {
@apply text-primary-600 hover:text-primary-700 no-underline;
}
.prose ul, .prose ol {
@apply my-6 ml-6;
}
.prose li {
@apply mb-2;
}
.prose blockquote {
@apply border-l-4 border-gray-200 pl-4 italic text-gray-700 my-8;
}
.prose img {
@apply rounded-lg shadow-lg my-8;
}
.prose code:not(pre code) {
@apply bg-gray-100 text-gray-900 px-1.5 py-0.5 rounded text-sm font-mono;
}
.table-of-contents {
@apply bg-gray-50 p-6 rounded-lg my-8;
}
.table-of-contents nav {
@apply space-y-2;
}
.table-of-contents a {
@apply text-gray-700 hover:text-primary-600 no-underline;
}
.table-of-contents ul {
@apply list-none ml-4 space-y-2;
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+93
View File
@@ -0,0 +1,93 @@
Copyright (c) 2010-2014 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato"
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1020 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 697 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 670 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
<style>
path { fill: #000000; }
@media (prefers-color-scheme: dark) {
path { fill: #ffffff; }
}
</style>
<path d="M 30,2.0000001 V 30 h -1 -2 v 2 h 5 V -3.3333334e-8 L 27,0 v 2 z"/>
<path d="M 9.9515939,10.594002 V 12.138 h 0.043994 c 0.3845141,-0.563728 0.8932271,-1.031728 1.4869981,-1.368 0.580003,-0.322998 1.244999,-0.485 1.993002,-0.485 0.72,0 1.376999,0.139993 1.971998,0.42 0.595,0.279004 1.047001,0.771001 1.355002,1.477001 0.338003,-0.500001 0.795999,-0.941 1.376999,-1.323001 0.579999,-0.382998 1.265998,-0.574 2.059998,-0.574 0.602003,0 1.160002,0.074 1.674002,0.220006 0.514,0.148006 0.953998,0.382998 1.321999,0.706998 0.36601,0.322999 0.653001,0.746 0.859,1.268002 0.205001,0.521998 0.307994,1.15 0.307994,1.887001 v 7.632997 h -3.127 v -6.463997 c 0,-0.383002 -0.01512,-0.743002 -0.04399,-1.082003 -0.02079,-0.3072 -0.103219,-0.607113 -0.242003,-0.881998 -0.133153,-0.25081 -0.335962,-0.457777 -0.584001,-0.596002 -0.257008,-0.146003 -0.605998,-0.220006 -1.046997,-0.220006 -0.440002,0 -0.796003,0.085 -1.068,0.253002 -0.272013,0.170003 -0.485001,0.390002 -0.639001,0.662003 -0.159119,0.287282 -0.263585,0.601602 -0.307994,0.926997 -0.05197,0.346923 -0.07801,0.697217 -0.07801,1.048002 v 6.353999 h -3.128005 v -6.398 c 0,-0.338003 -0.0072,-0.673001 -0.02116,-1.004001 -0.01134,-0.313663 -0.07487,-0.623229 -0.187994,-0.915999 -0.107943,-0.276623 -0.300435,-0.512126 -0.550001,-0.673001 -0.25799,-0.168 -0.636,-0.253002 -1.134999,-0.253002 -0.198123,0.0083 -0.394383,0.04195 -0.584002,0.100006 -0.258368,0.07446 -0.498455,0.201827 -0.704999,0.373985 -0.227981,0.183987 -0.421999,0.449 -0.583997,0.794003 -0.161008,0.345978 -0.242003,0.797998 -0.242003,1.356998 v 6.618999 H 6.99942 V 10.590001 Z"/>
<path d="M 2,2.0000001 V 30 h 3 v 2 H 0 V 9.2650922e-8 L 5,0 v 2 z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

+620
View File
@@ -0,0 +1,620 @@
///// HOMEPAGE
/// Chill brand colors
$chill-blue: #334d5c;
$chill-green: rgba(67, 178, 157, 0.61);
$chill-beige: #d3c7b1;
$chill-red: #dc516d;
$chill-pink: #e57469;
$chill-orange: #e89463;
$chill-lightgray: #efefef;
$chill-yellow: #f1d275;
/// Other custom colors
$bg-dark-blue: #0d242e;
$bg-light-blue: #a0dcff;
$orange: #f46839;
$text-green: #56c4aa;
$red: #f0384d;
$yellow: #fcc958;
@font-face {
font-family: 'Lato', Arial;
src: url('assets/fonts/Lato/Lato-Regular.ttf') format('truetype');
font-display: optional;
font-weight: normal;
font-style: normal;
}
// Pattern
@mixin add-bg-pattern($id) {
background-repeat: repeat;
background-position: top center;
background-image: url('/images/bg/pattern-#{$id}.png');
}
// Sections bg transitions
@mixin add-horizontal-curve($id, $pos) {
position: relative;
&:before {
content: '';
position: absolute;
width: 100%;
height: 100%;
background-image: url('/images/svg/curve-#{$id}.svg');
background-size: contain;
background-position: $pos center;
background-repeat: no-repeat;
pointer-events: none;
}
}
// Colored design element: square or circle
@mixin add-decorative-shape($color, $shape: 'square', $scale: 1, $pos-top: -60%, $pos-left: 44%) {
position: relative;
z-index: 1;
&:before {
content: '';
position: absolute;
width: 100px * $scale;
height: 100px * $scale;
left: $pos-left;
top: $pos-top;
margin-left: -35px;
background-color: $color;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
z-index: 0;
@if $shape == 'circle' {
border-radius: 50px;
}
@else {
border-radius: 0;
}
}
}
body{
font-family: 'Lato', sans-serif;
.highlight {
padding: .25rem;
}
.highlight-1 {
background-color: $chill-green;
}
.highlight-2 {
background-color: $chill-pink;
}
.highlight-3 {
background-color: $chill-yellow;
}
}
// Theme custom sections
header.header {
background-color: $bg-dark-blue;
}
.chill-pres {
padding-top: 0rem;
}
.navbar {
.btn-primary {
background-color: $orange;
border: 1px solid $orange;
color: white;
&:hover {
background-color: $chill-orange;
border: 1px solid $chill-orange;
}
}
.lang-select {
color: white;
}
}
main > section {
&.hero {
height: 100vh;
background-color: $bg-dark-blue;
h1 { color: $chill-green; }
.hero-img {
padding-top: 3rem;
}
.btn-primary {
background-color: $orange;
color: white;
border-color: $orange;
&:hover {
background-color: $chill-orange;
border: 1px solid $chill-orange;
}
}
}
&.section-1 {
background-color: white;
padding-top: 10rem;
li { font-weight: 600; }
}
&.section-2 {
.container {
color: $bg-dark-blue;
text-align: center;
margin-top: 4rem;
h2 {
line-height: 3.5rem;
}
}
background: rgb(233,227,216);
background: linear-gradient(180deg, rgba(233,227,216,1) 0%, rgba(239,239,239,1) 100%);
}
&.section-3 {
background: rgb(239,239,239);
background: linear-gradient(180deg, rgba(239,239,239,1) 0%, rgba(255,255,255,1) 100%);
h2 {
@include add-decorative-shape($orange, 'circle', .7, -30%, -10%);
}
}
&.section-4 {
position: relative;
background-color: white;
.row {
padding-bottom: 5rem;
}
h4 {
font-weight: bold;
height: 175px;
color: $bg-dark-blue;
border: 1px dashed $bg-dark-blue;
border-radius: 15px;
padding: 3rem;
}
.btn-primary {
position: absolute;
top: 52%;
left: 28%;
}
}
&.section-5 {
background-color: transparentize($color: $chill-green, $amount: 0.5)
}
&.section-6 {
background-color: $bg-dark-blue !important;
@include add-bg-pattern(1);
}
&.section-7 {
h2 {
@include add-decorative-shape($yellow, 'square', .7, -30%, -15%);
}
}
}
section {
h2.title {
color: $bg-dark-blue;
}
// Centered text
&.big-text,
&.li-block {
h2, p {
width: fit-content;
margin-left: auto;
margin-right: auto;
}
}
&.big-text {
.container .row {
& > div {
&:last-child {
width: 80%;
margin-left: 10%;
}
}
}
}
// Change bulletlists rendering in flex bloc }
&.li-block {
.container .row {
& > div {
&:last-child {
width: 100%;
}
ul {
display: flex;
li {
i:first-child {
display: none;
}
flex: 1 0 0;
margin: 0.5em 2rem 0.5em 2rem;
padding: 2em 1em 1em 1em;
text-align: center;
border-radius: 20px;
}
}
}
}
// Add custom colored icons on each item
&.section-1 {
ul li {
font-weight: 500;
font-size: large;
position: relative;
&:nth-child(1) {
@include add-decorative-shape($text-green, 'square', 1);
}
&:nth-child(2) {
@include add-decorative-shape($red, 'circle', 1);
}
&:nth-child(3) {
@include add-decorative-shape($chill-orange, 'triangle', 1);
}
&:nth-child(4) {
@include add-decorative-shape($yellow, 'circle', 1);
}
}
}
&.section-5 {
.container .row {
p {
margin-bottom: 5rem;
}
ul li {
border-radius: 1em;
background: transparentize(white, 0.8);
backdrop-filter: blur(20px);
width: 400px;
height: 180px;
padding: .85rem;
position: relative;
z-index: 0;
overflow: hidden;
transition: 0.6s ease-in;
&::before {
content: "";
position: absolute;
z-index: -1;
top: -15px;
right: -15px;
height:220px;
width: 25px;
border-radius: 32px;
transform: scale(1);
transform-origin: 50% 50%;
transition: transform 0.25s ease-out;
}
&:nth-child(1)::before {
background-color: rgba(240, 56, 77, 0.85);
}
&:nth-child(2)::before {
background-color: rgba(232, 148, 99, 0.85);
}
&:nth-child(3)::before {
background-color: rgba(67, 178, 157, 0.85);
}
&:nth-child(4)::before {
background-color: rgb(241, 210, 117);
}
&:hover::before {
transition-delay:0.2s ;
transform: scale(40);
}
&:hover {
color: #ffffff;
h5 {
color: $chill-lightgray;
}
}
h5 {
color: $bg-dark-blue;
font-weight: bold;
}
}
}
}
// button styling
a.btn-chill {
background-color: #fc3636;
}
}
}
// Dark context (homepage header, hero, footer)
// Overwrite primary button design
.btn-primary {
background-color: $orange;
color: white;
border: 1px solid $orange;
border-radius: 2em;
}
.download {
margin-right: auto;
margin-left: auto;
display: block;
a {
text-decoration: none;
padding: .5rem;
}
}
// Dark but only in sections
section.dark {
p {
color: white;
font-weight: bolder;
}
}
.hop {
color: red;
}
///// PAGES
main > section {
&.page-hero {
height: 40vh;
background-color: $bg-dark-blue;
@include add-bg-pattern(1);
h1 { color: $text-green; }
i {
color: $chill-lightgray;
}
}
.content-subtitle {
text-transform: uppercase;
padding-left: 2rem;
}
.bord-1 {
border-left: 4px solid $chill-orange;
}
.bord-2 {
border-left: 4px solid $chill-beige;
}
.bord-3 {
border-left: 4px solid $chill-yellow;
}
.bord-4 {
border-left: 4px solid $chill-green;
}
}
.chapo {
font-size: large;
font-weight: 600;
text-align: center;
padding-bottom: 2rem;
font-style: italic;
position: relative;
margin-bottom: 5rem;
&::after {
content:'';
position:absolute;
left:0; right:0;
top:100%;
margin:10px auto;
width:15%;
height:6px;
background: $chill-red;
}
}
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 {}
}
.text-brochure {
text-align: center;
}
// RESPONSIVENESS
@media screen and (max-width: 1279px) {
section {
&.li-block {
&.section-5 {
.container .row {
ul {
flex-wrap: wrap;
}
ul li {
flex: 30%;
}
}
}
}
}
}
@media screen and (max-width: 1023px) {
main > section {
&.section-4 {
h4 {
height: 224px;
}
.btn-primary {
top: 56%;
}
}
}
section {
&.li-block {
&.section-5 {
.container .row {
ul {
flex-wrap: wrap;
}
ul li {
flex: 50%;
}
}
}
}
}
}
@media screen and (max-width: 767px) {
main > section {
&.hero {
height: 110vh;
}
&.section-3 {
h2:before {
top: -70%;
left: 5%;
z-index: -1;
}
}
&.section-4 {
h4 {
height: 280px;
}
.btn-primary {
top: 64%;
}
}
}
section {
&.li-block {
.container .row {
& > div {
ul {
flex-direction: column;
li {
margin-bottom: 4rem;
}
}
}
}
// Add custom colored icons on each item
&.section-1 {
ul li {
&:nth-child(1) {
top: -66%;
}
&:nth-child(2) {
top: -66%;
}
&:nth-child(3):before {
top: -85%;
}
&:nth-child(4):before {
top: -85%;
}
}
}
&.section-5 {
.container .row {
ul {
flex-wrap: wrap;
}
ul li {
flex: 50%;
}
}
}
}
}
}
@media screen and (max-width: 513px) {
main > section {
&.hero {
height: 120vh;
}
&.section-4 {
h4 {
font-size: 1.1rem;
}
.btn-primary {
top: 64%;
}
}
&.section-5 {
.container .row {
ul li {
width: 350px;
}
}
}
}
}
@media screen and (max-width: 470px) {
main > section {
&.section-4 {
h4 {
height: 280px;
}
.btn-primary {
top: 64%;
}
}
}
section {
&.li-block {
&.section-1 {
ul li {
&:nth-child(3):before {
top: -70%;
}
&:nth-child(4):before {
top: -70%;
}
}
}
&.section-5 {
.container .row {
ul {
flex-wrap: wrap;
}
ul li {
width: 350px;
}
}
}
}
}
}
@media screen and (max-width: 420px) {
section {
&.li-block {
&.section-5 {
.container .row {
ul li {
width: 300px;
}
}
}
}
}
}