💄 Apply styling changes for print resume

This commit is contained in:
Dan Jones 2025-11-22 09:57:29 -06:00
commit db1b7ee5e6
6 changed files with 124 additions and 6 deletions

View file

@ -104,6 +104,28 @@ figure {
} }
} }
#education {
.container {
padding: 20px;
display: grid;
grid-template-columns: 1fr 1fr;
& > * {
padding: 0;
margin: 0;
&:nth-child(odd) {
text-align: left;
}
&:nth-child(even) {
text-align: right;
}
}
}
}
section > h2 { section > h2 {
line-height: 1.0; line-height: 1.0;
} }

View file

@ -1,5 +1,90 @@
* {
font-family: "Open Sans", sans-serif;
font-optical-sizing: auto;
font-variation-settings: "wdth" 100;
font-size: 10pt;
}
.noprint {
display: none;
}
a {
text-decoration: none;
color: inherit;
}
h2 {
font-size: 13pt;
text-align: center;
border-bottom: 1px solid gray;
padding-bottom: 1em;
text-transform: uppercase;
}
header { header {
h1, p { h1, p {
text-align: center; text-align: center;
} }
h1 {
font-family: "Scope One", serif;
font-weight: 400;
font-style: normal;
font-size: 29pt;
margin-bottom: 0.05em;
}
p {
margin-top: 0;
font-size: 14pt;
}
}
#workhistory {
& > ul {
& > li:last-child {
display: none;
}
}
}
#contact p {
font-size: 10pt;
display: grid;
grid-gap: .35rem;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
text-align: center;
&:first-child {
margin-bottom: 0;
}
&:last-child {
margin-top: 0;
}
}
#projects {
li {
a {
font-weight: bold;
}
}
}
#education {
.container {
padding: 20px;
display: grid;
grid-template-columns: 1fr 1fr;
& > * {
padding: 0;
margin: 0;
&:nth-child(even) {
text-align: right;
}
}
}
} }

View file

@ -144,8 +144,14 @@ outputs = ['html','resume']
## Education ## Education
<div class="container">
**Bachelor of the Arts - Theater**
University of Texas at Austin University of Texas at Austin
August 2004 - May 2008 August 2004 - May 2008
Bachelor of the Arts - Theater
</div>
</section><!-- /#education --> </section><!-- /#education -->

View file

@ -6,6 +6,4 @@ id: contact
<span class="phone">📞 +1 (704) 326-1626</span> <span class="phone">📞 +1 (704) 326-1626</span>
<span class="email">📧 [dan&#x40;danielrayjones&#x2e;com](mailto:dan&#x40;danielrayjones&#x2e;com)</span> <span class="email">📧 [dan&#x40;danielrayjones&#x2e;com](mailto:dan&#x40;danielrayjones&#x2e;com)</span>
<span class="web printonly">🌐 https://danielrayjones.com/</span> <span class="web printonly">🌐 https://danielrayjones.com/</span>
<span class="where">📍 Open to remote positions</span> <span class="where">📍 Open to remote positions</span>

View file

@ -2,6 +2,12 @@
<html> <html>
<head> <head>
<title>{{ .Title }}</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Scope+One&display=swap" rel="stylesheet">
{{ $options := (dict "targetPath" "resume.css" "outputStyle" "compressed" "enableSourceMap" true) }} {{ $options := (dict "targetPath" "resume.css" "outputStyle" "compressed" "enableSourceMap" true) }}
{{ $style := resources.Get "scss/resume.scss" | css.Sass $options | resources.Fingerprint }} {{ $style := resources.Get "scss/resume.scss" | css.Sass $options | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}"> <link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">

View file

@ -1,4 +1,5 @@
{{ with . | transform.Unmarshal -}} {{ with . | transform.Unmarshal -}}
<h2>Selected Open Source Projects</h2>
<ul> <ul>
{{- range $project := . -}} {{- range $project := . -}}
{{- range $slug, $proj := $project }} {{- range $slug, $proj := $project }}