Merge pull request #67 from DeveloperPaul123/fix/ci-and-template-spacing
This commit is contained in:
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
@@ -52,8 +52,9 @@ jobs:
|
||||
- name: Install fonts
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt-get install fonts-font-awesome fonts-roboto
|
||||
sudo apt-get install fonts-roboto
|
||||
./scripts/install-fontawesome
|
||||
./scripts/install-source-sans
|
||||
|
||||
- name: Install locally
|
||||
run: just install
|
||||
|
||||
19
lib.typ
19
lib.typ
@@ -240,11 +240,6 @@
|
||||
)
|
||||
|
||||
show heading.where(level: 1): it => [
|
||||
|
||||
#set block(
|
||||
above: 1em,
|
||||
below: 1em,
|
||||
)
|
||||
#set text(
|
||||
size: 16pt,
|
||||
weight: "regular",
|
||||
@@ -417,8 +412,14 @@
|
||||
weight: "light",
|
||||
fill: color-darknight,
|
||||
)
|
||||
set block(
|
||||
above: 0.75em,
|
||||
below: 1.25em,
|
||||
)
|
||||
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.
|
||||
@@ -444,13 +445,15 @@
|
||||
} else {
|
||||
title-content = title
|
||||
}
|
||||
|
||||
pad[
|
||||
block(above: 1em, below: 0.65em)[
|
||||
#pad[
|
||||
#justified-header(title-content, location)
|
||||
#if description != "" or date != "" [
|
||||
#secondary-justified-header(description, date)
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
}
|
||||
|
||||
/// Show cumulative GPA.
|
||||
|
||||
11
scripts/install-source-sans
Executable file
11
scripts/install-source-sans
Executable 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
|
||||
@@ -50,9 +50,8 @@
|
||||
)
|
||||
|
||||
#resume-item[
|
||||
- #lorem(20)
|
||||
- #lorem(15)
|
||||
- #lorem(25)
|
||||
// content doesn't have to be bullet points
|
||||
#lorem(72)
|
||||
]
|
||||
|
||||
#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 |
Reference in New Issue
Block a user