Skip to content

Commit cd47d49

Browse files
authored
Printable version of the CV page (#4)
* add print option * minor
1 parent f2e4083 commit cd47d49

File tree

3 files changed

+146
-12
lines changed

3 files changed

+146
-12
lines changed

assets/css/custom.css

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,129 @@
33
margin: 0em 0.5em 0em 0em;
44
display: inline;
55
}
6+
7+
.print-button {
8+
margin-bottom: 2em;
9+
}
10+
11+
@media print {
12+
body {
13+
font-family: Calibri, sans-serif;
14+
font-size: 10pt;
15+
color: #000;
16+
background-color: #fff;
17+
margin: 1cm;
18+
}
19+
20+
.prose {
21+
li {
22+
margin-top: -0.6em;
23+
margin-bottom: -0.6em;
24+
}
25+
h2 {
26+
margin-top: 1.2em;
27+
margin-bottom: 0.2em;
28+
}
29+
h3 {
30+
margin-bottom: 0.1em;
31+
}
32+
p {
33+
margin-top: 0em;
34+
margin-bottom: 1em;
35+
text-align: justify;
36+
}
37+
}
38+
39+
/* Hide elements that don't make sense on a printed page */
40+
.h3-png-icon,
41+
.print-button,
42+
footer,
43+
nav,
44+
.menu,
45+
.sidebar,
46+
.sticky,
47+
.actions {
48+
display: none;
49+
}
50+
51+
/* Ensure the main content takes up the full printable area */
52+
main,
53+
article,
54+
.content,
55+
#main,
56+
#content {
57+
width: 100%;
58+
margin: 0;
59+
padding: 0;
60+
border: 0;
61+
box-shadow: none;
62+
}
63+
64+
/* Style links for printing */
65+
a {
66+
color: #000;
67+
text-decoration: underline;
68+
}
69+
70+
/* Don't show URL for email */
71+
a[href^="mailto:"]:after {
72+
content: "";
73+
}
74+
75+
/* Don't show URL for anchors */
76+
a[href^="#"]:after {
77+
content: "";
78+
}
79+
80+
/* Don't show image URLs when they are linked */
81+
a > img:after {
82+
content: "";
83+
}
84+
85+
/* General image handling */
86+
img {
87+
max-width: 100% !important;
88+
}
89+
90+
/* Experience icons: try to keep them, but not too large */
91+
.experience-icon {
92+
max-width: 16px;
93+
max-height: 16px;
94+
vertical-align: middle;
95+
}
96+
97+
/* Avoid breaking headings and lists across pages */
98+
h1,
99+
h2,
100+
h3,
101+
h4,
102+
h5,
103+
h6,
104+
ul,
105+
ol,
106+
blockquote,
107+
.experience {
108+
break-inside: avoid;
109+
}
110+
111+
h2 h3 {
112+
break-before: auto;
113+
break-after: avoid;
114+
}
115+
116+
/* Add space between experience sections */
117+
.experience {
118+
margin-bottom: 20px;
119+
}
120+
121+
/* Font sizes for headings */
122+
h1 {
123+
font-size: 22pt;
124+
}
125+
h2 {
126+
font-size: 16pt;
127+
}
128+
h3 {
129+
font-size: 12pt;
130+
}
131+
}

content/resume.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,24 @@
11
---
22
title: "Massimiliano Pippi"
33
date: 2025-11-29T10:00:00Z
4-
layout: "simple"
4+
layout: "resume"
5+
tagline: "Engineering Lead"
56
---
67

7-
Engineering Lead
8+
## Contacts
89

9-
* Corciano - Italy
10-
* mpippi@gmail.com
11-
* https://dev.pippi.im
12-
* https://github.com/masci
10+
* Email: mpippi@gmail.com
11+
* Website: https://dev.pippi.im
12+
* Github profile: https://github.com/masci
1313

1414
## Skills
1515

1616
* **Programming:** Python (expert), Golang (proficient), C, C++ (prior experiences).
1717
* **Management:** I managed distributed teams in the range of 4 to 12 people.
18-
* **Other:** I love speaking at technical conferences and I can write technical articles and documentation. I am an Open Source fan and contributor.
1918

2019
## Writings
2120

22-
I'm the author of **Python for Google App Engine**, published by Packt in January, 2015.
23-
ISBN 13: **9781784398194**
21+
I'm the author of **Python for Google App Engine**, published by Packt in January, 2015, ISBN 13: 9781784398194
2422

2523
## Experience
2624

@@ -138,15 +136,14 @@ team environment under short deadlines in more than a project.
138136
* [**Banks**](https://github.com/masci/banks): a Python library based on Jinja providing a set of tools to ease the generation and management of meaningful LLM prompts.
139137
* [**masci/datadog**](https://github.com/masci/datadog): a Github Action to publish Datadog metrics and events from GitHub workflows.
140138
* [**Haystack**](https://github.com/deepset-ai/haystack): an orchestration framework to build customizable, production-ready LLM applications.
141-
* [**Arduino CLI**](https://github.com/arduino/arduino-cli): a command line tool that aims to be an all-in-one tool to work with any Arduino compatible board and platforms.
142139

143140
## Certifications
144141

145-
* RHCE Red Hat Certified Engineer
142+
* **RHCE** Red Hat Certified Engineer, certificate n. 111-175-410 obtained October 28, 2011
146143

147144
## Community Initiatives
148145

149146
* **2014-2015 DjangoVillage**
150-
Member of the organization committee of the first italian Django Conference officially supported by the Django Software Foundation. http://2014.djangovillage.it
147+
Member of the organization committee of the first italian Django Conference officially supported by the Django Software Foundation. [http://2014.djangovillage.it](https://web.archive.org/web/20160323134909/http://2014.djangovillage.it/en)
151148
* **2013-2015 Tinker Garage APS**
152149
I was the Chairman of a non-profit organization involved in the promotion of new technologies in schools.

layouts/resume.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{{ define "main" }}
2+
<button onclick="window.print()" class="print-button">🖨️ Printed version</button>
3+
<article class="max-w-full">
4+
<header>
5+
<h1 class="mt-0 text-4xl font-extrabold text-neutral-900 dark:text-neutral">{{ .Title | emojify }}</h1>
6+
<div>{{ .Params.tagline }}</div>
7+
</header>
8+
<section class="prose mt-6 max-w-full dark:prose-invert">{{ .Content | emojify }}</section>
9+
<footer class="pt-8">{{ partial "sharing-links.html" . }}</footer>
10+
</article>
11+
{{ end }}

0 commit comments

Comments
 (0)