fix: spacing between resume entries and content

This commit is contained in:
Paul Tsouchlos
2024-09-19 19:15:02 -06:00
parent e6b127822a
commit e31eae9a75
2 changed files with 14 additions and 20 deletions

31
lib.typ
View File

@@ -240,11 +240,6 @@
) )
show heading.where(level: 1): it => [ show heading.where(level: 1): it => [
#set block(
above: 0.5em,
below: 0.5em,
)
#set text( #set text(
size: 16pt, size: 16pt,
weight: "regular", weight: "regular",
@@ -263,10 +258,6 @@
] ]
show heading.where(level: 2): it => { show heading.where(level: 2): it => {
set block(
above: 0.5em,
below: 0.5em,
)
set text( set text(
color-darkgray, color-darkgray,
size: 12pt, size: 12pt,
@@ -421,14 +412,14 @@
weight: "light", weight: "light",
fill: color-darknight, fill: color-darknight,
) )
set block ( set block(
above: 0.75em, above: 0.75em,
below: 1.25em, below: 1.25em,
) )
set par( set par(leading: 0.65em)
leading: 0.65em, block(above: 0.5em, below: 0.5em)[
) #body
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.
@@ -454,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.

View File

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