2014-05-11 21:28:24 -04:00
|
|
|
.names {
|
|
|
|
float: left;
|
|
|
|
.username {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
span {
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 0.929em;
|
2014-05-18 19:11:01 -04:00
|
|
|
padding-right: 8px;
|
2014-07-03 23:40:49 -04:00
|
|
|
display: inline-block;
|
|
|
|
max-width: 280px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2014-05-11 21:28:24 -04: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 02:59:18 -04:00
|
|
|
|
2014-06-30 18:53:22 -04:00
|
|
|
// global styles for the cooked HTML content in posts (and preview)
|
2014-06-30 05:06:13 -04:00
|
|
|
.cooked, #wmd-preview {
|
2014-06-24 03:40:12 -04:00
|
|
|
word-wrap: break-word;
|
2014-06-30 03:05:18 -04: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 05:06:13 -04:00
|
|
|
}
|
|
|
|
|
2015-01-26 11:00:18 -05:00
|
|
|
|
|
|
|
.cooked, #wmd-preview {
|
|
|
|
video {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2014-06-30 18:53:22 -04:00
|
|
|
// we use aside to hold expandable quotes (versus, say, static blockquotes)
|
|
|
|
aside.quote {
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 1em;
|
2014-09-14 02:02:46 -04:00
|
|
|
|
|
|
|
.title {
|
|
|
|
border-left: 5px solid darken(scale-color-diff(), 10%);
|
|
|
|
background-color: scale-color-diff();
|
|
|
|
color: scale-color($primary, $lightness: 30%);
|
2014-10-18 05:48:20 -04:00
|
|
|
// IE will screw up the blockquote underneath if bottom padding is 0px
|
|
|
|
padding: 12px 12px 1px 12px;
|
2014-09-14 02:02:46 -04:00
|
|
|
/* blockquote is underneath this and has top margin */
|
|
|
|
.avatar { margin-right: 7px; }
|
|
|
|
img { margin-top: -4px; }
|
2014-12-24 02:23:47 -05:00
|
|
|
@include unselectable;
|
2014-09-14 02:02:46 -04:00
|
|
|
}
|
|
|
|
|
2014-07-01 03:19:56 -04:00
|
|
|
// blockquote is docked within aside for content
|
|
|
|
blockquote {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2014-06-30 18:53:22 -04:00
|
|
|
}
|
|
|
|
|
2014-09-14 02:02:46 -04:00
|
|
|
.quote-controls, .quote-controls .back:before, .quote-controls .quote-other-topic:before {
|
|
|
|
color: scale-color($primary, $lightness: 50%);
|
|
|
|
}
|
|
|
|
|
2014-06-30 05:06:13 -04:00
|
|
|
.cooked .highlight {
|
2014-08-06 09:31:13 -04:00
|
|
|
background-color: dark-light-diff($tertiary, $secondary, 90%, -40%);
|
2014-06-30 05:06:13 -04:00
|
|
|
padding: 2px;
|
|
|
|
margin: -2px;
|
2014-06-24 20:39:55 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-action {
|
|
|
|
.undo-action, .act-action{
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
2014-07-22 02:52:26 -04:00
|
|
|
|
|
|
|
.post-hidden {
|
|
|
|
opacity: 0.5;
|
2014-09-03 23:16:19 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.quote-controls {
|
|
|
|
float: right;
|
|
|
|
a {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-09-03 23:19:10 -04:00
|
|
|
|
|
|
|
.back:before, .quote-other-topic:before
|
2014-09-03 23:16:19 -04:00
|
|
|
{
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 8px;
|
|
|
|
font-family: "FontAwesome";
|
|
|
|
position: relative;
|
|
|
|
z-index: 20;
|
|
|
|
content: "\f062";
|
|
|
|
}
|
2014-09-03 23:19:10 -04:00
|
|
|
|
2014-09-03 23:16:19 -04:00
|
|
|
.quote-other-topic:before
|
|
|
|
{
|
|
|
|
content: "\f061";
|
|
|
|
}
|
|
|
|
}
|
2014-09-07 16:55:31 -04:00
|
|
|
|
|
|
|
.quote-button {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
background-color: scale-color($primary, $lightness: 50%);
|
|
|
|
color: $secondary;
|
|
|
|
padding: 10px;
|
|
|
|
z-index: 401;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
font-family: "FontAwesome";
|
|
|
|
content: "\f10e\00a0\00a0";
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: scale-color($primary, $lightness: 40%);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2014-09-10 09:25:31 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.wiki .topic-body {
|
2014-12-02 17:10:14 -05:00
|
|
|
background-color: dark-light-diff($wiki, $secondary, 95%, -50%);
|
2014-09-10 09:25:31 -04:00
|
|
|
}
|
|
|
|
|
2015-01-12 03:35:04 -05:00
|
|
|
// this ensures consistent top margin on topic posts even if the first line of a post
|
|
|
|
// is a top-margin-less element like a list or image.
|
|
|
|
.topic-body .contents {
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
|
2014-09-10 09:25:31 -04:00
|
|
|
.post-info {
|
|
|
|
&.wiki, &.via-email {
|
|
|
|
margin-right: 5px;
|
|
|
|
i.fa {
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 1em;
|
2014-09-10 09:25:31 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.wiki {
|
|
|
|
cursor: pointer;
|
2014-10-13 13:43:24 -04:00
|
|
|
color: $wiki;
|
2014-09-10 09:25:31 -04:00
|
|
|
}
|
|
|
|
&.via-email {
|
|
|
|
color: scale-color($primary, $lightness: 70%);
|
|
|
|
}
|
2014-10-17 13:28:23 -04:00
|
|
|
&.raw-email {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2014-09-10 09:25:31 -04:00
|
|
|
}
|
2014-09-13 01:58:15 -04:00
|
|
|
|
|
|
|
pre {
|
|
|
|
code {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
display: block;
|
|
|
|
padding: 5px 10px;
|
|
|
|
color: $primary;
|
|
|
|
background: scale-color-diff();
|
|
|
|
max-height: 500px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
kbd
|
|
|
|
{
|
|
|
|
background-color: $secondary;
|
|
|
|
border: 1px solid scale-color-diff();
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: 0 1px 0 rgba(0,0,0, .8);
|
|
|
|
color: $primary;
|
|
|
|
display: inline-block;
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 0.857em;
|
2014-09-13 01:58:15 -04:00
|
|
|
line-height: 1.4;
|
|
|
|
margin: 0 .1em;
|
|
|
|
padding: .1em .6em;
|
|
|
|
|
|
|
|
* * { display: none; }
|
2014-09-22 12:55:13 -04:00
|
|
|
}
|
2015-01-12 05:24:06 -05:00
|
|
|
|
|
|
|
// we assume blockquotes have their own margins, so all blockquotes
|
|
|
|
// will remove margins from first (top) and last (bottom) child elements
|
|
|
|
blockquote > *:first-child {
|
|
|
|
margin-top: 0 !important;
|
|
|
|
}
|
|
|
|
blockquote > *:last-child {
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
}
|