File tree Expand file tree Collapse file tree 3 files changed +70
-4
lines changed Expand file tree Collapse file tree 3 files changed +70
-4
lines changed Original file line number Diff line number Diff line change 1+ {% extends "base.html" %}
2+
3+ {% block styles %}
4+ {{ super() }}
5+ < link href ="https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap " rel ="stylesheet ">
6+ < style >
7+ .md-typeset h1 ,
8+ .md-typeset h2 ,
9+ .md-typeset h3 ,
10+ .md-typeset h4 ,
11+ .md-typeset h5 ,
12+ .md-typeset h6 {
13+ font-family : 'Poppins' , sans-serif;
14+ font-weight : 600 ;
15+ }
16+ </ style >
17+ {% endblock %}
Original file line number Diff line number Diff line change 1+ /* Light theme */
2+ [data-md-color-scheme = "default" ] {
3+ --md-primary-fg-color : # 0A4D68 ; /* Dark teal for nav bar and headers */
4+ --md-primary-fg-color--light : # 0A4D68 ; /* Same for consistency */
5+ --md-primary-fg-color--dark : # 0A4D68 ; /* Same for consistency */
6+ --md-accent-fg-color : # FF6B6B ; /* Coral red for links and buttons */
7+ --md-default-bg-color : # F8EDE3 ; /* Light beige for background */
8+ --md-default-fg-color : # 1A2E44 ; /* Dark navy for text */
9+ --md-typeset-a-color : # FF6B6B ; /* Coral red for links */
10+ }
11+
12+ /* Dark theme */
13+ [data-md-color-scheme = "slate" ] {
14+ --md-primary-fg-color : # 0A4D68 ; /* Dark teal for nav bar and headers */
15+ --md-primary-fg-color--light : # 0A4D68 ;
16+ --md-primary-fg-color--dark : # 0A4D68 ;
17+ --md-accent-fg-color : # FF6B6B ; /* Coral red for links and buttons */
18+ --md-default-bg-color : # 1A2E44 ; /* Dark navy for background */
19+ --md-default-fg-color : # F8EDE3 ; /* Light beige for text */
20+ --md-typeset-a-color : # FF6B6B ; /* Coral red for links */
21+ }
22+
23+ /* Ensure links have consistent hover color */
24+ .md-typeset a : hover {
25+ color : # FF8E8E ; /* Lighter coral for hover, matching index.html */
26+ }
27+
28+ /* Adjust code block background for better contrast */
29+ .md-typeset code {
30+ background-color : # f5f5f5 ; /* Light gray for light theme code blocks */
31+ }
32+
33+ [data-md-color-scheme = "slate" ] .md-typeset code {
34+ background-color : # 2A3B52 ; /* Slightly lighter navy for dark theme code blocks */
35+ }
Original file line number Diff line number Diff line change @@ -5,18 +5,32 @@ use_directory_urls: true
55theme :
66 name : material
77 palette :
8+ # Light theme
89 - scheme : default
9- primary : teal
10- accent : red
10+ primary : custom
11+ accent : custom
12+ toggle :
13+ icon : material/brightness-7
14+ name : Switch to dark mode
15+ # Dark theme
1116 - scheme : slate
12- primary : teal
13- accent : red
17+ primary : custom
18+ accent : custom
19+ toggle :
20+ icon : material/brightness-4
21+ name : Switch to light mode
22+ font :
23+ text : Roboto
24+ code : Roboto Mono
1425 features :
1526 - content.code.copy
1627 - navigation.sections
1728 - navigation.top
1829 - search.suggest
1930 - search.highlight
31+ custom_dir : docs/overrides
32+ extra_css :
33+ - stylesheets/extra.css
2034nav :
2135 - Home : index.md
2236 - Overview : overview.md
You can’t perform that action at this time.
0 commit comments