Merge pull request #67 from DeveloperPaul123/fix/ci-and-template-spacing

This commit is contained in:
Paul T
2024-09-22 14:19:41 -06:00
committed by GitHub
6 changed files with 29 additions and 15 deletions

View File

@@ -52,8 +52,9 @@ jobs:
- name: Install fonts - name: Install fonts
run: | run: |
sudo apt update sudo apt update
sudo apt-get install fonts-font-awesome fonts-roboto sudo apt-get install fonts-roboto
./scripts/install-fontawesome ./scripts/install-fontawesome
./scripts/install-source-sans
- name: Install locally - name: Install locally
run: just install run: just install

25
lib.typ
View File

@@ -240,11 +240,6 @@
) )
show heading.where(level: 1): it => [ show heading.where(level: 1): it => [
#set block(
above: 1em,
below: 1em,
)
#set text( #set text(
size: 16pt, size: 16pt,
weight: "regular", weight: "regular",
@@ -417,8 +412,14 @@
weight: "light", weight: "light",
fill: color-darknight, fill: color-darknight,
) )
set block(
above: 0.75em,
below: 1.25em,
)
set par(leading: 0.65em) set par(leading: 0.65em)
body block(above: 0.5em, below: 0.5em)[
#body
]
} }
/// The base item for resume entries. This formats the item for the resume entries. Typically your body would be a bullet list of items. Could be your responsibilities at a company or your academic achievements in an educational background section. /// The base item for resume entries. This formats the item for the resume entries. Typically your body would be a bullet list of items. Could be your responsibilities at a company or your academic achievements in an educational background section.
@@ -444,13 +445,15 @@
} else { } else {
title-content = title title-content = title
} }
block(above: 1em, below: 0.65em)[
pad[ #pad[
#justified-header(title-content, location) #justified-header(title-content, location)
#if description != "" or date != "" [ #if description != "" or date != "" [
#secondary-justified-header(description, date) #secondary-justified-header(description, date)
]
] ]
] ]
} }
/// Show cumulative GPA. /// Show cumulative GPA.

11
scripts/install-source-sans Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -eu
wget -O ~/source-sans.zip https://github.com/adobe-fonts/source-sans/releases/download/3.052R/OTF-source-sans-3.052R.zip
mkdir -p ~/source-sans-fonts
unzip ~/source-sans.zip -d ~/source-sans-fonts
mkdir -p ~/.fonts
find ~/source-sans-fonts -type f -name "*.otf" -exec cp {} ~/.fonts \;
rm ~/source-sans.zip
rm -rf ~/source-sans-fonts
fc-cache -f -v

View File

@@ -50,9 +50,8 @@
) )
#resume-item[ #resume-item[
- #lorem(20) // content doesn't have to be bullet points
- #lorem(15) #lorem(72)
- #lorem(25)
] ]
#resume-entry( #resume-entry(

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 91 KiB