Skip to content

Commit d860f5a

Browse files
authored
Merge pull request #51 from madhuramendis/main
Improve styles
2 parents 1dd05df + fa1d549 commit d860f5a

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

css/openchoreo-docs.css

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Improved OpenChoreo Documentation Styles */
21

32
/* Base Layout */
43
.sidebar {
@@ -19,11 +18,11 @@ main.py-4 {
1918

2019
/* Typography Improvements */
2120
main h1 {
22-
font-size: 2.2rem;
21+
font-size: 2.5rem;
2322
font-weight: 600;
2423
margin-bottom: 1.5rem;
2524
color: #212529;
26-
border-bottom: 2px solid #e9ecef;
25+
/* border-bottom: 2px solid #e9ecef; */
2726
padding-bottom: 0.5rem;
2827
}
2928

@@ -142,7 +141,7 @@ table tbody tr:nth-child(even) {
142141
font-size: 0.875rem;
143142
font-weight: 600;
144143
text-transform: uppercase;
145-
color: #6c757d;
144+
color: #6c757d !important;
146145
margin-bottom: 1rem;
147146
}
148147

@@ -318,6 +317,20 @@ body.cDarkMode p a {
318317

319318
}
320319

320+
body.cDarkMode .accordion-body a.active {
321+
color: #36a1ff !important;
322+
font-weight: 500;
323+
}
324+
325+
326+
body.cDarkMode .sidebar {
327+
position: sticky;
328+
top: 56px;
329+
height: calc(100vh - 56px);
330+
overflow-y: auto;
331+
background-color: #f8f9fa;
332+
border-right: 1px solid #22282d;
333+
}
321334
/* #mainAccordion a {
322335
color: #B7B7B7;
323336
} */

0 commit comments

Comments
 (0)