2014-01-01 03:37:43 +08:00
|
|
|
//= require ./vendor/normalize
|
|
|
|
//= require ./common/foundation/base
|
|
|
|
|
2014-03-20 23:08:30 +08:00
|
|
|
@import "./common/foundation/variables";
|
2014-05-10 03:14:00 +08:00
|
|
|
@import "./common/foundation/colors";
|
2015-08-20 02:14:39 +08:00
|
|
|
@import "./common/foundation/mixins";
|
2014-05-10 03:14:00 +08:00
|
|
|
@import "./common/base/onebox";
|
2014-03-20 23:08:30 +08:00
|
|
|
|
2015-08-13 03:41:15 +08:00
|
|
|
article.post {
|
2014-01-01 03:37:43 +08:00
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
|
2014-01-04 02:08:52 +08:00
|
|
|
&.deleted {
|
|
|
|
background-color: #ffe5e5;
|
|
|
|
}
|
|
|
|
|
2014-03-20 23:11:33 +08:00
|
|
|
.quote .title {
|
2015-06-15 10:59:49 +08:00
|
|
|
border-left: 5px solid darken(dark-light-diff($primary, $secondary, 90%, -60%), 10%);
|
|
|
|
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
|
2014-03-20 23:11:33 +08:00
|
|
|
padding: 10px 10px 0 12px;
|
|
|
|
.avatar { margin-right: 7px; }
|
|
|
|
}
|
|
|
|
|
2014-03-20 23:20:12 +08:00
|
|
|
ol, ul {
|
|
|
|
clear: none;
|
|
|
|
}
|
|
|
|
|
2014-03-20 23:08:30 +08:00
|
|
|
blockquote {
|
|
|
|
padding: 10px 8px 10px 13px;
|
|
|
|
margin: 0 0 10px 0;
|
2015-06-15 10:59:49 +08:00
|
|
|
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
|
|
|
|
border-left: 5px solid darken(dark-light-diff($primary, $secondary, 90%, -60%), 10%);
|
2014-10-17 13:45:45 +08:00
|
|
|
overflow: hidden;
|
2014-03-20 23:08:30 +08:00
|
|
|
p {
|
|
|
|
margin: 0 0 10px 0;
|
|
|
|
}
|
2014-05-10 14:51:00 +08:00
|
|
|
p:last-of-type {
|
|
|
|
margin-bottom:0;
|
|
|
|
}
|
2014-03-20 23:08:30 +08:00
|
|
|
}
|
|
|
|
|
2014-01-01 03:37:43 +08:00
|
|
|
.post-date {
|
|
|
|
float: right;
|
|
|
|
color: #aaa;
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 0.857em;
|
2014-05-10 13:50:45 +08:00
|
|
|
margin: 10px 4px 0 0;
|
2014-01-01 03:37:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.author {
|
2014-05-10 03:14:00 +08:00
|
|
|
padding: 10px 5px;
|
2014-01-01 03:37:43 +08:00
|
|
|
float: left;
|
2014-05-10 03:49:53 +08:00
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 45px;
|
2015-08-06 23:39:17 +08:00
|
|
|
border-radius: 50%;
|
2014-05-10 03:49:53 +08:00
|
|
|
}
|
2014-05-10 03:14:00 +08:00
|
|
|
}
|
|
|
|
|
2014-01-01 03:37:43 +08:00
|
|
|
|
|
|
|
.cooked {
|
2014-05-10 13:50:45 +08:00
|
|
|
padding: 10px 0 20px 0;
|
2014-05-10 04:12:21 +08:00
|
|
|
margin-left: 65px;
|
2014-03-23 06:05:38 +08:00
|
|
|
word-wrap: break-word;
|
2014-10-31 01:15:40 +08:00
|
|
|
word-break: break-word;
|
2014-01-01 03:37:43 +08:00
|
|
|
|
2014-10-31 04:14:40 +08:00
|
|
|
pre {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
2014-03-23 06:51:46 +08:00
|
|
|
img {
|
|
|
|
max-width:100%;
|
|
|
|
}
|
2014-01-01 03:37:43 +08:00
|
|
|
p {
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-07 05:18:00 +08:00
|
|
|
.username {
|
|
|
|
font-size: 0.929em;
|
|
|
|
margin: 0 0 10px 0;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #5c5c5c
|
|
|
|
}
|
|
|
|
a.staff {
|
|
|
|
background-color: #ffffc2;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.new-user {
|
|
|
|
color: scale-color($primary, $lightness: 70%);
|
|
|
|
}
|
|
|
|
|
|
|
|
span.title {
|
|
|
|
font-weight: normal;
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-20 05:51:06 +08:00
|
|
|
img.emoji {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
2014-01-04 01:52:24 +08:00
|
|
|
.in-reply-to {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 0.929em;
|
2014-05-10 04:12:21 +08:00
|
|
|
text-align: center;
|
2014-05-10 14:20:23 +08:00
|
|
|
margin: 10px 20px 6px 0;
|
2014-01-04 01:52:24 +08:00
|
|
|
display: inline-block;
|
2014-05-10 04:12:21 +08:00
|
|
|
float: right;
|
|
|
|
color: #0088cc;
|
2014-01-04 01:52:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.replies {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.071em;
|
2014-01-04 01:52:24 +08:00
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
|
2015-08-13 03:41:15 +08:00
|
|
|
header.discourse {
|
2014-01-01 03:37:43 +08:00
|
|
|
padding: 10px 10px 20px 10px;
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.286em;
|
2014-01-01 03:37:43 +08:00
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.286em;
|
2014-01-01 03:37:43 +08:00
|
|
|
|
|
|
|
.logo {
|
|
|
|
margin-right: 10px;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
2015-08-07 05:18:00 +08:00
|
|
|
.button {
|
2014-01-01 03:37:43 +08:00
|
|
|
margin: 10px 0 0 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
float: right;
|
|
|
|
max-height: 30px;
|
|
|
|
}
|
|
|
|
|
2015-08-07 05:18:00 +08:00
|
|
|
.button {
|
2014-01-01 03:37:43 +08:00
|
|
|
background-color: #eee;
|
|
|
|
padding: 5px;
|
|
|
|
display: inline-block;
|
2014-01-13 23:59:28 +08:00
|
|
|
}
|