From 334d9eaa535a3bb25a705e86dc22b236eda5b2f2 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Mon, 30 Jun 2014 15:53:22 -0700 Subject: [PATCH] add default style for aside.quote (expand quote) --- app/assets/stylesheets/common/base/topic-post.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index a5b762f5ac..88ed43a99e 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -20,7 +20,7 @@ } } -/* global styles for the cooked HTML content in posts (and preview) */ +// global styles for the cooked HTML content in posts (and preview) .cooked, #wmd-preview { word-wrap: break-word; h1, h2, h3, h4, h5, h6 { margin: 30px 0 10px; } @@ -28,6 +28,12 @@ a { word-wrap: break-word; } } +// we use aside to hold expandable quotes (versus, say, static blockquotes) +aside.quote { + margin-top: 1em; + margin-bottom: 1em; +} + .cooked .highlight { background-color: scale-color($highlight, $lightness: 40%); padding: 2px;