- Font for the core text is now Bagnard https://open-foundry.com/fonts/bagnard_regular - PCR tests information is moved to a separate page instead of the landing page - Update the favicon and main logo to match the new identity
155 lines
2.5 KiB
CSS
155 lines
2.5 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: #f3fdff;
|
|
--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;
|
|
}
|
|
|
|
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 {
|
|
font-family: "Cooper Hewitt";
|
|
background-color: var(--color-green-light);
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: var(--color-blue-light);
|
|
}
|
|
|
|
.banner-title {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
font-size: 4em;
|
|
}
|
|
|
|
.banner-title-part {
|
|
flex-grow: 2;
|
|
text-align: center;
|
|
width: 33vw;
|
|
}
|
|
|
|
.banner-subtitle {
|
|
font-size: 2.5em;
|
|
text-align: center;
|
|
}
|
|
|
|
.banner-logo img {
|
|
flex-grow: 1;
|
|
width: 26vmin;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
}
|
|
|
|
.menu {
|
|
margin: 20px 0;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
code {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
@media ( max-width: 880px) {
|
|
table {
|
|
width: 100%;
|
|
}
|
|
|
|
.content {
|
|
max-width: 90%;
|
|
padding: 0px 40px;
|
|
}
|
|
|
|
.banner-title {
|
|
font-size: 10vw;
|
|
}
|
|
|
|
.banner-subtitle {
|
|
font-size: 7vw;
|
|
}
|
|
|
|
.banner-logo img {
|
|
width: 23vw;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.banner {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.banner-logo img {
|
|
width: 15vw;
|
|
}
|
|
}
|