File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /* Minimal CSS for visual hierarchy: Class Names > Section Headers > Methods/Attributes */
2+
3+ /* ============================================
4+ TOP-LEVEL CLASS NAMES (Most Prominent)
5+ ============================================ */
6+
7+ /* Target only top-level class signatures */
8+ dl .py .class > dt {
9+ font-size : 110% !important ;
10+ color : # 2c3e50 !important ;
11+ }
12+
13+ /* ============================================
14+ METHODS/ATTRIBUTES (Normal Size)
15+ ============================================ */
16+
17+ /* Keep methods and attributes at normal size - don't enlarge them */
18+ dl .py .method > dt ,
19+ dl .py .function > dt ,
20+ dl .py .attribute > dt {
21+ font-size : 100% !important ;
22+ }
23+
24+ /* ============================================
25+ SECTION HEADERS (Distinguished with Color)
26+ ============================================ */
27+
28+ /* Target bold paragraphs that are section headers (Parameters, Returns, etc.) */
29+ dd > p > strong : only-child {
30+ font-size : 108% ;
31+ display : inline-block;
32+ color : # 2980b9 ;
33+ }
34+
35+ /* Also target any standalone bold text that serves as headers */
36+ .py dd > p : first-child > strong : first-child : last-child {
37+ font-size : 108% ;
38+ color : # 2980b9 ;
39+ }
You can’t perform that action at this time.
0 commit comments