Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

css: Update code element styling for documentation pages.

Lauryn Menard262debb72b03
diff --git a/web/styles/portico/markdown.css b/web/styles/portico/markdown.css
index 8a472bddec6..eb0307a5599 100644
--- a/web/styles/portico/markdown.css
+++ b/web/styles/portico/markdown.css
@@ -217,6 +217,10 @@
a {
color: hsl(176, 46%, 41%);
font-weight: 600;
+
+ code {
+ color: hsl(176, 46%, 41%);
+ }
}
strong {
@@ -363,20 +367,18 @@
}
code {
- /* Different from zulip.css */
- font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
+ /* Same font-family as zulip.css */
+ font-family: "Source Code Pro", monospace;
/* Same as base rules for code elements in rendered_markdown.css */
font-size: 0.825em;
unicode-bidi: embed;
direction: ltr;
color: hsl(0, 0%, 0%);
- border: 1px solid hsl(240, 13%, 90%);
border-radius: 3px;
/* Different from base rules for code elements in rendered_markdown.css */
white-space: initial;
- padding: 0;
- padding-right: 4px;
- background-color: hsl(0, 0%, 100%);
+ padding: 0 4px;
+ background-color: hsl(0, 0%, 93%);
}
pre {