Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDennis Schubert <mail@dennis-schubert.de>2022-08-26 20:48:49 +0300
committerDennis Schubert <mail@dennis-schubert.de>2022-08-26 21:24:32 +0300
commit0ede0233df99652b87bc321061d8acfbc101b3a1 (patch)
treeca6f144290bd7437ea9f7c1790196beb922ecd72 /app
parent58483bdd2cdf422cda80c7194d2298c8bb84708c (diff)
Make inline code inside links show the link color.
Fixes #8386
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/code.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/assets/stylesheets/code.scss b/app/assets/stylesheets/code.scss
index aae6a603f..6b940e5f0 100644
--- a/app/assets/stylesheets/code.scss
+++ b/app/assets/stylesheets/code.scss
@@ -5,3 +5,12 @@ pre {
white-space: pre;
code { white-space: pre; }
}
+
+// For inline-code inside links, let's force the color to the default link
+// color to make them be recognizable as links.
+p a {
+ code,
+ pre {
+ color: $link-color;
+ }
+}