Skip to content

Commit

Permalink
Further improve styling
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Aug 17, 2024
1 parent 16ee180 commit 24d9270
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions lib/rdoc/generator/template/darkfish/css/rdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
--secondary-color: #246b4b; /* A darker, muted green */
--text-color: #333;
--background-color: #f8f9fa;
--link-color: #1a7a68; /* A muted teal-green color */
--link-color: #246b4b; /* A muted teal-green color */
--link-hover-color: #25a28a; /* A slightly brighter teal-green */
--border-color: #e0e0e0;
--sidebar-text-color: #2c3e50; /* Dark blue-gray for contrast */
Expand Down Expand Up @@ -106,20 +106,8 @@ pre {
border-radius: 6px;
padding: 16px;
overflow-x: auto;
font-size: 14px;
line-height: 1.45;
margin: 1em 0; /* Add some vertical margin */
}

pre {
background-color: #f0f4f8; /* Slightly darker gray background */
border: 1px solid #d1d5da;
border-radius: 6px;
padding: 16px;
overflow-x: auto;
font-family: 'Source Code Pro', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-size: 14px;
line-height: 1.45;
font-size: 15px; /* Increased from 14px */
line-height: 1.5; /* Slightly increased for better readability with larger font */
margin: 1em 0; /* Add some vertical margin */
}

Expand All @@ -128,7 +116,7 @@ pre {
.ruby-keyword { color: #d73a49; } /* Red */
.ruby-ivar { color: #e36209; } /* Orange */
.ruby-operator { color: #005cc5; } /* Blue */
.ruby-identifier { color: #6f42c1; } /* Purple */
.ruby-identifier { color: #0f6e81; } /* Darker teal for identifiers */
.ruby-node { color: #22863a; } /* Green */
.ruby-comment { color: #6a737d; } /* Gray */
.ruby-regexp { color: #032f62; } /* Navy */
Expand Down

0 comments on commit 24d9270

Please sign in to comment.