Skip to content

Commit b56bc99

Browse files
committed
Tweaks
Signed-off-by: Shauna Gordon <[email protected]>
1 parent f60f0d0 commit b56bc99

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

Diff for: index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<link rel="stylesheet" type="text/css" href="/css/animations.css" media="screen and (prefers-reduced-motion: no-preference)" />
1010
<link rel="stylesheet" type="text/css" href="/css/main.css" />
1111
<link rel="stylesheet" type="text/css" href="/css/print.css" media="print" />
12-
<script defer src="https://use.fontawesome.com/releases/v5.15.2/js/all.js"></script>
12+
<script defer src="https://use.fontawesome.com/releases/v6.7.2/js/all.js"></script>
1313
<title>Resume</title>
1414
</head>
1515
<body>

Diff for: public/css/main.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ body {
99
}
1010

1111
h1 {
12-
font-size: 6rem;
12+
font-size: var(--font-size-h1);
1313
margin-top: var(--gutter-normal);
1414
margin-bottom: var(--gutter-narrow);
1515
}
1616

1717
h2 {
18-
font-size: 4rem;
18+
font-size: var(--font-size-h2);
1919
margin-top: var(--gutter-wide);
2020
}
2121

2222
h3 {
23-
font-size: 2rem;
23+
font-size: var(--font-size-h3);
2424
margin-top: var(--gutter-normal);
2525
margin-bottom: var(--gutter-normal);
2626
}

Diff for: public/css/variables.css

+8
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
--font-body: 'Source Sans Pro', Helvetica, Arial, sans-serif;
1111
--font-header: 'Forum', Helvetica, Arial, sans-serif;
1212

13+
--font-size-h1: 6rem;
14+
--font-size-h2: 4rem;
15+
--font-size-h3: 2rem;
16+
1317
--box-shadow: 3px 3px 5px 0 rgba(0,0,0,.08);
1418

1519
--gutter-normal: 1rem;
@@ -39,5 +43,9 @@
3943
--color-accent-secondary: #754668;
4044

4145
--box-shadow: 0;
46+
47+
--font-size-h1: 4rem;
48+
--font-size-h2: 2rem;
49+
--font-size-h3: 1.2rem;
4250
}
4351
}

Diff for: src/mixins/icons.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
/* For reasons I don't really understand, Devicon uses "original" instead of "plain" for a handful of icons. */
2+
const classOriginal = [
3+
'electron'
4+
];
5+
16
export const useIcons = () => {
27
const getTechClass = (i) => {
38
// Devicons doesn't have O3DE, so we're adding our own for now
49
if(i == 'o3de') {
510
return `icon devicon-cplusplus-plain`;
611
}
7-
return `icon devicon-${i}-plain`;
12+
return `icon devicon-${i}-${classOriginal.includes(i) ? 'original' : 'plain'}`;
813
};
914

1015
const getFaClass = (i) => {

0 commit comments

Comments
 (0)