-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
240 lines (206 loc) · 5.17 KB
/
styles.css
File metadata and controls
240 lines (206 loc) · 5.17 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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
/* Import Roboto and mukta font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@300;400;500;700&display=swap');
/* Apply font globally */
body, h1, h2, h3, h4, h5, h6, p, a, button, table, blockquote {
font-family: 'Mukta', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
/* global font bigger */
html, body {
font-size: 20px; /* default is ~16px, so this is slightly bigger */
}
/* General page styling */
body {
background-color: #F5F3FA; /* Light lavender background */
color: #3B3A3D; /* Dark gray text for readability */
line-height: 1.6;
margin: 0;
padding: 0;
}
/* image align */
.center {
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
}
/* Section styling */
section {
border: 1px solid #D0C8E0; /* Soft purple-gray border */
background-color: #FFFFFF; /* White section background */
padding: 20px;
margin: 20px 0;
border-radius: 10px;
box-shadow: 0px 2px 5px rgba(0,0,0,0.05);
}
/* Headings */
h1, h2, h3 {
color: #6B5B95; /* Deep purple */
border-bottom: 2px solid #D0C8E0;
padding-bottom: 5px;
padding-top: 5px;
margin-top: 0em;
margin-bottom: 1em;
background: none;
border-radius: 0;
}
h1 { font-size: 2em; }
h2 { font-size: 1.7em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1em; }
h6 { font-size: 0.9em; }
h4, h5, h6 {
color: #6B5B95; /* Deep purple */
border-bottom: 0px; /* no underline */
padding-bottom: 5px;
padding-top: 0px;
margin-top: 0em;
margin-bottom: 1em;
background: none;
border-radius: 0;
}
/* Links */
a {
color: #6B5B95;
text-decoration: none;
}
a:hover {
color: #8C52FF;
text-decoration: underline;
}
/* Buttons */
button, .nav-button {
background-color: #8C52FF;
color: #FFFFFF;
border: none;
border-radius: 5px;
padding: 10px 20px;
cursor: pointer;
transition: background 0.3s, transform 0.2s;
}
button:hover, .nav-button:hover {
background-color: #A084CA;
transform: translateY(-2px);
}
/* Callouts */
/* callout font size */
.callout-note,
.callout-tip,
.callout-warning,
.callout-important,
.callout-caution,
.callout-question {
font-size: 1em; /* or your preferred size */
padding: 0em; /* optional: adjust padding as needed */
}
/* Callouts: Lighter than Quarto default colors */
.callout-note {
background-color: #FFFFFF; /* white background for notes */
border-left: 4px solid #2C7BE5; /* Quarto note: blue */
}
.callout-tip {
background-color: #F3FCF3; /* lighter green */
border-left: 4px solid #4CAF50;
}
.callout-warning {
background-color: #FFF9F0; /* lighter orange */
border-left: 4px solid #FFA500;
}
.callout-important {
background-color: #FFF7F7; /* lighter red */
border-left: 4px solid #FF4C4C;
}
.callout-caution {
background-color: #FFF9F0; /* lighter orange */
border-left: 4px solid #FFA500;
}
/* Tables inside callouts: always white */
.callout-note table,
.callout-tip table,
.callout-warning table,
.callout-important table,
.callout-caution table,
.callout-note table th,
.callout-tip table th,
.callout-warning table th,
.callout-important table th,
.callout-caution table th,
.callout-note table td,
.callout-tip table td,
.callout-warning table td,
.callout-important table td,
.callout-caution table td,
.callout-note table tr,
.callout-tip table tr,
.callout-warning table tr,
.callout-important table tr,
.callout-caution table tr,
.callout-note table tr:nth-child(even),
.callout-tip table tr:nth-child(even),
.callout-warning table tr:nth-child(even),
.callout-important table tr:nth-child(even),
.callout-caution table tr:nth-child(even),
.callout-note table tr:nth-child(odd),
.callout-tip table tr:nth-child(odd),
.callout-warning table tr:nth-child(odd),
.callout-important table tr:nth-child(odd),
.callout-caution table tr:nth-child(odd) {
background-color: #FFFFFF !important;
}
/* Tables */
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
box-shadow: 0px 2px 5px rgba(0,0,0,0.05);
}
table th, table td {
border: 1px solid #D0C8E0;
padding: 10px;
text-align: left;
}
table th {
background-color: #EDE7F6;
color: #6B5B95;
}
table tr:nth-child(even) {
background-color: #F5F3FA;
}
table tr:hover {
background-color: #EDE7F6;
}
/* Blockquotes */
blockquote {
border-left: 4px solid #6B5B95;
background: #F5F3FA;
padding: 15px;
margin: 20px 0;
color: #3B3A3D;
font-style: italic;
}
/* Content boxes */
.content-box {
background-color: #FFFFFF;
border: 1px solid #D0C8E0;
padding: 20px;
margin: 20px 0;
border-radius: 10px;
}
/* Navigation container */
.page-navigation {
display: flex;
justify-content: space-between;
margin-top: 3rem;
padding-top: 1.5rem;
border-top: 1px solid #D0C8E0; /* matches content-box border */
}
.code-block-title, .quarto-code-title {
display: block;
color: #6B5B95;
background: #F5F3FA;
font-weight: 500;
padding: 6px 12px;
border-radius: 6px 6px 0 0;
font-size: 1em;
}