-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
209 lines (177 loc) · 4.1 KB
/
styles.css
File metadata and controls
209 lines (177 loc) · 4.1 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
/* Custom styles for your Quarto book */
/* Add your custom CSS here to override default styles */
/* Example: Customize heading colors */
/*
h1 {
color: #2c3e50;
}
h2 {
color: #34495e;
}
*/
/* Example: Add custom margin to paragraphs */
/*
p {
margin-bottom: 1.2em;
}
*/
/* Example: Style code blocks */
/*
pre {
background-color: #f6f8fa;
border-radius: 6px;
padding: 16px;
}
*/
/* Example: Customize callout boxes */
/*
.callout {
border-left: 4px solid #007bff;
padding-left: 1em;
}
*/
/* PR Preview Feature Styles */
/* Preview combined banner (replaces both file-level and content-level banners) */
.preview-combined-banner {
background-color: #fff3cd;
border-left: 4px solid #ffc107;
padding: 12px 16px;
margin-bottom: 20px;
border-radius: 4px;
font-size: 14px;
}
.preview-combined-banner a {
color: #0066cc;
text-decoration: underline;
font-weight: 600;
}
.preview-combined-banner a:hover {
color: #0052a3;
}
/* Dark mode support for combined banner */
body.quarto-dark .preview-combined-banner {
background-color: #3d3d00;
border-left-color: #ffeb3b;
color: #ffd700;
}
body.quarto-dark .preview-combined-banner a {
color: #64b5f6;
}
body.quarto-dark .preview-combined-banner a:hover {
color: #90caf9;
}
/* Legacy banner styles (kept for backward compatibility) */
.preview-changed-banner {
background-color: #fff3cd;
border-left: 4px solid #ffc107;
padding: 12px 16px;
margin-bottom: 20px;
border-radius: 4px;
font-size: 14px;
}
/* Dark mode support for legacy preview banner */
body.quarto-dark .preview-changed-banner {
background-color: #3d3d00;
border-left-color: #ffeb3b;
color: #ffd700;
}
.preview-content-changed-notice {
background-color: #e7f3ff;
border-left: 4px solid #2196F3;
padding: 12px 16px;
margin-bottom: 20px;
border-radius: 4px;
font-size: 14px;
}
/* Dark mode support for content change notice */
body.quarto-dark .preview-content-changed-notice {
background-color: #1a3a52;
border-left-color: #64b5f6;
color: #90caf9;
}
/* Inline text highlighting for changed content */
mark.preview-text-changed {
background-color: #ffeb3b;
border-bottom: 2px solid #ffc107;
padding: 2px 4px;
border-radius: 3px;
font-weight: 500;
}
mark.preview-text-added {
background-color: #a5d6a7;
border-bottom: 2px solid #66bb6a;
padding: 2px 4px;
border-radius: 3px;
font-weight: 500;
}
mark.preview-element-added {
background-color: #bbdefb;
border-left: 4px solid #42a5f5;
padding-left: 8px;
display: inline;
font-weight: 500;
}
/* Dark mode support for inline highlights */
body.quarto-dark mark.preview-text-changed {
background-color: #fdd835;
border-bottom-color: #fbc02d;
color: #000;
}
body.quarto-dark mark.preview-text-added {
background-color: #66bb6a;
border-bottom-color: #43a047;
color: #000;
}
body.quarto-dark mark.preview-element-added {
background-color: #42a5f5;
border-left-color: #1e88e5;
color: #000;
}
/* Table of contents highlighting for changed chapters */
a.preview-toc-changed {
background-color: #fff3cd;
border-left: 3px solid #ffc107;
padding-left: 4px;
font-weight: 600;
}
/* Dark mode support for TOC highlighting */
body.quarto-dark a.preview-toc-changed {
background-color: #3d3d00;
border-left-color: #ffeb3b;
color: #ffd700;
}
/* Home page banner for changed chapters */
.preview-home-changes-banner {
background-color: #e3f2fd;
border-left: 4px solid #2196F3;
padding: 12px 16px;
margin-bottom: 20px;
border-radius: 4px;
font-size: 14px;
}
.preview-home-changes-banner a {
color: #1976d2;
text-decoration: underline;
font-weight: 600;
margin-right: 4px;
}
.preview-home-changes-banner a:hover {
color: #0d47a1;
}
/* Dark mode support for home banner */
body.quarto-dark .preview-home-changes-banner {
background-color: #0d47a1;
border-left-color: #64b5f6;
color: #e3f2fd;
}
body.quarto-dark .preview-home-changes-banner a {
color: #90caf9;
}
body.quarto-dark .preview-home-changes-banner a:hover {
color: #bbdefb;
}
/* Inline code styling for dark mode */
body.quarto-dark code:not(pre > code) {
background-color: #404040;
color: #e6e6e6;
}