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.
111 lines
1.8 KiB
CSS
111 lines
1.8 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: 1rem;
|
|
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);
|
|
column-gap: 2em;
|
|
}
|
|
main .team figure {
|
|
background-color: #fff;
|
|
padding: 1em;
|
|
margin: 0;
|
|
}
|
|
main .team figure img { width: 100% }
|
|
main .team figure label {
|
|
display: block;
|
|
margin-top: 1rem;
|
|
font-weight: bold;
|
|
}
|
|
|