Skip to content

Commit 9836a2a

Browse files
committed
add css file
1 parent 140c3d8 commit 9836a2a

2 files changed

Lines changed: 66 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
run: |
3030
pandoc resume.md -o resume.pdf \
3131
--pdf-engine=pdflatex \
32+
--css=resume-style.css \
3233
--variable geometry:margin=1in \
3334
--variable fontsize=11pt \
3435
--variable linestretch=1.15

resume-style.css

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
/* Header styling */
2+
.header {
3+
display: flex;
4+
justify-content: space-between;
5+
align-items: center;
6+
margin-bottom: 10px;
7+
}
8+
9+
.header h1 {
10+
margin: 0;
11+
font-size: 24px;
12+
font-weight: bold;
13+
}
14+
15+
.header .contact-info {
16+
text-align: right;
17+
font-style: italic;
18+
}
19+
20+
/* Separator line */
21+
.separator {
22+
border-top: 1px solid #333;
23+
margin: 15px 0;
24+
}
25+
26+
/* General body styling */
27+
body {
28+
font-family: 'Times New Roman', serif;
29+
font-size: 11pt;
30+
line-height: 1.15;
31+
margin: 1in;
32+
color: #333;
33+
}
34+
35+
/* Section headers */
36+
h2 {
37+
font-size: 14pt;
38+
font-weight: bold;
39+
margin-top: 20px;
40+
margin-bottom: 10px;
41+
border-bottom: 1px solid #ddd;
42+
padding-bottom: 2px;
43+
}
44+
45+
/* Job titles and company names */
46+
h3 {
47+
font-size: 12pt;
48+
font-weight: bold;
49+
margin-top: 15px;
50+
margin-bottom: 5px;
51+
}
52+
53+
/* Remove default margins from paragraphs in lists */
54+
li p {
55+
margin: 0;
56+
}
57+
58+
/* Spacing for list items */
59+
ul {
60+
margin-bottom: 10px;
61+
}
62+
63+
li {
64+
margin-bottom: 5px;
65+
}

0 commit comments

Comments
 (0)