This repository has been archived on 2020-10-30. You can view files and clone it, but cannot push or open issues or pull requests.
hugo-blog/assets/css/_about.scss

110 lines
1.6 KiB
SCSS

.page.about {
&.header-expanded .wrapper {
.navigation {
z-index: 10;
}
&::before {
content: "";
z-index: -1;
display: block;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: #707070;
}
header {
z-index: 5;
position: relative;
margin-top: 0;
margin-bottom: 9.6rem;
height: calc(100vh - 1.6em);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-size: 1.3em;
@media (min-width: 768px) {
margin-bottom: 8.4rem;
}
}
.more-hint {
position: absolute;
right: 50%;
bottom: 0;
transform: translateX(50%);
font-size: 1em;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.more-scroll {
font-size: 2em;
}
.more-svg {
height: 3em;
width: 3em;
}
}
.content {
text-align: center;
font-size: 1.1em;
}
ul {
padding-left: 0;
list-style: none;
}
p {
margin: 3rem;
}
li p {
margin: 2rem 0;
}
h2 {
font-size: 1.4em;
}
h3 {
font-size: 1.1em;
}
// TODO - use grid for this (maybe keep this for fallback?)
.row {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
.column {
flex: 0 0 50%;
@media (min-width: 768px) {
flex: 0 0 33%;
}
h3 {
margin-left: 1.5em;
margin-right: 1.5em;
margin-top: 0;
}
li {
margin: 1rem 0;
}
}
}