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-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-09-13 19:02:58 +08:00
|
|
|
border-left: 5px solid darken(dark-light-diff($primary, $secondary, 97%, -45%), 10%);
|
|
|
|
background-color: dark-light-diff($primary, $secondary, 97%, -45%);
|
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-09-13 18:18:44 +08:00
|
|
|
background-color: dark-light-diff($primary, $secondary, 97%, -45%);
|
|
|
|
border-left: 5px solid darken(dark-light-diff($primary, $secondary, 97%, -45%), 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 {
|
2015-09-18 15:40:00 +08:00
|
|
|
padding: 10px 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 {
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 70%), scale-color($secondary, $lightness: 30%));
|
2015-08-07 05:18:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
2015-09-18 15:40:00 +08:00
|
|
|
padding-left: 10px;
|
|
|
|
padding-bottom: 8px;
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.286em;
|
2015-09-18 15:40:00 +08:00
|
|
|
border-bottom: 3px solid #ddd;
|
2015-09-19 03:36:40 +08:00
|
|
|
|
2015-09-18 17:44:13 +08:00
|
|
|
.button {
|
|
|
|
float:right;
|
|
|
|
}
|
2014-01-01 03:37:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.286em;
|
2015-09-19 03:36:40 +08:00
|
|
|
margin-top: 0.5em;
|
2015-08-07 05:18:00 +08:00
|
|
|
.button {
|
2015-09-18 15:40:00 +08:00
|
|
|
color: white;
|
|
|
|
padding: 6px 8px;
|
|
|
|
background-color: #0088cc;
|
2015-09-19 03:36:40 +08:00
|
|
|
display: inline-block;
|
2014-01-01 03:37:43 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
float: right;
|
|
|
|
max-height: 30px;
|
|
|
|
}
|
2015-11-30 16:46:52 +08:00
|
|
|
|
|
|
|
// load onebox CSS at the end
|
|
|
|
@import "./common/base/onebox";
|