diff options
author | Stan Hu <stanhu@gmail.com> | 2015-02-27 17:17:57 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-03-10 08:11:20 -0700 |
commit | 4218a2bfcf7a3f864268c3eafe8ead28bb7808d8 (patch) | |
tree | d3860750b344916b1461386ac68990d8d42f439c /app/assets/stylesheets/highlight/white.scss | |
parent | 332413d7c4003c3718f8d91c54d7f3410710a5f9 (diff) | |
download | gitlab-ce-4218a2bfcf7a3f864268c3eafe8ead28bb7808d8.tar.gz |
Fix code preview theme setting for comments, issues, merge requests, and snippets.
Also preserve code preview color scheme in events dashboard.
Assign default colors to all code blocks shown as <pre class="code highlight [color_scheme]">
Closes #1139
Diffstat (limited to 'app/assets/stylesheets/highlight/white.scss')
-rw-r--r-- | app/assets/stylesheets/highlight/white.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/stylesheets/highlight/white.scss b/app/assets/stylesheets/highlight/white.scss index 4d6f5dfd91e..9b9b0a6bd6d 100644 --- a/app/assets/stylesheets/highlight/white.scss +++ b/app/assets/stylesheets/highlight/white.scss @@ -1,6 +1,10 @@ /* https://github.com/aahan/pygments-github-style */ +pre.code.highlight.white, .code.white { + background-color: #fff; + color: #333; + pre.highlight, .line-numbers, .line-numbers a { |