@@ -36,6 +36,67 @@ body#project {
3636 overflow-x : hidden !important ;
3737}
3838
39+ /* ============================================
40+ TYPOGRAPHY - Headings
41+ ============================================ */
42+ /* General heading styles with proper hierarchy */
43+ h1 {
44+ color : var (--resteasy-primary-dark ) !important ;
45+ font-weight : 700 !important ;
46+ margin-top : 2rem !important ;
47+ margin-bottom : 1.5rem !important ;
48+ line-height : 1.2 !important ;
49+ }
50+
51+ h2 {
52+ color : var (--resteasy-primary ) !important ;
53+ font-weight : 600 !important ;
54+ margin-top : 2.5rem !important ;
55+ margin-bottom : 1rem !important ;
56+ line-height : 1.3 !important ;
57+ }
58+
59+ h3 {
60+ color : var (--resteasy-primary-light ) !important ;
61+ font-weight : 600 !important ;
62+ margin-top : 2rem !important ;
63+ margin-bottom : 0.75rem !important ;
64+ line-height : 1.4 !important ;
65+ }
66+
67+ h4 {
68+ color : var (--resteasy-text-muted ) !important ;
69+ font-weight : 600 !important ;
70+ margin-top : 1.5rem !important ;
71+ margin-bottom : 0.5rem !important ;
72+ line-height : 1.4 !important ;
73+ }
74+
75+ /* First heading on page shouldn't have top margin */
76+ .container > h1 : first-child ,
77+ .container > h2 : first-child ,
78+ # main > h1 : first-child ,
79+ # main > h2 : first-child {
80+ margin-top : 0 !important ;
81+ }
82+
83+ /* Dark mode heading colors */
84+ [data-bs-theme = "dark" ] h1 {
85+ color : # e6edf3 !important ;
86+ }
87+
88+ [data-bs-theme = "dark" ] h2 {
89+ color : var (--resteasy-accent-light ) !important ;
90+ }
91+
92+ [data-bs-theme = "dark" ] h3 {
93+ color : var (--resteasy-accent ) !important ;
94+ }
95+
96+ [data-bs-theme = "dark" ] h4 {
97+ color : # 8b949e !important ;
98+ }
99+
39100/* Fix Bootstrap containers - no fixed heights! */
40101.container ,
41102.container-fluid {
0 commit comments