203 lines
2.6 KiB
CSS
203 lines
2.6 KiB
CSS
/* Fonts */
|
||
@font-face{
|
||
font-family: Atkinson;
|
||
src: url(../webfonts/Atkinson-Hyperlegible-Regular-102.ttf);
|
||
}
|
||
|
||
|
||
/* Variables */
|
||
|
||
:root {
|
||
--black: #0e0e0e;
|
||
--blue: #327bd6;
|
||
--dark-green: #32ada9;
|
||
--green: #ebff32;
|
||
--grey: #c9c9c9;
|
||
--light-orange: #ff6f3255;
|
||
--orange: #ff6f32;
|
||
--purple: #84326b;
|
||
--white: #ffffff;
|
||
}
|
||
|
||
|
||
/* Common */
|
||
|
||
html {
|
||
background: var(--white);
|
||
color: var(--black);
|
||
font-family: Atkinson;
|
||
font-size: 14pt;
|
||
line-height: 1.5;
|
||
overflow-x: hidden;
|
||
}
|
||
|
||
body {
|
||
display: flex;
|
||
flex-direction: column;
|
||
margin: 0;
|
||
min-height: 100vh;
|
||
}
|
||
|
||
a, a:visited {
|
||
color: var(--dark-green);
|
||
transition: 0.2s;
|
||
}
|
||
|
||
a:hover,
|
||
.active {
|
||
background: var(--green);
|
||
}
|
||
|
||
iframe {
|
||
border: none;
|
||
height: 50em;
|
||
width: 100%;
|
||
}
|
||
|
||
img {
|
||
display: block;
|
||
max-width: 100%;
|
||
}
|
||
|
||
li {
|
||
list-style: none;
|
||
margin: 0.5em auto;
|
||
}
|
||
|
||
ul {
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
/* Header and Footer */
|
||
|
||
header {
|
||
background: var(--white);
|
||
border-bottom: var(--grey) 1px solid;
|
||
display: flex;
|
||
height: 4em;
|
||
left: 0;
|
||
position: fixed;
|
||
top: 0;
|
||
width: 100vw;
|
||
}
|
||
|
||
header img {
|
||
margin: 0.5em 1em 0.5em 5em;
|
||
}
|
||
|
||
header h1 {
|
||
margin: auto 0;
|
||
}
|
||
|
||
header a,
|
||
footer a,
|
||
header a:visited,
|
||
footer a:visited {
|
||
color: var(--black);
|
||
text-decoration: inherit;
|
||
}
|
||
|
||
header nav {
|
||
margin: 0 4.5em 0 auto;
|
||
}
|
||
|
||
header nav ul,
|
||
footer ul {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
height: 100%;
|
||
}
|
||
|
||
header nav li,
|
||
footer li {
|
||
margin: auto 0.5em;
|
||
}
|
||
|
||
footer {
|
||
background: var(--white);
|
||
border-top: var(--grey) 1px solid;
|
||
height: 4em;
|
||
width: 100vw;
|
||
}
|
||
|
||
footer ul {
|
||
justify-content: center;
|
||
}
|
||
|
||
/* Main */
|
||
|
||
main {
|
||
flex-grow: 1;
|
||
margin: 4em auto 4em auto;
|
||
}
|
||
|
||
main > section {
|
||
padding: 2rem 25rem;
|
||
}
|
||
|
||
/* Page Index */
|
||
|
||
#page-index h2 {
|
||
text-align: center;
|
||
}
|
||
|
||
#introduction section {
|
||
display: grid;
|
||
gap: 3em;
|
||
grid-auto-columns: 45%;
|
||
grid-template-areas: "a a";
|
||
justify-content: center;
|
||
}
|
||
|
||
#introduction section article {
|
||
border: var(--grey) 1px solid;
|
||
padding: 1em;
|
||
}
|
||
|
||
#introduction section + p {
|
||
text-align: center;
|
||
}
|
||
|
||
/* News and Jobs */
|
||
|
||
.news-jobs > article {
|
||
border: var(--grey) 1px solid;
|
||
margin: 3em auto;
|
||
}
|
||
|
||
.news-jobs > article section:first-of-type {
|
||
background: var(--light-orange);
|
||
padding: 1em;
|
||
}
|
||
|
||
.news-jobs > article section:last-of-type ul,
|
||
.news-jobs > article section:last-of-type li,
|
||
.news-jobs > article section:last-of-type p {
|
||
display: inline;
|
||
}
|
||
|
||
.news-jobs > article section:last-of-type li:not(:last-of-type):after {
|
||
content: ", ";
|
||
}
|
||
|
||
.news-jobs h3 {
|
||
margin: 0;
|
||
}
|
||
|
||
.news-jobs h3 a {
|
||
color: inherit;
|
||
}
|
||
|
||
.news-jobs time {
|
||
float: right;
|
||
}
|
||
|
||
.news-jobs div {
|
||
padding: 1em;
|
||
}
|
||
|
||
.news-jobs section {
|
||
padding: 1em;
|
||
}
|