summaryrefslogtreecommitdiffstats
path: root/web_src/less/themes
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-04-07 13:03:49 +0200
committerGitHub <noreply@github.com>2020-04-07 12:03:49 +0100
commitd6741de934c625bd90763253ccf0ca7c2045e3a0 (patch)
treef8ba92ad91ec00a8f2cf5b4d1db1a69a47fc770f /web_src/less/themes
parent514e269b1d7f2ef74b3086e43fc7194a4a640f85 (diff)
downloadgitea-d6741de934c625bd90763253ccf0ca7c2045e3a0.tar.gz
gitea-d6741de934c625bd90763253ccf0ca7c2045e3a0.zip
tweak code tags in markdown (#11000)
- remove whitespace before and after - increase horizontal padding - make blocks more apparant on arc-green
Diffstat (limited to 'web_src/less/themes')
-rw-r--r--web_src/less/themes/theme-arc-green.less5
1 files changed, 5 insertions, 0 deletions
diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less
index a979149c55..9aa077ab72 100644
--- a/web_src/less/themes/theme-arc-green.less
+++ b/web_src/less/themes/theme-arc-green.less
@@ -1584,6 +1584,11 @@ body .xdsoft_datetimepicker {
border-left-color: #888;
}
+.markdown:not(code) code,
+.markdown:not(code) tt {
+ background-color: rgba(0, 0, 0, .12);
+}
+
footer .container .links > * {
border-left-color: #888;
}