mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-29 18:46:23 -05:00
145 lines
2.3 KiB
SCSS
145 lines
2.3 KiB
SCSS
//= require ./vendor/normalize
|
|
//= require ./common/foundation/base
|
|
|
|
@import "./common/foundation/variables";
|
|
@import "./common/foundation/colors";
|
|
@import "./common/foundation/mixins";
|
|
@import "./common/base/onebox";
|
|
|
|
article.post {
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
&.deleted {
|
|
background-color: #ffe5e5;
|
|
}
|
|
|
|
.quote .title {
|
|
border-left: 5px solid darken(dark-light-diff($primary, $secondary, 90%, -60%), 10%);
|
|
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
|
|
padding: 10px 10px 0 12px;
|
|
.avatar { margin-right: 7px; }
|
|
}
|
|
|
|
ol, ul {
|
|
clear: none;
|
|
}
|
|
|
|
blockquote {
|
|
padding: 10px 8px 10px 13px;
|
|
margin: 0 0 10px 0;
|
|
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
|
|
border-left: 5px solid darken(dark-light-diff($primary, $secondary, 90%, -60%), 10%);
|
|
overflow: hidden;
|
|
p {
|
|
margin: 0 0 10px 0;
|
|
}
|
|
p:last-of-type {
|
|
margin-bottom:0;
|
|
}
|
|
}
|
|
|
|
.post-date {
|
|
float: right;
|
|
color: #aaa;
|
|
font-size: 0.857em;
|
|
margin: 10px 4px 0 0;
|
|
}
|
|
|
|
.author {
|
|
padding: 10px 5px;
|
|
float: left;
|
|
|
|
img {
|
|
max-width: 45px;
|
|
border-radius: 50%;
|
|
}
|
|
}
|
|
|
|
|
|
.cooked {
|
|
padding: 10px 0 20px 0;
|
|
margin-left: 65px;
|
|
word-wrap: break-word;
|
|
word-break: break-word;
|
|
|
|
pre {
|
|
white-space: pre-wrap;
|
|
}
|
|
img {
|
|
max-width:100%;
|
|
}
|
|
p {
|
|
margin: 0 0 1em 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.username {
|
|
font-size: 0.929em;
|
|
margin: 0 0 10px 0;
|
|
|
|
a {
|
|
color: #5c5c5c
|
|
}
|
|
a.staff {
|
|
background-color: #ffffc2;
|
|
}
|
|
|
|
a.new-user {
|
|
color: dark-light-choose(scale-color($primary, $lightness: 70%), scale-color($secondary, $lightness: 30%));
|
|
}
|
|
|
|
span.title {
|
|
font-weight: normal;
|
|
color: #999;
|
|
}
|
|
}
|
|
|
|
img.emoji {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.in-reply-to {
|
|
font-size: 0.929em;
|
|
text-align: center;
|
|
margin: 10px 20px 6px 0;
|
|
display: inline-block;
|
|
float: right;
|
|
color: #0088cc;
|
|
}
|
|
|
|
.replies {
|
|
font-size: 1.071em;
|
|
color: #999;
|
|
}
|
|
|
|
header.discourse {
|
|
padding: 10px 10px 20px 10px;
|
|
font-size: 1.286em;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
footer {
|
|
font-size: 1.286em;
|
|
|
|
.logo {
|
|
margin-right: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.button {
|
|
margin: 10px 0 0 10px;
|
|
}
|
|
}
|
|
|
|
.logo {
|
|
float: right;
|
|
max-height: 30px;
|
|
}
|
|
|
|
.button {
|
|
background-color: #eee;
|
|
padding: 5px;
|
|
display: inline-block;
|
|
}
|