summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-05-16 08:33:08 +0000
committerGo MAEDA <maeda@farend.jp>2019-05-16 08:33:08 +0000
commit774e8b1d44ce3545e13d791ab27116081cd662a6 (patch)
treec05f456c5c78591f644036aa792cce1bffd5ef0c /public
parent64c11941d254f29d5363c6f6f0530ace144163bb (diff)
downloadredmine-774e8b1d44ce3545e13d791ab27116081cd662a6.tar.gz
redmine-774e8b1d44ce3545e13d791ab27116081cd662a6.zip
Visually distinguishable style for inline code (#31343).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18170 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r--public/stylesheets/application.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 7bcdfaa98..7e5c4c738 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -1198,6 +1198,12 @@ div.wiki pre {
overflow-y: hidden;
}
+div.wiki *:not(pre)>code, div.wiki>code {
+ background: rgba(62, 91, 118, 0.08);
+ padding: 0.1em 0.1em;
+ border-radius: 0.1em;
+}
+
div.wiki ul.toc {
background-color: #ffffdd;
border: 1px solid #e4e4e4;