1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
website-2020-spike/static/src/scss/content.scss

70 lines
960 B
SCSS
Raw Permalink Normal View History

2020-05-03 16:52:20 +01:00
a {
color: $primary;
&:hover {
@extend .grey-text, .text-lighten-3;
transition: color 0.5s;
text-decoration: none;
}
&.colour-invert {
@extend .grey-text, .text-lighten-3;
&:hover {
color: $primary;
}
}
}
h1.page-title {
font-weight: 300;
font-size: 4rem;
margin-top: 1rem;
}
2020-05-07 14:38:11 +01:00
.header-image-spacer {
height: 1rem;
}
.header-image {
height: calc(40vh - #{$navbar-height});
@media #{$medium-and-down} {
height: calc(60vh - #{$navbar-height});
}
// Fix darkreader weirdness
.parallax {
position: initial;
width: 100%;
height: 100%;
}
}
2020-05-07 17:47:30 +01:00
.page-list {
.card {
background-color: transparent;
box-shadow: none;
}
.card + .card {
margin-top: 2rem;
}
.card-image {
max-width: 25% !important;
margin: auto 0;
}
@media #{$small-and-down} {
.card {
display: initial;
}
.card-image {
max-width: initial !important;
}
}
}