Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Shauna Gordon <shauna@shaunagordon.com>
  • Loading branch information
ShaunaGordon committed Dec 21, 2024
1 parent f60f0d0 commit b56bc99
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="stylesheet" type="text/css" href="/css/animations.css" media="screen and (prefers-reduced-motion: no-preference)" />
<link rel="stylesheet" type="text/css" href="/css/main.css" />
<link rel="stylesheet" type="text/css" href="/css/print.css" media="print" />
<script defer src="https://use.fontawesome.com/releases/v5.15.2/js/all.js"></script>
<script defer src="https://use.fontawesome.com/releases/v6.7.2/js/all.js"></script>
<title>Resume</title>
</head>
<body>
Expand Down
6 changes: 3 additions & 3 deletions public/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ body {
}

h1 {
font-size: 6rem;
font-size: var(--font-size-h1);
margin-top: var(--gutter-normal);
margin-bottom: var(--gutter-narrow);
}

h2 {
font-size: 4rem;
font-size: var(--font-size-h2);
margin-top: var(--gutter-wide);
}

h3 {
font-size: 2rem;
font-size: var(--font-size-h3);
margin-top: var(--gutter-normal);
margin-bottom: var(--gutter-normal);
}
Expand Down
8 changes: 8 additions & 0 deletions public/css/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
--font-body: 'Source Sans Pro', Helvetica, Arial, sans-serif;
--font-header: 'Forum', Helvetica, Arial, sans-serif;

--font-size-h1: 6rem;
--font-size-h2: 4rem;
--font-size-h3: 2rem;

--box-shadow: 3px 3px 5px 0 rgba(0,0,0,.08);

--gutter-normal: 1rem;
Expand Down Expand Up @@ -39,5 +43,9 @@
--color-accent-secondary: #754668;

--box-shadow: 0;

--font-size-h1: 4rem;
--font-size-h2: 2rem;
--font-size-h3: 1.2rem;
}
}
7 changes: 6 additions & 1 deletion src/mixins/icons.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
/* For reasons I don't really understand, Devicon uses "original" instead of "plain" for a handful of icons. */
const classOriginal = [
'electron'
];

export const useIcons = () => {
const getTechClass = (i) => {
// Devicons doesn't have O3DE, so we're adding our own for now
if(i == 'o3de') {
return `icon devicon-cplusplus-plain`;
}
return `icon devicon-${i}-plain`;
return `icon devicon-${i}-${classOriginal.includes(i) ? 'original' : 'plain'}`;
};

const getFaClass = (i) => {
Expand Down

0 comments on commit b56bc99

Please sign in to comment.