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

128 lines
1.9 KiB
SCSS
Raw Normal View History

2020-02-19 21:42:08 +00:00
.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;
}
}
2020-02-19 21:42:08 +00:00
.content {
text-align: center;
font-size: 1.1em;
2020-02-19 21:42:08 +00:00
}
ul {
padding-left: 0;
list-style: none;
}
p {
2020-02-19 21:42:08 +00:00
margin: 3rem;
}
li p {
2020-02-19 21:42:08 +00:00
margin: 2rem 0;
}
h2 {
font-size: 1.4em;
2020-02-19 21:42:08 +00:00
}
2020-02-20 21:34:46 +00:00
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 {
2020-02-24 20:19:06 +00:00
flex: 0 0 100%;
@media (min-width: 500px) {
flex: 0 0 50%;
}
2020-02-20 21:34:46 +00:00
@media (min-width: 768px) {
flex: 0 0 33%;
}
h3 {
margin-left: 1.5em;
margin-right: 1.5em;
margin-top: 0;
}
li {
margin: 1rem 0;
}
2020-02-24 20:19:06 +00:00
@media (max-width: 768px) {
&.column-cms {
order: 3;
}
&.column-modern {
order: 2;
}
&.column-legacy {
order: 4;
}
}
2020-02-20 21:34:46 +00:00
}
2020-02-19 21:42:08 +00:00
}