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
|
:root {
--bg-color: #1a1b26; /* Tokyo Night style */
--card-bg: #24283b;
--border-color: #414868;
--text-color: #a9b1d6;
--accent-color: #7aa2f7;
--prompt-color: #bb9af7;
--quote-color: #cfc9c2;
--font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Source Code Pro', Menlo, Monaco, Consolas, monospace;
}
body {
background-color: var(--bg-color);
color: var(--text-color);
font-family: var(--font-family);
line-height: 1.6;
padding: 2rem;
max-width: 800px;
margin: 0 auto;
}
/* Simulated terminal prompt */
h1::before, h2::before {
content: "λ ";
color: var(--prompt-color);
}
a {
color: var(--accent-color);
text-decoration: none;
}
a:hover {
text-decoration: underline;
background: rgba(122, 162, 247, 0.1);
}
/* Navbar styling to match the vibe */
nav {
border-bottom: 1px solid var(--border-color);
padding-bottom: 1rem;
margin-bottom: 2rem;
}
nav a {
margin-right: 1.5rem;
font-weight: bold;
}
/* Code & Preformatted Blocks */
pre {
background-color: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: 4px;
padding: 1rem;
overflow-x: auto;
font-family: var(--font-family);
font-size: 0.9rem;
line-height: 1.5;
}
code {
font-family: var(--font-family);
font-size: 0.9em;
}
:not(pre) > code {
background-color: var(--card-bg);
color: var(--prompt-color);
padding: 0.15em 0.4em;
border-radius: 3px;
border: 1px solid rgba(65, 72, 104, 0.5);
}
/* Tables */
table {
border-collapse: collapse;
width: 100%;
margin: 1.5rem 0;
display: block;
overflow-x: auto;
}
th, td {
border: 1px solid var(--border-color);
padding: 0.5rem 0.75rem;
text-align: left;
}
th {
background-color: var(--card-bg);
color: var(--accent-color);
font-weight: bold;
}
tr:nth-child(even) {
background-color: rgba(36, 40, 59, 0.4);
}
/* Blockquotes */
blockquote {
border-left: 3px solid var(--accent-color);
margin: 1.25rem 0;
padding: 0.5rem 1rem;
background-color: rgba(36, 40, 59, 0.3);
color: var(--quote-color);
}
/* Horizontal Rules */
hr {
border: none;
border-top: 1px dashed var(--border-color);
margin: 2rem 0;
}
/* Minimalist container for the "Terminal" feel */
#quarto-content {
border: 1px solid var(--border-color);
padding: 2rem;
border-radius: 4px;
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
/* Figures: constrain to the content column, keep aspect ratio, center */
.quarto-figure {
margin: 1.5rem 0;
}
.quarto-figure img,
img {
display: block;
max-width: 100%;
height: auto;
margin: 0 auto;
}
.quarto-figure figcaption,
.quarto-figure > p {
text-align: center;
font-size: 0.85rem;
color: #7f849c;
margin-top: 0.5rem;
}
/* Subtle scanline effect */
body::before {
content: " ";
display: block;
position: fixed;
top: 0; left: 0; bottom: 0; right: 0;
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%),
linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
z-index: 9999;
pointer-events: none;
background-size: 100% 2px, 3px 100%;
}
/* Mobile Responsiveness */
@media (max-width: 600px) {
body {
padding: 1rem;
}
nav a {
margin-right: 0.75rem;
display: inline-block;
margin-bottom: 0.25rem;
}
}
|