@import 'colors'; @import 'code'; @import 'fonts'; html { background-color: $color-background; font-family: $font-serif; } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; height: 100%; width: 100%; } #page-content { display: flex; flex-direction: column; width: 100%; min-height: 100%; } #page-content > section[role=main] { flex: 1; & > .content { margin: 0 auto; padding: 40px 0; max-width: 780px; } p { line-height: 1.9em; } a { color: $text-color-link; &:hover { color: $text-color-link-light; text-decoration: none; } } } #page-content > footer { background-color: $color-primary; color: $text-color-light; font-family: $font-sans-serif; text-align: center; & > .content { margin: 0 auto; padding: 10px 0; max-width: 940px; } a { color: inherit; font-weight: bold; text-decoration: underline; } h2, h3 { font-weight: 300; margin: 0.8em; } h2 { font-size: 1.1em; } h3 { font-size: 0.8em; } } article > header { .date-and-tags { margin-bottom: 20px; time { color: $text-color-primary; font-size: 1.5em; font-weight: 300; } } .tags a { color: $text-color-link; } } article.inline > header .title { font-size: 2.3em; margin-bottom: 10px; } article.main > header .title { font-size: 2.7em; margin-bottom: 10px; } article h1 { font-size: 2em; } article.main > footer { margin-top: 40px; } h1, h2, h3, h4, h5, h6 { font-family: $font-sans-serif; } a { text-decoration: none; transition: color 0.15s ease-in-out; &:hover { text-decoration: underline; } } .navigation-bar { align-items: center; background-color: $color-primary; display: flex; font-size: 1.2em; font-family: $font-sans-serif; font-weight: 300; width: 100%; a { color: $text-color-light; display: block; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; &:hover { color: white; } } h1 { margin: 5px 0; text-decoration: none; font-size: 1.5em; font-weight: inherit; } .navigation-items { padding: 0; &.left, &.right { margin: 15px; } &.center { flex: 1; } li { display: inline-block; margin: 0 20px; } } }