2014-05-12 09:28:24 +08:00
|
|
|
.names {
|
|
|
|
float: left;
|
|
|
|
.username {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
span {
|
|
|
|
font-size: 13px;
|
2014-05-19 07:11:01 +08:00
|
|
|
padding-right: 8px;
|
2014-07-04 11:40:49 +08:00
|
|
|
display: inline-block;
|
|
|
|
max-width: 280px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2014-05-12 09:28:24 +08:00
|
|
|
a {
|
|
|
|
color: scale-color($primary, $lightness: 30%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.fa {
|
|
|
|
font-size: 11px;
|
|
|
|
margin-left: 3px;
|
|
|
|
color: scale-color($primary, $lightness: 40%);
|
|
|
|
}
|
|
|
|
.new_user a, .user-title, .user-title a {
|
|
|
|
color: scale-color($primary, $lightness: 50%);
|
|
|
|
}
|
|
|
|
}
|
2014-06-05 14:59:18 +08:00
|
|
|
|
2014-07-01 06:53:22 +08:00
|
|
|
// global styles for the cooked HTML content in posts (and preview)
|
2014-06-30 17:06:13 +08:00
|
|
|
.cooked, #wmd-preview {
|
2014-06-24 15:40:12 +08:00
|
|
|
word-wrap: break-word;
|
2014-06-30 15:05:18 +08:00
|
|
|
h1, h2, h3, h4, h5, h6 { margin: 30px 0 10px; }
|
|
|
|
h1 { line-height: 1em; } /* normalize.css sets h1 font size but not line height */
|
|
|
|
a { word-wrap: break-word; }
|
2014-06-30 17:06:13 +08:00
|
|
|
}
|
|
|
|
|
2014-07-01 06:53:22 +08:00
|
|
|
// we use aside to hold expandable quotes (versus, say, static blockquotes)
|
|
|
|
aside.quote {
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 1em;
|
2014-07-01 15:19:56 +08:00
|
|
|
// blockquote is docked within aside for content
|
|
|
|
blockquote {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2014-07-01 06:53:22 +08:00
|
|
|
}
|
|
|
|
|
2014-06-30 17:06:13 +08:00
|
|
|
.cooked .highlight {
|
|
|
|
background-color: scale-color($highlight, $lightness: 40%);
|
|
|
|
padding: 2px;
|
|
|
|
margin: -2px;
|
2014-06-25 08:39:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-action {
|
|
|
|
.undo-action, .act-action{
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
2014-07-22 14:52:26 +08:00
|
|
|
|
|
|
|
.post-hidden {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|