1+ /* ==============================================
2+ MKDOCS MATERIAL CUSTOM CSS
3+ ============================================== */
4+
5+ /* Font Imports */
16@import url ("https://fonts.googleapis.com/css2?family=Raleway:wght@900&display=swap" );
27@import url ("https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap" );
38
4- : root > * {
5- --md-primary-fg-color : # 1B58A4 ;
6- --md-primary-fg-color--light : # 4892ec ;
7- --md-primary-fg-color--dark : # 1B58A4 ;
8- }
9-
10- h1 ,
11- h2 ,
12- h3 ,
13- h4 {
9+ /* ==============================================
10+ CSS VARIABLES - BLUE COLOR PALETTE
11+ ============================================== */
12+ : root {
13+ /* Primary Blue Colors */
14+ --primary-blue : # 1B58A4 ;
15+ --primary-blue-light : # 4892ec ;
16+ --primary-blue-dark : # 1B58A4 ;
17+
18+ /* Additional Blue Shades */
19+ --blue-darker : # 0f3d73 ;
20+ --blue-lighter : # 6bb6ff ;
21+ --blue-accent : # 2094f3 ;
22+
23+ /* Neutral Colors */
24+ --white : # ffffff ;
25+ --black : # 000000 ;
26+ --gray-light : # 757575 ;
27+ --gray-medium : # 9e9e9e ;
28+ }
29+
30+ /* ==============================================
31+ MKDOCS MATERIAL COLOR SCHEME
32+ ============================================== */
33+
34+ /* Custom Primary Color Definition */
35+ [data-md-color-primary = custom ] {
36+ --md-primary-fg-color : var (--primary-blue );
37+ --md-primary-fg-color--light : var (--primary-blue-light );
38+ --md-primary-fg-color--dark : var (--primary-blue-dark );
39+ }
40+
41+ /* ==============================================
42+ TYPOGRAPHY
43+ ============================================== */
44+
45+ /* Headings */
46+ h1 , h2 , h3 , h4 {
1447 font-family : "Raleway" , sans-serif;
1548}
1649
2760 font-size : 30px ;
2861}
2962
30- p ,
31- a ,
32- li {
63+ /* Body Text */
64+ p , a , li {
3365 font-family : "Poppins" , sans-serif;
3466}
3567
36- .md-typeset .admonition {
37- font-size : 0.8rem ;
38- font-weight : 300 ;
39- line-height : 1.1 ;
40- }
41-
68+ /* Navigation */
4269.md-nav {
4370 font-family : "Raleway" , sans-serif;
4471 font-weight : 300 ;
4572 font-size : 0.7rem ;
4673}
4774
75+ /* ==============================================
76+ LAYOUT
77+ ============================================== */
78+
79+ /* Grid Layout */
80+ .md-grid {
81+ max-width : initial;
82+ }
83+
84+ /* Header Logo */
4885.md-header__button .md-logo img {
4986 height : 2.4rem ;
5087}
5188
52- .md-grid {
53- max-width : initial;
89+ /* ==============================================
90+ FOOTER STYLING
91+ ============================================== */
92+
93+ /* Footer Background and Text */
94+ .md-footer {
95+ color : var (--white ) !important ;
96+ }
97+
98+ /* Footer Links and Navigation */
99+ .md-footer__link ,
100+ .md-footer__title ,
101+ .md-footer__direction {
102+ color : var (--white ) !important ;
103+ }
104+
105+ /* Footer Icons */
106+ .md-footer .md-icon {
107+ color : var (--white ) !important ;
108+ }
109+
110+ /* Footer Copyright/Generator Text */
111+ .md-copyright {
112+ color : var (--white ) !important ;
113+ }
114+
115+ /* Footer Meta Content */
116+ .md-footer-meta {
117+ color : var (--white ) !important ;
54118}
55119
56- .version-tag {
57- background-color : # ffff ; /* Green */
58- border : none;
59- color : # 2094f3 ;
60- padding : 10px ;
61- text-align : center;
62- display : inline-block;
63- font-size : 16px ;
64- margin : 4px 2px ;
65- border-radius : 4px ;
120+ /* All Footer Links */
121+ .md-footer a {
122+ color : var (--white ) !important ;
66123}
67124
125+ /* ==============================================
126+ LOGO GRID LAYOUT
127+ ============================================== */
128+
68129.logo-grid {
69130 display : grid;
70131 gap : 1rem ;
76137 justify-content : center;
77138}
78139
140+ /* Responsive Grid Layout */
79141@media (min-width : 768px ) {
80142 .logo-grid {
81143 gap : 2rem ;
90152 }
91153}
92154
155+ /* ==============================================
156+ THEME MODE HANDLING
157+ ============================================== */
158+
159+ /* Light Mode Specific */
160+ body [data-md-color-scheme = "default" ] {
161+ /* Add light mode specific styles here */
162+ }
163+
164+ /* Dark Mode Specific */
165+ body [data-md-color-scheme = "slate" ] {
166+ /* Add dark mode specific styles here */
167+ }
168+
169+ /* Theme Toggle Visibility */
93170body [data-md-color-scheme = "slate" ] .show-light-mode ,
94171body [data-md-color-scheme = "default" ] .show-dark-mode {
95172 display : none;
@@ -98,53 +175,4 @@ body[data-md-color-scheme="default"] .show-dark-mode {
98175body [data-md-color-scheme = "default" ] .show-light-mode ,
99176body [data-md-color-scheme = "slate" ] .show-dark-mode {
100177 display : unset;
101- }
102-
103- /* ========================================
104- ACCESSIBILITY CONTRAST FIXES
105- ======================================== */
106-
107- /* Fix header topic and source repository text */
108- .md-header__topic .md-ellipsis ,
109- .md-header__source .md-source__repository {
110- color : # ffffff !important ;
111- }
112-
113- /* Fix navigation tabs contrast */
114- .md-tabs__link {
115- color : # ffffff !important ;
116- }
117-
118- /* Fix active navigation link */
119- .md-nav__link--active {
120- color : # 1976d2 !important ;
121- }
122-
123- /* Fix all links for better contrast */
124- a {
125- color : # 1976d2 !important ;
126- }
127-
128- /* Fix copyright text */
129- .md-copyright {
130- color : # 757575 !important ;
131- }
132-
133- /* Dark mode adjustments */
134- body [data-md-color-scheme = "slate" ] .md-header__topic .md-ellipsis ,
135- body [data-md-color-scheme = "slate" ] .md-header__source .md-source__repository {
136- color : # ffffff !important ;
137- }
138-
139- body [data-md-color-scheme = "slate" ] .md-tabs__link {
140- color : # ffffff !important ;
141- }
142-
143- /* Dark mode link adjustments */
144- body [data-md-color-scheme = "slate" ] a {
145- color : # 64b5f6 !important ;
146- }
147-
148- body [data-md-color-scheme = "slate" ] .md-copyright {
149- color : # 9e9e9e !important ;
150178}
0 commit comments