care-squad/static/assets/css/main.css
2025-07-11 03:11:29 +02:00

159 lines
2.9 KiB
CSS

/* FONTS
----------------------------------------------------------------- */
@font-face {
font-family: "Cooper Hewitt";
src: url('/assets/fonts/cooper-hewitt/CooperHewitt-Bold.otf') format('opentype');
font-display: swap;
}
@font-face {
font-family: "Bagnard";
src: url('/assets/fonts/bagnard/bagnard.otf') format('opentype');
font-display: swap;
}
@font-face {
font-family: "Bagnard Sans";
src: url('/assets/fonts/bagnard/bagnard_sans.otf') format('opentype');
font-display: swap;
}
:root {
--color-blue-lightest: #dff9ff;
--color-blue-lighter: #3ca8c1;
--color-blue-light: #3f3fec;
--color-blue-dark: #000055;
--color-darkest: #404040;
--color-fuchsia-dark: #7b0040;
--color-fuchsia-light: #c1146e;
--color-green-light: #cce8cc;
--color-orange-light: #ffab5a;
--color-orange-dark: #bc6817;
--color-orange-darker: #894504;
--color-purple-darker: #58004D;
--color-purple-dark: #7E026F;
--color-purple-base: #A90495;
--color-purple-lightest: rgb(225, 198, 225);
--color-purple-lighter: #CD4FBE;
--color-purple-light: #B72AA6;
--color-red-darker: #801F00;
--color-red-dark: #B62E03;
--color-red-lighter: #FF8862;
--color-red-light: #FF693A;
--color-red-base: #F43F06;
--color-yellow-darker: #805900;
--color-yellow-dark: #B68003;
--color-yellow-base: #F4AD06;
--color-yellow-light: #FFC43A;
--color-yellow-lighter: #FFD062;
}
html {
width: 100%;
}
body {
width: 100%;
margin: 0;
font-size: 1.1em;
background-color: var(--color-blue-lightest);
color: var(--color-fuchsia-light);
font-family: "Bagnard", serif;
}
.content {
max-width: 80%;
margin: auto;
}
table {
border-collapse: collapse;
min-width: 50%;
max-width: 100%;
margin: auto;
}
table, th, td, tr {
border-width: 3px;
border-style: solid;
border-color: black;
}
th, td {
padding: 5px;
}
.banner {
display: flex;
flex-direction: row;
align-items: center;
font-family: "Cooper Hewitt";
background-color: var(--color-green-light);
font-size: 4em;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: var(--color-blue-light);
}
.banner-title {
flex-grow: 2;
text-align: center;
width: 33vw;
}
.banner-logo img {
flex-grow: 1;
width: 26vmin;
}
h1 {
text-align: center;
}
nav {
}
nav ul {
width: 40vw;
margin: auto;
padding: 0;
list-style-type: none;
align-items: center;
text-align: center;
}
nav li {
display: inline;
margin: 0px 10px;
}
@media ( max-width: 880px) {
table {
width: 100%;
}
.content {
max-width: 90%;
padding: 0px 40px;
}
.banner {
font-size: 10vw;
}
.banner-logo img {
width: 23vw;
}
}
@media (max-width: 600px) {
.banner {
flex-direction: column;
}
.banner-logo img {
width: 15vw;
}
}