@import 'fonts'; @import 'mixins'; @import 'variables'; @import 'form'; * { margin: 0; padding: 0; @include prefix('box-sizing', 'border-box'); } body { font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Arial', sans-serif; font-size: 1em; line-height: 1.3em; color: #333; } a { color: $theme-color; } h1 { font-size: 1.6em; font-weight: 400; line-height: 1.3em; } p, ul, ol { margin: 0 0 1em 0; } ul, ol { li { margin: 0 0 0 2em; } } .avatar { border-radius: 50%; vertical-align: middle; } .page-header, .page-content, .page-footer { .inner-wrapper { margin: 0 auto; padding: 1em; max-width: 56.250em; } } .page-header { position: relative; color: #fff; background-color: $theme-color; a { color: inherit; text-decoration: none; } .inner-wrapper { @include prefix-value('display', 'flex'); @include prefix('align-items', 'center'); } .logo { @include prefix('flex', '1'); } @media screen and (min-width: 37.500em) { .toggle-navigation { display: none; } .navigation { display: block !important; @include prefix('flex', '1'); text-align: right; a { margin-left: 1em; } } } @media screen and (max-width: 37.500em) { .inner-wrapper { padding: .75em; } .toggle-navigation { text-align: right; a { display: inline-block; padding: .4em; font-size: 1.6em; border-radius: .25em; background-color: darken($theme-color, 8); } } .navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background-color: rgba($theme-color, 0.95); z-index: 10; } .navigation a { display: block; padding: 1em; text-align: center; } } } .post, .post-list-item, .message { @include prefix-value('display', 'flex'); .avatar { @include prefix('flex', 'none'); } .wrapper { margin: 0 0 0 1em; width: 100%; .title { margin: 0 0 0.5em; font-weight: 500; } .description { margin: 0 0 0.5em; color: #444; @import 'content'; } .info { font-size: .85em; color: #aaa; } } } .post, .message { .info { a { color: inherit; text-decoration: none; &:hover { color: $theme-color; text-decoration: underline; } } } .admin-links { a { color: $theme-color; } } } .post { margin: 0 0 1.5em; .title { font-size: 1.8em; line-height: 1.15em; a { color: inherit; text-decoration: none; } } } .post-list-item { margin: 1.5em 0; color: inherit; text-decoration: none; .title { font-size: 1.1em; line-height: 1.3em; } .info { .stats { .octicon { margin-right: .25em; } .data-point:not(:last-child) { margin-right: .75em; } } @media screen and (min-width: 37.500em) { & { @include prefix-value('display', 'flex'); .posted-by, .stats { @include prefix('flex', '1'); @include prefix('align-self', 'flex-end'); } } .stats { text-align: right; } } } } .message { margin: 1.5em 0; @media screen and (min-width: 37.500em) { & { margin-left: 5em; } } } .login { .social-networks { text-align: center; } } .profile { ul { margin: 1em 0 0 2em; } } .page-footer { text-align: center; }