Skip to content

Commit

Permalink
fix: spacing between resume entries and content
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperPaul123 committed Sep 20, 2024
1 parent e6b1278 commit e31eae9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 20 deletions.
31 changes: 12 additions & 19 deletions lib.typ
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,6 @@
)

show heading.where(level: 1): it => [

#set block(
above: 0.5em,
below: 0.5em,
)
#set text(
size: 16pt,
weight: "regular",
Expand All @@ -263,10 +258,6 @@
]

show heading.where(level: 2): it => {
set block(
above: 0.5em,
below: 0.5em,
)
set text(
color-darkgray,
size: 12pt,
Expand Down Expand Up @@ -421,14 +412,14 @@
weight: "light",
fill: color-darknight,
)
set block (
set block(
above: 0.75em,
below: 1.25em,
)
set par(
leading: 0.65em,
)
body
set par(leading: 0.65em)
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.
Expand All @@ -454,13 +445,15 @@
} else {
title-content = title
}

pad[
#justified-header(title-content, location)
#if description != "" or date != "" [
#secondary-justified-header(description, date)
block(above: 1em, below: 0.65em)[
#pad[
#justified-header(title-content, location)
#if description != "" or date != "" [
#secondary-justified-header(description, date)
]
]
]

}

/// Show cumulative GPA.
Expand Down
3 changes: 2 additions & 1 deletion template/resume.typ
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
)

#resume-item[
#lorem(33)
// content doesn't have to be bullet points
#lorem(72)
]

#resume-entry(
Expand Down

0 comments on commit e31eae9

Please sign in to comment.