Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
95 lines (72 loc) · 1.69 KB
/
Copy pathstyles.css
File metadata and controls
95 lines (72 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
.hero {
padding: 2rem;
border-radius: 12px;
background: #f4f8fb;
margin-bottom: 1.5rem;
}
.callout-important {
border-left: 5px solid #0d6efd;
}
.schedule-table td, .schedule-table th {
vertical-align: top;
}
/* KEEP EVERYTHING ELSE (especially body font) UNCHANGED */
/* chapter container stays neutral */
.chapter-list {
max-width: 900px;
margin-top: 20px;
}
/* FLOATING CHAPTER BLOCK (no font changes) */
.chapter {
border: 1px solid rgba(17, 24, 39, 0.08);
border-left: 4px solid rgba(59, 130, 246, 0.35);
border-radius: 12px;
margin-bottom: 12px;
background: white;
box-shadow: 0 1px 4px rgba(0,0,0,0.04);
transition: all 0.2s ease;
}
/* hover = subtle lift only */
.chapter:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.06);
border-left: 4px solid rgba(59, 130, 246, 0.6);
}
/* IMPORTANT: do NOT touch font family here */
.chapter summary {
cursor: pointer;
list-style: none;
font-size: 16px;
font-weight: 600;
color: #111827;
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 14px;
border-radius: 12px;
}
/* hover highlight only */
.chapter summary:hover {
background: rgba(59, 130, 246, 0.05);
}
/* remove default arrow */
.chapter summary::-webkit-details-marker {
display: none;
}
/* expanded content (no font changes, inherit everything) */
.chapter-content {
margin: 10px 14px 14px 14px;
font-size: 14px;
line-height: 1.6;
color: #374151;
background: rgba(248, 250, 252, 0.9);
border: 1px solid rgba(17, 24, 39, 0.06);
border-radius: 10px;
padding: 12px 14px;
}
/* tag stays untouched visually */
.tag {
font-size: 12px;
color: #6b7280;
font-weight: 400;
}