File tree Expand file tree Collapse file tree 1 file changed +11
-22
lines changed
Expand file tree Collapse file tree 1 file changed +11
-22
lines changed Original file line number Diff line number Diff line change 111111 .btn-hero-primary : hover { background : # 2ea043 ; }
112112
113113 /* ── Content overrides ── */
114+ /* Set base text color at the container level to defeat Cayman's teal cascade */
115+ .main-content ,
116+ .main-content * {
117+ color : # 24292f ;
118+ }
114119 .main-content {
115120 max-width : 920px ;
116121 }
117- /* Fix Cayman's teal color bleed on all heading levels */
118- .main-content h1 ,
119- .main-content h2 ,
120- .main-content h3 ,
121- .main-content h4 ,
122- .main-content h5 ,
123- .main-content h6 {
124- color : # 24292f !important ;
125- }
122+ /* Headings */
126123 .main-content h2 {
127124 border-bottom : 1px solid # d0d7de ;
128125 padding-bottom : 0.4rem ;
131128 .main-content h3 {
132129 margin-top : 1.5rem ;
133130 }
134- /* Fix teal text from Cayman link color cascade */
135- .main-content p ,
136- .main-content li ,
137- .main-content dt ,
138- .main-content dd ,
139- .main-content td ,
140- .main-content th {
141- color : # 24292f !important ;
142- }
131+ /* Blockquote */
143132 .main-content blockquote {
144133 border-left : 4px solid # d0d7de ;
145134 padding : 0.6rem 1rem ;
146135 background : # f6f8fa ;
147136 border-radius : 0 4px 4px 0 ;
148137 margin : 1rem 0 ;
149138 }
150- .main-content blockquote p { margin : 0 ; color : # 57606a !important ; }
139+ .main-content blockquote p { margin : 0 ; color : # 57606a ; }
140+ /* Links — restore blue on top of the * reset */
151141 .main-content a { color : # 0969da !important ; }
152142 .main-content a : hover { text-decoration : underline; }
153143 /* Inline code */
157147 border-radius : 4px ;
158148 padding : 1px 5px ;
159149 font-size : 0.88em ;
160- color : # 24292f !important ;
161150 }
162- /* Block code — distinct from page bg */
151+ /* Block code — distinct background from page */
163152 .main-content pre {
164153 background : # f0f2f5 ;
165154 border : 1px solid # d0d7de ;
166155 border-radius : 6px ;
167156 padding : 1rem 1.2rem ;
157+ overflow-x : auto;
168158 }
169159 .main-content pre code {
170160 background : none;
171161 border : none;
172162 padding : 0 ;
173163 font-size : 0.85em ;
174- color : # 24292f !important ;
175164 }
176165 /* Tables */
177166 .main-content table {
You can’t perform that action at this time.
0 commit comments