-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.html
257 lines (220 loc) · 7.07 KB
/
about.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
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
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About</title>
<style>
:root {
/* Light Mode */
--background-color: white;
--text-color: black;
--link-color: blue;
--visited-link-color: purple;
--hover-link-color: darkorange;
--active-link-color: red;
/* Post Entries */
--post-date-color: black;
--post-title-color: black;
--post-tags-color: blue;
/* Code Block */
--code-background: #f0f0f0;
--code-text: #333333;
--code-keyword: #000000;
--code-operator: #000000;
--code-punctuation: #333333;
--code-special-bg: #ffffc0;
--code-special-text: #000000;
--code-highlight-line: #ffffcc;
--code-whitespace: #c0c0c0;
}
@media (prefers-color-scheme: dark) {
:root {
/* Dark Mode */
--background-color: black;
--text-color: white;
--link-color: #1E90FF;
--visited-link-color: #9370DB;
--hover-link-color: #FFD700;
--active-link-color: #FF4500;
/* Post Entries */
--post-date-color: #cccccc;
--post-title-color: white;
--post-tags-color: #1E90FF;
/* Code Block */
--code-background: #272727;
--code-text: #e0e0e0;
--code-keyword: #ffffff;
--code-operator: #ffffff;
--code-punctuation: #ffffff;
--code-special-bg: #ffffc0;
--code-special-text: #000000;
--code-highlight-line: #ffffcc;
--code-whitespace: #c0c0c0;
}
}
body {
background-color: var(--background-color);
color: var(--text-color);
padding: 20px;
margin: 0 auto;
max-width: 60em;
}
.navbar {
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 0.5em;
}
.post-list {
width: 100%;
}
.post-entry {
display: grid;
grid-template-columns: 60px 1fr auto; /* Fixed width for date, flexible width for title, auto for tags */
gap: 1em; /* Space between columns */
align-items: center; /* Ensures vertical alignment */
padding: 0.5em 0; /* Spacing between posts */
}
.post-date {
color: var(--post-date-color);
text-align: left;
font-size: 0.9em;
white-space: nowrap; /* Prevents wrapping */
}
.post-title {
color: var(--post-title-color);
overflow: hidden; /* Ensures text doesn't overflow */
text-overflow: ellipsis; /* Adds ellipsis for long titles */
white-space: nowrap; /* Prevents wrapping */
}
.post-tags {
flex: 0 0 10em;
text-align: right;
margin-left: auto; /* push text to the right */
}
a {
color: var(--link-color);
text-decoration: none;
transition: color 0.3s ease;
}
a:visited {
color: var(--visited-link-color);
}
a:hover {
color: var(--hover-link-color);
text-decoration: underline;
}
a:active {
color: var(--active-link-color);
}
.anchor-symbol {
font-family: sans-serif;
position: absolute;
left: 0; /* Position at the header's left edge */
transform: translateX(-100%); /* Shift it just left of that edge */
opacity: 0;
transition: opacity 0.3s ease;
text-decoration: none;
color: inherit; /* Match the header text color */
font-size: 0.9em; /* Adjust size if desired */
line-height: 1; /* Helps vertically center icon with text */
}
h1:hover .anchor-symbol,
h2:hover .anchor-symbol,
h3:hover .anchor-symbol,
h4:hover .anchor-symbol,
h5:hover .anchor-symbol,
h6:hover .anchor-symbol {
opacity: 1;
text-decoration: none;
}
.heading-link,
.heading-link:visited,
.heading-link:hover,
.heading-link:active,
.heading-link:focus {
color: inherit;
text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
position: relative;
}
/* Code Blocks */
pre {
line-height: 125%;
padding: 16px;
}
code {
background: var(--code-background);
color: var(--code-text);
padding-left: 2px;
padding-right: 2px;
padding-top: 4px;
padding-bottom: 4px;
}
pre > code {
/* Remove extra padding added in the code rule above */
padding: 0;
}
.codehilite {
background: var(--code-background);
color: var(--code-text);
}
.codehilite .k {
color: var(--code-keyword);
font-weight: bold;
}
.codehilite .o {
color: var(--code-operator);
font-weight: bold;
}
.codehilite .p {
color: var(--code-punctuation);
font-weight: bold;
}
.codehilite .hll {
background-color: var(--code-highlight-line);
}
.codehilite .w {
color: var(--code-whitespace);
}
.code-block-container {
position: relative; /* So the button can be absolutely positioned */
margin: 1em 0; /* Optional spacing around code blocks */
}
.code-block-container pre {
overflow: auto; /* Horizontal scroll if needed */
}
/* The copy icon button, initially hidden */
.copy-btn {
position: absolute;
top: 8px;
right: 8px;
opacity: 0;
transition: opacity 0.3s ease;
border: none;
border-radius: 4px;
background-color: #666; /* Feel free to choose any color */
color: #fff;
cursor: pointer;
font-size: 1.25em;
}
/* Show the button when hovering over the container */
.code-block-container:hover .copy-btn {
opacity: 1;
}
</style>
</head>
<body>
<h1>About</h1>
<p>I'm a software developer based in the Seattle/Bellevue area.</p>
<p><a href="https://www.linkedin.com/in/tom-mulcahy-3363b81/">LinkedIn</a></p>
<p><a href="https://twitter.com/tommulcahy">Twitter</a></p>
<p><a href="https://androiddev.social/@tcm">Mastodon</a></p>
<br>
<div class="navbar">
<a href="/">Index</a>
<a href="/rss.xml">RSS</a>
<a href="/about.html">About</a>
</div>