|
|
@ -1,7 +1,6 @@ |
|
|
|
@import 'colors.scss'; |
|
|
|
@import 'cards.scss'; |
|
|
|
@import 'code.scss'; |
|
|
|
@import 'fonts.scss'; |
|
|
|
|
|
|
|
@mixin screen-max($max) { |
|
|
|
@media (max-width: $max - 1) { |
|
|
@ -22,22 +21,24 @@ header { |
|
|
|
background-color: $top-bar; |
|
|
|
box-shadow: 0px 5px 10px black; |
|
|
|
nav { |
|
|
|
@include screen-max(840px){text-align: center;} |
|
|
|
@include screen-max(500px){text-align: center;} |
|
|
|
|
|
|
|
div {display: inline-block;} |
|
|
|
|
|
|
|
img { max-width: 300px; } |
|
|
|
|
|
|
|
a { |
|
|
|
margin-right: 12px; |
|
|
|
font-weight: bold; |
|
|
|
text-decoration: none; |
|
|
|
color: $font-color-alternate; |
|
|
|
&:visited {color: $font-color-alternate;} |
|
|
|
&, &:visited, &:hover {color: $font-color-alternate;} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
header, main, section, nav {padding: 0 16px;} |
|
|
|
header, main, section {padding: 0 16px;} |
|
|
|
|
|
|
|
main, section, nav {max-width: 920px; margin: auto;} |
|
|
|
nav, main, section {max-width: 1200px; margin: auto;} |
|
|
|
main img {max-width: 100%} |
|
|
|
|
|
|
|
footer {text-align: center;} |
|
|
@ -48,13 +49,13 @@ a { |
|
|
|
&:visited, &:hover { color: $link-color-visited; } |
|
|
|
} |
|
|
|
|
|
|
|
img.featured { |
|
|
|
img.featured{aspect-ratio: 4/3;} |
|
|
|
img.featured, img.author { |
|
|
|
display: block; |
|
|
|
border-radius: 8px; |
|
|
|
margin: 12px auto; |
|
|
|
max-height: 888px; |
|
|
|
margin: 12px 0; |
|
|
|
object-fit: cover; |
|
|
|
aspect-ratio: 4/3; |
|
|
|
max-height: 500px; |
|
|
|
} |
|
|
|
|
|
|
|
.left-to-right { |
|
|
|