@import "./vendor/normalize"; @import "./vendor/normalize-ext"; @import "./common/foundation/base"; @import "./common/foundation/variables"; @import "./common/foundation/colors"; @import "./common/foundation/mixins"; @import "./common/components/buttons"; article.post { border-bottom: 1px solid #ddd; img.avatar { border-radius: 50%; } &.deleted { background-color: #ffe5e5; } .quote .title { border-left: 5px solid darken($primary-low, 5%); padding: 10px 10px 0 12px; .avatar { margin-right: 7px; } } ol, ul { clear: none; } blockquote { padding: 10px 8px 10px 13px; margin: 0 0 10px 0; border-left: 5px solid darken($primary-low, 5%); p { margin: 0 0 10px 0; } p:last-of-type { margin-bottom: 0; } } .post-date { float: right; color: #aaa; font-size: $font-down-1; margin: 10px 4px 0 0; } .author { padding: 10px 5px; float: left; img { max-width: 45px; border-radius: 50%; } } .cooked { padding: 10px 0; margin-left: 65px; word-wrap: break-word; word-break: break-word; pre { white-space: pre-wrap; } img { max-width: 100%; height: auto; } p { margin: 0 0 1em 0; } } } .username { font-size: $font-down-1; margin: 0 0 10px 0; a { color: #5c5c5c; } a.staff { background-color: #ffffc2; } a.new-user { color: dark-light-choose($primary-low-mid, $secondary-high); } span.title { font-weight: normal; color: #999; } } img.emoji { width: 20px; height: 20px; } .in-reply-to { font-size: $font-down-1; text-align: center; margin: 10px 20px 6px 0; display: inline-block; float: right; color: #0088cc; } .replies { font-size: $font-0; color: #999; } .clearfix { clear: both; } header.discourse { padding-left: 10px; padding-right: 10px; padding-bottom: 8px; font-size: $font-up-2; border-bottom: 3px solid #ddd; display: flex; flex-direction: row; align-items: center; justify-content: space-between; h3 { margin: 0 auto 0 0; font-size: $font-0; } } .embed-error { padding: 0 10px; } footer { font-size: $font-up-2; margin-top: 0.5em; .button { color: white; padding: 6px 8px; background-color: #0088cc; display: inline-block; } } .logo { float: right; max-height: 30px; } // load onebox CSS at the end @import "./common/base/onebox"; // we apparently use bottom margins on paras in the embed CSS, leading to weirdness // which we will now clean up aside.onebox { margin-bottom: 20px; p { margin-bottom: 0 !important; } } // images large enough for the lightbox wrapper don't have bottom margins // either, unless we add one now div.lightbox-wrapper { margin-bottom: 20px; } .new-topic-btn { margin: 0.5rem; &:hover { background: #006da3; } span { display: inline-block; vertical-align: middle; padding-bottom: 2px; } .new-topic-btn__icon { width: 16px; height: 16px; margin-right: 2px; background-image: svg-uri( '' ); background-repeat: no-repeat; background-size: 100%; background-position: top center; } } .topics-list { width: 100%; .topic-list-item { clear: both; .main-link { border-bottom: 1px solid $primary-low; padding: 0.5rem; width: 100%; a { color: $primary; } a:visited { color: $primary-medium; } } .topic-column-wrapper { display: flex; .topic-column.details-column { flex-direction: column; width: 80%; .topic-last-posted-at, .topic-author-avatar-timestamp, .topic-stats { padding-top: 5px; } .topic-author-avatar-timestamp img { max-height: 20px; } .topic-created-at { padding-left: 5px; vertical-align: middle; } .topic-last-posted-at, .topic-created-at, .topic-stats { color: $primary-medium; } } .topic-column.featured-image-column { .topic-featured-image img { max-width: 200px; max-height: 100px; } } } } }