-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
175 lines (147 loc) · 4.42 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mrmr.io</title>
<meta name="description" content="Manav's website">
<link rel="alternate" type="application/rss+xml" href="/rss.xml">
<style>
:root {
--bg: oklch(99.24% 0 0);
--text: oklch(8% 0 0);
--soft: oklch(60% 0 0);
--baby-blue: #a2cffe;
--baby-purple: #ca9bf7;
--divider: oklch(75.94% 0 0 / 0.16);
}
@media (prefers-color-scheme: dark) {
:root {
--bg: oklch(31.14% 0.021 285.75);
--text: oklch(90% 0.008 286.75);
--soft: oklch(75.94% 0 0);
}
}
body {
background-color: var(--bg);
color: var(--text);
margin: 1rem;
line-height: 1.5;
max-width: 40rem;
}
@media (width > 40em) {
body {
margin: 4em;
}
}
h3 {
font-style: italic;
color: var(--soft);
opacity: 0.9;
margin-block-start: 4em;
}
h3:not(:first-of-type) {
padding-block-start: 0.4rem
}
li {
padding-inline: 0.5em;
margin-block: 0.5em;
font-family: system-ui, sans-serif;
}
a {
text-underline-offset: 0.4em;
text-decoration-thickness: 0.1em;
}
a:hover {
text-decoration-thickness: 0.2em;
}
@media (prefers-color-scheme: dark) {
li {
color: var(--soft);
}
a {
color: var(--text);
text-decoration-color: var(--baby-blue);
}
a:visited {
text-decoration-color: var(--baby-purple);
}
}
@media (width < 40em) {
ul {
padding-inline-start: 1em;
}
}
footer {
margin-block: 8rem;
border-block-start: 1px dotted var(--divider);
padding-block-start: 1.5rem;
}
@media (width < 40em) {
footer {
padding-block-end: 0.5rem;
}
}
</style>
</head>
<body>
<h3>2024</h3>
<ul>
<li><a href="/html-tags">HTML tags and trailing slashes</a></li>
<li><a href="/git-diff-...-branch"><code>git diff ...branch</code></a></li>
<li><a href="/hello-gl">Hello WebGL</a> – No dependencies</li>
<li><a href="/immersion-and-time">Immersion and time</a> – Reading isn't enough</li>
<li><a href="/softmax">Softmax</a></li>
<li><a href="/web-dev-notes">Assorted web dev notes</a></li>
<li><a href="/morning">Morning</a> – A poem</li>
<li><a href="/cat">On the useful use of cat</a></li>
<li><a href="/cherry-pick-pr">Cherry pick a pull request</a></li>
<li><a href="/apple">Write code for the web</a></li>
<li><a href="/euclidean-rhythms">Euclidean rhythms</a> – Making music with JS</li>
<li><a href="/javascript-audio">Making sounds in JavaScript</a></li>
<li><a href="/raag">Raags</a> – Indian music scales</li>
<li><a href="/react-flutter-swiftui">React, Flutter and SwiftUI</a> – 3 hello worlds</li>
</ul>
<h3>2023</h3>
<ul>
<li><a href="/mirror">Mirror</a> – A short story</li>
<li><a href="/housefly">Housefly</a> – A poem</li>
<li><a href="/memoization-in-haskell">Memoization in Haskell</a> – State monad 101</li>
<li><a href="/typescript-vs-haskell">TypeScript vs Haskell</a> – Structural vs nominal types</li>
<li><a href="/trust-your-intuition">Trust your intuition</a> – The bias fallacy</li>
<li><a href="/quotes">Quotes</a></li>
<li><a href="/evoke">Evoke</a></li>
<li><a href="/the-hundred-thousand-songs-of-milarepa">The Hundred Thousand Songs
of Milarepa</a> – A thought</li>
<li><a href="/the-universe-is-its-own-simulation">The universe is its own
simulation</a></li>
<li><a href="/the-promise-of-words">The promise of words</a> – Words on words</li>
<li><a href="/choice">Choice</a> – A fleeting moment of certainty</li>
<li><a href="/तितलियाँ">तितलियाँ</a> – एक कविता</li>
<li><a href="/css-colors">CSS colors</a> – Sorted by lightness</li>
<li><a href="/become">Become</a> – A poem</li>
<li><a href="/taste">Taste</a> / hunger</li>
<li><a href="/पानी">पानी</a> – पर क्यों बेहता है</li>
<li><a href="/money">Money</a> – Yet</li>
<li><a href="/come">Stargazers</a> – 4 AM, before first light</li>
<li><i><a href="/mrmr">mrmr</a> – night</i></li>
</ul>
<h3>2022</h3>
<ul>
<li><a href="/honey-and-cashews">Honey and cashews</a> – Dogs, walking by</li>
</ul>
<h3>2019</h3>
<ul>
<li><a href="/mistakes-were-made">Mistakes were Made</a> – A movie review</li>
<li><a href="/museum">Night</a> – A poem</li>
<li><a href="/mutations">Random mutations</a></li>
</ul>
<footer>
<p><i>
<a href="https://github.com/mnvr/mrmr.io">github</a> |
<a href="https://mastodon.social/@mnvr">mastodon</a> |
<a href="/rss.xml">rss</a>
</i></p>
</footer>
</body>
</html>