Skip to content

Commit 61528a6

Browse files
committed
Use the same red as ruby-lang.org
1 parent 46e0d36 commit 61528a6

File tree

1 file changed

+7
-7
lines changed
  • lib/rdoc/generator/template/darkfish/css

1 file changed

+7
-7
lines changed

lib/rdoc/generator/template/darkfish/css/rdoc.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
/* 1. Variables and Root Styles */
1212
:root {
1313
--sidebar-width: 300px;
14-
--highlight-color: #b61d1c; /* Reddish color for accents and headings */
14+
--highlight-color: #cc342d; /* Reddish color for accents and headings */
1515
--secondary-highlight-color: #c83045; /* Darker reddish color for secondary highlights */
1616
--text-color: #505050; /* Dark bluish-grey for text */
1717
--background-color: #fefefe; /* Near white background */
18-
--code-block-background-color: #e6e6e6; /* Slightly darker grey for code blocks */
19-
--link-color: #3F3D56; /* Dark bluish-grey for links */
20-
--link-hover-color: #b61d1c; /* Reddish color on hover */
21-
--border-color: #e0e0e0; /* General border color */
18+
--code-block-background-color: #f6f6f3; /* Slightly darker grey for code blocks */
19+
--link-color: #3f3d56; /* Dark bluish-grey for links */
20+
--link-hover-color: var(--highlight-color); /* Reddish color on hover */
21+
--border-color: #e0e0e0;; /* General border color */
2222
--source-code-toggle-color: var(--secondary-highlight-color);
2323
--scrollbar-thumb-hover-background: #505050; /* Hover color for scrollbar thumb */
2424
--table-header-background-color: #eceaed;
@@ -84,7 +84,7 @@ h4:target,
8484
h5:target,
8585
h6:target {
8686
margin-left: -10px;
87-
border-left: 10px solid var(--code-block-background-color);
87+
border-left: 10px solid var(--border-color);
8888
}
8989

9090
/* 4. Links */
@@ -553,7 +553,7 @@ main .method-detail {
553553

554554
main .method-detail:target {
555555
margin-left: -10px;
556-
border-left: 10px solid var(--code-block-background-color);
556+
border-left: 10px solid var(--border-color);
557557
}
558558

559559
main .method-header {

0 commit comments

Comments
 (0)