Skip to content

Commit 04543cd

Browse files
authoredAug 28, 2024··
Merge pull request #54 from icd2k3/better-fonts
fix: Better fonts for web & print
2 parents e302075 + 85cc201 commit 04543cd

File tree

6 files changed

+50
-16
lines changed

6 files changed

+50
-16
lines changed
 

‎.github/actions/move-fonts/action.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: 'Move src/fonts to dist/fonts'
2+
description: 'Moves the fonts directory from src to dist'
3+
runs:
4+
using: "composite"
5+
steps:
6+
- name: Create dist directory
7+
run: |
8+
mkdir -p dist || true
9+
echo "Dist directory created successfully!"
10+
11+
- name: 'Move fonts directory'
12+
shell: bash
13+
run: |
14+
mkdir -p dist/fonts || true
15+
cp -R src/fonts dist
16+
echo "Fonts moved successfully!"

‎.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
id-token: write
1919
steps:
2020
- uses: actions/checkout@v4
21+
- uses: ./.github/actions/move-fonts/
2122
- uses: ./.github/actions/install-node/
2223
- uses: ./.github/actions/install-and-cache-node-modules/
2324
- uses: ./.github/actions/install-linux-dependencies/

‎src/fonts/OpenSauceOne-Bold.ttf

56.2 KB
Binary file not shown.

‎src/fonts/OpenSauceOne-Light.ttf

57 KB
Binary file not shown.

‎src/fonts/OpenSauceOne-Regular.ttf

56 KB
Binary file not shown.

‎src/index.html

+33-16
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,26 @@
77
<link rel="icon" href="https://www.justin-schrader.com/favicon.ico?v=2" />
88
<title>Justin Schrader's Resume</title>
99
<style>
10+
/* fonts */
11+
@font-face {
12+
font-family: 'Open Sauce Two Regular';
13+
src: url('./fonts/OpenSauceOne-Regular.ttf') format('truetype');
14+
}
15+
@font-face {
16+
font-family: 'Open Sauce Two Light';
17+
src: url('./fonts/OpenSauceOne-Light.ttf') format('truetype');
18+
}
19+
@font-face {
20+
font-family: 'Open Sauce Two Bold';
21+
src: url('./fonts/OpenSauceOne-Bold.ttf') format('truetype');
22+
}
1023
/* global rules */
1124
html {
1225
background: #f1f1f1;
1326
}
1427
body {
15-
font-family: Helvetica, Arial, sans-serif;
16-
font-size: 14px;
28+
font-family: 'Open Sauce Two Regular', Helvetica, Arial, sans-serif;
29+
font-size: 0.8em;
1730
margin: 0 auto;
1831
width: auto;
1932
max-width: 680px;
@@ -27,10 +40,12 @@
2740
h2,
2841
h3,
2942
h4 {
43+
font-family: 'Open Sauce Two Bold', Helvetica, Arial, sans-serif;
3044
margin: 0;
3145
}
3246
h2 {
3347
color: #616161;
48+
font-family: 'Open Sauce Two Light', Helvetica, Arial, sans-serif;
3449
font-size: 12px;
3550
text-align: right;
3651
text-transform: uppercase;
@@ -51,6 +66,9 @@
5166
address {
5267
font-style: normal;
5368
}
69+
strong {
70+
font-family: 'Open Sauce Two Bold', Helvetica, Arial, sans-serif;
71+
}
5472
a {
5573
color: #000;
5674
text-decoration: none;
@@ -142,10 +160,9 @@
142160
padding: 0 17px;
143161
}
144162

145-
span.years {
146-
color: #000;
163+
strong.years {
147164
padding-left: 4px;
148-
font-weight: bold;
165+
font-size: 0.85em;
149166
}
150167

151168
/* techs */
@@ -172,6 +189,7 @@
172189
align-items: center;
173190
}
174191
ul.stack li {
192+
font-size: 0.8em;
175193
display: inline-block;
176194
padding: 0 5px;
177195
background: #f1f1f1;
@@ -270,7 +288,7 @@
270288
}
271289
body {
272290
padding-bottom: 0;
273-
font-size: 12px;
291+
font-size: 0.75em;
274292
line-height: 18px;
275293
}
276294
body section {
@@ -284,7 +302,7 @@
284302
}
285303
dd.desc,
286304
p {
287-
color: #363636;
305+
color: #424242;
288306
}
289307
}
290308
</style>
@@ -357,7 +375,7 @@ <h4>Senior Software Engineer</h4>
357375
</dd>
358376
<dd>
359377
<time datetime="2018-10-01">Oct. 2018</time> - Present
360-
<span class="years">(6 years)</span>
378+
<strong class="years">(6 years)</strong>
361379
</dd>
362380
<dd>
363381
<ul class="stack">
@@ -373,10 +391,9 @@ <h4>Senior Software Engineer</h4>
373391
</ul>
374392
</dd>
375393
<dd class="desc">
376-
Helping users understand <strong>petabytes</strong> of system
377-
transaction data through Distributed Tracing, enabling them to
378-
resolve errors, improve latency, and monitor their complex
379-
architectures.
394+
Helping users understand petabytes of system transaction data
395+
through Distributed Tracing, enabling them to resolve errors,
396+
improve latency, and monitor their complex architectures.
380397
<ul>
381398
<li>
382399
Collaborate with design, PMs, and fellow engineers to
@@ -415,7 +432,7 @@ <h4>Senior Frontend Engineer</h4>
415432
<dd>
416433
<time datetime="2016-11-01">Nov. 2016</time> -
417434
<time datetime="2018-10-01">Oct. 2018</time>
418-
<span class="years">(2 years)</span>
435+
<strong class="years">(2 years)</strong>
419436
</dd>
420437
<dd>
421438
<ul class="stack">
@@ -463,7 +480,7 @@ <h4>Lead Frontend Engineer</h4>
463480
<dd>
464481
<time datetime="2018-03-01">Mar. 2013</time> -
465482
<time datetime="2015-10-01">Oct. 2016</time>
466-
<span class="years">(3 years)</span>
483+
<strong class="years">(3 years)</strong>
467484
</dd>
468485
<dd>
469486
<ul class="stack">
@@ -506,7 +523,7 @@ <h4>Senior Interactive Developer</h4>
506523
<dd>
507524
<time datetime="2008-07-01">Jul. 2008</time> -
508525
<time datetime="2018-03-01">Mar. 2013</time>
509-
<span class="years">(5 years)</span>
526+
<strong class="years">(5 years)</strong>
510527
</dd>
511528
<dd class="desc">
512529
Designed, animated, and developed advertising solutions for
@@ -526,7 +543,7 @@ <h4>Engineering & design</h4>
526543
<dd>
527544
<time datetime="2006-06-01">Jun. 2006</time> -
528545
<time datetime="2008-09-01">Sept. 2008</time>
529-
<span class="years">(2 years)</span>
546+
<strong class="years">(2 years)</strong>
530547
</dd>
531548
<dd class="desc">
532549
2007 summer internship at <strong>Big Spaceship</strong> working

0 commit comments

Comments
 (0)
Please sign in to comment.