md-cv icon indicating copy to clipboard operation
md-cv copied to clipboard

Font size (print) and margins

Open adomingues opened this issue 7 years ago • 2 comments

Hi Benjamin,

first of all thank you for creating the md-cv project. The print version in particular is quite useful to me.

I have been playing with it and noticed that when a pdf is generated the font is quite small and hard to read. I proceeded to increase it by changing the default font size, it but this creates another problem: now the middle panel, with the dates, overlaps with the right-panel (I hope this description makes sense). Since there is enough space in the left (and right margins), I was thinking about re-sizing the panels to allow for extra space for the dates.

This is where I was wondering if you could help me. My knowledge of css is non-existent so I wanted to ask if it is possible to do this, and which part of the code I can play around with. Is this even the best way to go about it?

Cheers.

adomingues avatar Oct 02 '18 11:10 adomingues

Yeah the layout here isn't that great, what looks like columns is just hard-coded relative spacing — if I were to write this from scratch (it's a fork) I'd use flexbox instead. That said, if you just want to fit larger text, things to tweak would be:

blmoore avatar Oct 02 '18 12:10 blmoore

Cheers! I will play around with it for a bit and see how that works out. Worst case scenario I will go back to writing my CV in LateX.

adomingues avatar Oct 02 '18 13:10 adomingues