From fad5af0f7d2f134237a0cd0b623c3d783954722e Mon Sep 17 00:00:00 2001 From: Kane York Date: Thu, 20 Aug 2015 15:10:09 -0700 Subject: [PATCH] FEATURE: Green/red background for ins/del elements --- app/assets/stylesheets/common/base/topic-post.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index 1908afc4dc6..167cbd4e455 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -31,6 +31,8 @@ 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; } + ins { background-color: dark-light-choose(scale-color($success, $lightness: 90%), scale-color($success, $lightness: -60%)); } + del { background-color: dark-light-choose(scale-color($danger, $lightness: 90%), scale-color($danger, $lightness: -60%)); } }