2013-12-31 14:37:43 -05:00
|
|
|
//= require ./vendor/normalize
|
|
|
|
//= require ./common/foundation/base
|
|
|
|
|
2014-03-20 11:08:30 -04:00
|
|
|
@import "./common/foundation/variables";
|
2014-05-09 15:14:00 -04:00
|
|
|
@import "./common/foundation/colors";
|
2015-08-19 14:14:39 -04:00
|
|
|
@import "./common/foundation/mixins";
|
2014-03-20 11:08:30 -04:00
|
|
|
|
2015-08-12 15:41:15 -04:00
|
|
|
article.post {
|
2013-12-31 14:37:43 -05:00
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
|
2016-05-26 04:08:48 -04:00
|
|
|
img.avatar {
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
2014-01-03 13:08:52 -05:00
|
|
|
&.deleted {
|
|
|
|
background-color: #ffe5e5;
|
|
|
|
}
|
|
|
|
|
2014-03-20 11:11:33 -04:00
|
|
|
.quote .title {
|
2015-09-13 07:02:58 -04: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 11:11:33 -04:00
|
|
|
padding: 10px 10px 0 12px;
|
|
|
|
.avatar { margin-right: 7px; }
|
|
|
|
}
|
|
|
|
|
2014-03-20 11:20:12 -04:00
|
|
|
ol, ul {
|
|
|
|
clear: none;
|
|
|
|
}
|
|
|
|
|
2014-03-20 11:08:30 -04:00
|
|
|
blockquote {
|
|
|
|
padding: 10px 8px 10px 13px;
|
|
|
|
margin: 0 0 10px 0;
|
2015-09-13 06:18:44 -04:00
|
|
|
background-color: dark-light-diff($primary, $secondary, 97%, -45%);
|
|
|
|
border-left: 5px solid darken(dark-light-diff($primary, $secondary, 97%, -45%), 10%);
|
2014-03-20 11:08:30 -04:00
|
|
|
p {
|
|
|
|
margin: 0 0 10px 0;
|
|
|
|
}
|
2014-05-10 02:51:00 -04:00
|
|
|
p:last-of-type {
|
|
|
|
margin-bottom:0;
|
|
|
|
}
|
2014-03-20 11:08:30 -04:00
|
|
|
}
|
|
|
|
|
2013-12-31 14:37:43 -05:00
|
|
|
.post-date {
|
|
|
|
float: right;
|
|
|
|
color: #aaa;
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 0.857em;
|
2014-05-10 01:50:45 -04:00
|
|
|
margin: 10px 4px 0 0;
|
2013-12-31 14:37:43 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.author {
|
2014-05-09 15:14:00 -04:00
|
|
|
padding: 10px 5px;
|
2013-12-31 14:37:43 -05:00
|
|
|
float: left;
|
2014-05-09 15:49:53 -04:00
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 45px;
|
2015-08-06 11:39:17 -04:00
|
|
|
border-radius: 50%;
|
2014-05-09 15:49:53 -04:00
|
|
|
}
|
2014-05-09 15:14:00 -04:00
|
|
|
}
|
|
|
|
|
2013-12-31 14:37:43 -05:00
|
|
|
|
|
|
|
.cooked {
|
2015-09-18 03:40:00 -04:00
|
|
|
padding: 10px 0;
|
2014-05-09 16:12:21 -04:00
|
|
|
margin-left: 65px;
|
2014-03-22 18:05:38 -04:00
|
|
|
word-wrap: break-word;
|
2014-10-30 13:15:40 -04:00
|
|
|
word-break: break-word;
|
2013-12-31 14:37:43 -05:00
|
|
|
|
2014-10-30 16:14:40 -04:00
|
|
|
pre {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
2014-03-22 18:51:46 -04:00
|
|
|
img {
|
|
|
|
max-width:100%;
|
|
|
|
}
|
2013-12-31 14:37:43 -05:00
|
|
|
p {
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-06 17:18:00 -04: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 05:42:12 -04:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 70%), scale-color($secondary, $lightness: 30%));
|
2015-08-06 17:18:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
span.title {
|
|
|
|
font-weight: normal;
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-19 17:51:06 -04:00
|
|
|
img.emoji {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
2014-01-03 12:52:24 -05:00
|
|
|
.in-reply-to {
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 0.929em;
|
2014-05-09 16:12:21 -04:00
|
|
|
text-align: center;
|
2014-05-10 02:20:23 -04:00
|
|
|
margin: 10px 20px 6px 0;
|
2014-01-03 12:52:24 -05:00
|
|
|
display: inline-block;
|
2014-05-09 16:12:21 -04:00
|
|
|
float: right;
|
|
|
|
color: #0088cc;
|
2014-01-03 12:52:24 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.replies {
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 1.071em;
|
2014-01-03 12:52:24 -05:00
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
|
2016-12-13 14:37:37 -05:00
|
|
|
.clearfix {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-08-12 15:41:15 -04:00
|
|
|
header.discourse {
|
2015-09-18 03:40:00 -04:00
|
|
|
padding-left: 10px;
|
2016-12-13 14:37:37 -05:00
|
|
|
padding-right: 10px;
|
2015-09-18 03:40:00 -04:00
|
|
|
padding-bottom: 8px;
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 1.286em;
|
2015-09-18 03:40:00 -04:00
|
|
|
border-bottom: 3px solid #ddd;
|
2015-09-18 15:36:40 -04:00
|
|
|
|
2016-12-13 14:37:37 -05:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin: 0 auto 0 0;
|
|
|
|
font-size: 1.0em;
|
2015-09-18 05:44:13 -04:00
|
|
|
}
|
2013-12-31 14:37:43 -05:00
|
|
|
}
|
|
|
|
|
2016-12-13 14:37:37 -05:00
|
|
|
.embed-error {
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
|
2013-12-31 14:37:43 -05:00
|
|
|
footer {
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 1.286em;
|
2015-09-18 15:36:40 -04:00
|
|
|
margin-top: 0.5em;
|
2015-08-06 17:18:00 -04:00
|
|
|
.button {
|
2015-09-18 03:40:00 -04:00
|
|
|
color: white;
|
|
|
|
padding: 6px 8px;
|
|
|
|
background-color: #0088cc;
|
2015-09-18 15:36:40 -04:00
|
|
|
display: inline-block;
|
2013-12-31 14:37:43 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
float: right;
|
|
|
|
max-height: 30px;
|
|
|
|
}
|
2015-11-30 03:46:52 -05:00
|
|
|
|
|
|
|
// load onebox CSS at the end
|
|
|
|
@import "./common/base/onebox";
|
2016-05-26 04:08:48 -04:00
|
|
|
|
|
|
|
// we apparently use bottom margins on paras in the embed CSS, leading to weirdness
|
|
|
|
// which we will now clean up
|
|
|
|
aside.onebox {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
p {
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
2016-05-26 04:16:33 -04:00
|
|
|
|
|
|
|
// images large enough for the lightbox wrapper don't have bottom margins
|
|
|
|
// either, unless we add one now
|
|
|
|
div.lightbox-wrapper {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|