From 13983c2f80e21873689d7c1d8eccba2367a7f744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Tue, 9 Feb 2016 23:06:08 +0100 Subject: [PATCH] rever wiki background color, just change the default color --- app/assets/stylesheets/common/base/topic-post.scss | 4 ++++ app/assets/stylesheets/common/foundation/colors.scss | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index 7ac426abb..0079a415f 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -157,6 +157,10 @@ aside.quote { } } +.wiki .topic-body { + background-color: dark-light-diff($wiki, $secondary, 95%, -50%); +} + // 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 .regular { diff --git a/app/assets/stylesheets/common/foundation/colors.scss b/app/assets/stylesheets/common/foundation/colors.scss index 8fe9170fc..cdec1771e 100644 --- a/app/assets/stylesheets/common/foundation/colors.scss +++ b/app/assets/stylesheets/common/foundation/colors.scss @@ -8,4 +8,4 @@ $highlight: #ffff4d !default; $danger: #e45735 !default; $success: #009900 !default; $love: #fa6c8d !default; -$wiki: #408040 !default; +$wiki: #ffffff !default;