Skip to content

Commit d89210c

Browse files
committed
Theme fixes
Made srcref flexible Changed background for inline code samples
1 parent c706100 commit d89210c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/mongodb/{{ .Page.Site.Data.mongodb.githubRepo }}/blob/{{ .Page.Site.Data.mongodb.githubBranch }}/{{ .Get 0 }}
1+
https://github.com/mongodb/{{ .Page.Site.Data.mongodb.githubRepo }}/blob/{{ .Page.Site.Data.mongodb.githubBranch }}/{{ if eq (in (.Get 0) "src/") false }}src/{{ end }}{{ .Get 0 }}

docs/reference/themes/mongodb/static/css/overrides.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@
7777
}
7878

7979
code {
80-
background-color: #ddd;
80+
background-color: #f5f6f7;
8181
color: #494747;
8282
}
83+
84+
a code {
85+
color: #006cbc;
86+
}

0 commit comments

Comments
 (0)