From df9d5c02a777683bf8c7f3739f26b338403918a6 Mon Sep 17 00:00:00 2001 From: NumEricR <-> Date: Sat, 4 Jun 2011 21:44:00 +0200 Subject: [PATCH] =?UTF-8?q?Added=20a=20print=20stylesheet=20on=20r=C3=A9su?= =?UTF-8?q?m=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/print.css | 116 ++++++++++++++++++++++++++++++++++++++++++++++ index.html | 1 + views/resume.html | 6 +-- 3 files changed, 120 insertions(+), 3 deletions(-) create mode 100644 css/print.css diff --git a/css/print.css b/css/print.css new file mode 100644 index 0000000..1f49de2 --- /dev/null +++ b/css/print.css @@ -0,0 +1,116 @@ +/* + Print stylesheet for résumés +*/ + + +/* =! Template */ + +#doc2 { + width: 100%; +} +#inner { + margin: 0 auto; + padding: 10pt; + border: 0; +} +#hd { + margin-top: 0; +} + +.enlarge { + padding-right: 0; +} + +.talent li { + border: 0; +} + +.org p, +.job p { + margin: 5pt 0 15pt; +} + +#repositories { + padding-bottom: 0; +} + +#jobs .job, +#about { + page-break-inside: avoid; +} + +#bd, +#about { + margin-bottom: 0; +} + +#ft { + padding: 5pt 0; +} + +/* --------- */ + + + +/* =! Font */ + +body { + font-size: 10pt; +} + +#hd h1 { + font-size: 28pt; +} +#hd h2 { + font-size: 14pt; +} + +#bd h2, +#profile .enlarge, +#about .enlarge { + font-size: 12pt; +} + +/* --------- */ + + + +/* =! Colors */ + +body, +h1, h2, h3, h4 { + color: #000; +} + +#inner { + background: #fff; +} + +/* --------- */ + + + +/* =! Links */ + +#profile a:after, +#repositories a:after, +#about a:after { + content: " (" attr(href) ")"; + font-style: italic; + font-size: 10pt; +} +#profile #myblog:after, +#jobs p a:after { + content: none; +} + +a { + text-decoration: none; +} + +#mylanguages a, +#jobs p a { + color: inherit; +} + +/* --------- */ \ No newline at end of file diff --git a/index.html b/index.html index d0b807c..5537897 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,7 @@ + diff --git a/views/resume.html b/views/resume.html index a176f0d..75fffe8 100644 --- a/views/resume.html +++ b/views/resume.html @@ -25,7 +25,7 @@