Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Oct 12, 2024
1 parent 1bae268 commit f74f45d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions lib/rdoc/generator/template/darkfish/css/rdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
--code-text-color: #505050; /* Medium grey for code text */
--scrollbar-thumb-hover-background: #505050; /* Hover color for scrollbar thumb */
--source-code-toggle-color: #c83045;
--table-header-background-color: #eceaed;
--table-td-background-color: #f5f4f6;

/* Font family variables */
--font-primary: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
Expand All @@ -39,8 +41,8 @@
body {
background: var(--background-color);
font-family: var(--font-primary);
color: var(--text-color);
font-weight: 400;
color: var(--text-color);
line-height: 1.6;

/* Layout */
Expand Down Expand Up @@ -121,12 +123,11 @@ pre {
font-size: 15px;
line-height: 1.5;
margin: 1em 0;
color: var(--code-text-color);
}

code {
background-color: var(--code-block-background-color);
padding: 0.2em 0.4em;
padding: 0.1em 0.3em;
border-radius: 3px;
font-size: 85%;
}
Expand All @@ -144,11 +145,11 @@ table tr th, table tr td {
}

table tr th {
color: var(--text-color);
background-color: var(--table-header-background-color);
}

table tr:nth-child(even) td {
background-color: var(--code-block-background-color);
background-color: var(--table-td-background-color);
}

/* 7. Navigation and Sidebar */
Expand All @@ -175,7 +176,6 @@ nav[hidden] {
nav footer {
padding: 1em;
border-top: 1px solid var(--nav-border-color);
color: var(--text-color);
}

nav .nav-section {
Expand Down Expand Up @@ -354,7 +354,7 @@ main blockquote {

/* Lists */
main li > p {
margin-bottom: 0.5em;
margin: 0.5em;
}

/* Definition Lists */
Expand Down Expand Up @@ -448,6 +448,7 @@ main header h3 {
}

/* Syntax Highlighting - Gruvbox Light Scheme */

.ruby-constant { color: #AF3A03; } /* Dark Orange */
.ruby-keyword { color: #9D0006; } /* Dark Red */
.ruby-ivar { color: #B57614; } /* Brown */
Expand Down Expand Up @@ -521,7 +522,6 @@ main .method-heading {
font-family: var(--font-code);
font-size: 110%;
font-weight: bold;
color: var(--primary-color);
}

main .method-heading::after {
Expand Down Expand Up @@ -647,7 +647,7 @@ main .attribute-access-type {
}
}

/* Scrollbar Styling (Optional) */
/* Scrollbar Styling */
::-webkit-scrollbar {
width: 8px;
}
Expand Down

0 comments on commit f74f45d

Please sign in to comment.