You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
181 lines
3.1 KiB
CSS
181 lines
3.1 KiB
CSS
:root {
|
|
--width: 1000px;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: montserrat;
|
|
src: url(fnt/montserrat-light.ttf) format("truetype");
|
|
}
|
|
|
|
|
|
* { box-sizing: border-box }
|
|
html { scroll-behavior: smooth }
|
|
|
|
.wrap {
|
|
max-width: var(--width);
|
|
margin: 0 auto;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
line-height: 1.5;
|
|
background-color: #edfbff;
|
|
color: #324c9c;
|
|
font-family: montserrat, sans;
|
|
}
|
|
|
|
header, main { min-height: 100vh }
|
|
|
|
header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
padding: 1em;
|
|
font-size: 1.5rem;
|
|
}
|
|
header p {
|
|
max-width: var(--width);
|
|
text-align: justify;
|
|
}
|
|
header .arrow {
|
|
height: 2em;
|
|
margin-top: 3em;
|
|
transition: transform .2s ease-out;
|
|
}
|
|
header .arrow:hover { transform: scale(1.3) }
|
|
|
|
|
|
main section {
|
|
margin-bottom: 10rem;
|
|
padding: 1em;
|
|
}
|
|
|
|
main .phases, main .quotations {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
main .phases h2 { text-align: center }
|
|
main .phases figure {
|
|
background-color: #324c9c;
|
|
color: #fff;
|
|
padding: 2em;
|
|
max-width: 75%;
|
|
width: 100%;
|
|
}
|
|
main .phases figure:nth-child(odd) { margin-left: auto }
|
|
|
|
main .quotations figure blockquote {
|
|
font-style: italic;
|
|
margin-top: -5em; /* Fix overflowing space above quotation marks */
|
|
}
|
|
main .quotations figure blockquote:before {
|
|
content: "\201E";
|
|
display: block;
|
|
margin-bottom: -0.1em;
|
|
font-size: 8em;
|
|
}
|
|
main .quotations figure figcaption {
|
|
max-width: 80%;
|
|
margin-left: auto;
|
|
text-align: right;
|
|
}
|
|
|
|
main .team {
|
|
background-color: #324c9c;
|
|
padding: 4em 1em;
|
|
}
|
|
main .team h2 {
|
|
color: #fff;
|
|
margin: 0 0 2em;
|
|
}
|
|
main .team .list {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
grid-column-gap: 2em;
|
|
}
|
|
main .team figure {
|
|
background-color: #fff;
|
|
padding: 1em;
|
|
margin: 0;
|
|
}
|
|
main .team figure, main .team figure * { cursor: pointer }
|
|
main .team figure img { width: 100% }
|
|
main .team figure label {
|
|
display: block;
|
|
margin-top: 1rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
main .articles .header {
|
|
display: grid;
|
|
grid-template-columns: 1fr 4fr;
|
|
align-items: baseline;
|
|
margin-bottom: 4em;
|
|
border-bottom: 1px solid #324c9c;
|
|
}
|
|
main .articles .list {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
grid-column-gap: 2em;
|
|
grid-row-gap: 2em;
|
|
}
|
|
main .articles .list article a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
main .articles .list article:hover h3 { text-decoration: underline }
|
|
|
|
footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
|
|
margin: 15em auto;
|
|
padding: 1em;
|
|
}
|
|
footer img {
|
|
width: 18em;
|
|
margin: 2em;
|
|
transition: transform .2s ease-out;
|
|
}
|
|
footer img.pedf { width: 10em }
|
|
footer img:hover { transform: scale(1.1) }
|
|
|
|
.modal {
|
|
visibility: hidden;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100vh;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
background-color: rgba(0,0,0,0.5);
|
|
|
|
transition: opacity .2s ease-out;
|
|
opacity: 0;
|
|
}
|
|
.modal .content {
|
|
max-width: var(--width);
|
|
padding: 3em;
|
|
background-color: #fff;
|
|
transform: translate(0, -2em);
|
|
transition: transform .2s ease-out;
|
|
}
|
|
.modal.visible {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
.modal.visible .content {
|
|
transform: translate(0);
|
|
}
|
|
|