Skip to content

Commit 1493076

Browse files
authored
Updated the header color and moved away from yellow shade to more dar… (#2104)
…ker one
1 parent 0773595 commit 1493076

File tree

2 files changed

+31
-6
lines changed

2 files changed

+31
-6
lines changed

docs/_static/js/header_border.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const header_div = document.querySelector(".md-header");
22
const navbar_div = document.querySelector(".md-tabs");
3-
const border_css = "2px solid #bd8526";
3+
const border_css = "2px solid #14151a";
44

55
// Add smooth transition to borders
66
if (header_div) {

docs/extra/ragas-modern.css

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
--md-primary-fg-color--light: #d19a3d;
1010
--md-primary-fg-color--dark: #a0711e;
1111
--md-accent-fg-color: #bd8526;
12+
--md-default-bg-color: #ffffff;
1213
}
1314

1415
[data-md-color-scheme="slate"] {
@@ -19,23 +20,33 @@
1920
--md-default-bg-color: #171717;
2021
}
2122

23+
/* Header background color for both light and dark modes */
24+
.md-header {
25+
background-color: #14151a !important;
26+
}
27+
28+
/* Tab navigation background color */
29+
.md-tabs {
30+
background-color: #14151a !important;
31+
}
32+
2233
/* Only minimal, essential customizations - let Material Design handle the rest */
2334

24-
/* Reduce navigation font size only */
35+
/* Navigation font size */
2536
.md-nav {
26-
font-size: 0.8rem;
37+
font-size: 0.9rem;
2738
}
2839

2940
.md-nav__link {
30-
font-size: 0.8rem;
41+
font-size: 0.9rem;
3142
}
3243

3344
.md-nav__title {
34-
font-size: 0.8rem;
45+
font-size: 0.9rem;
3546
}
3647

3748
.md-tabs__link {
38-
font-size: 0.8rem;
49+
font-size: 0.9rem;
3950
}
4051

4152
/* Clean repository info*/
@@ -50,6 +61,20 @@
5061
/* Ensure proper font family application */
5162
body {
5263
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
64+
font-size: 1.1rem; /* Increased from default */
65+
}
66+
67+
/* Material Design typography overrides for main content */
68+
.md-typeset {
69+
font-size: 1.01rem !important;
70+
}
71+
72+
.md-typeset p {
73+
font-size: 1.01rem !important;
74+
}
75+
76+
.md-typeset li {
77+
font-size: 1.01rem !important;
5378
}
5479

5580
code, kbd, samp, pre {

0 commit comments

Comments
 (0)