From 56693116d198f4f592cf508c5b439c4578521f92 Mon Sep 17 00:00:00 2001 From: Antoine Ouvrard Date: Tue, 17 Aug 2021 10:45:06 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20de=20la=20version=20imprimable=20+=20r?= =?UTF-8?q?=C3=A9orga=20css?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- input-cv-md/antoine.md | 3 ++- output/antoine/index.html | 3 ++- styles/aou.css | 27 ++++++++++++++++----------- 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/input-cv-md/antoine.md b/input-cv-md/antoine.md index 0dc5049..42c531f 100644 --- a/input-cv-md/antoine.md +++ b/input-cv-md/antoine.md @@ -67,4 +67,5 @@ JV cv2021@aouvrard.fr 37700 Saint-Pierre des Corps -[Sources de ce site](https://git.emao.fr/antoine/cv-aou) sur mon git auto-hébergé +[Sources de ce site](https://git.emao.fr/antoine/cv-aou) sur mon git auto-hébergé +[Version Imprimable](javascript:window.print()) diff --git a/output/antoine/index.html b/output/antoine/index.html index 225b1e2..f550397 100644 --- a/output/antoine/index.html +++ b/output/antoine/index.html @@ -84,6 +84,7 @@

cv2021@aouvrard.fr
37700 Saint-Pierre des Corps
-Sources de ce site sur mon git auto-hébergé

+Sources de ce site sur mon git auto-hébergé
+Version Imprimable

diff --git a/styles/aou.css b/styles/aou.css index 7af9f16..c48c98e 100644 --- a/styles/aou.css +++ b/styles/aou.css @@ -19,14 +19,10 @@ h2 { text-align: center; } -p { - text-align: center; -} - h3 { - /* This is called "sectioncolor" in the ConTeXt stylesheet. */ color: #00bf18; } + /* There is a bar just before each category */ h3:before { content: ""; @@ -34,10 +30,15 @@ h3:before { margin-right:1%; width: 16%; height: 10px; - /* This is called "rulecolor" in the ConTeXt stylesheet. */ background-color: #00bf18; } +p { + text-align: center; + margin-top:0; + margin-bottom:7px; +} + /* Definitions */ dt { float: left; @@ -49,10 +50,6 @@ dd { margin-left: 17%; margin-bottom:7px; } -p { - margin-top:0; - margin-bottom:7px; -} /* Blockquotes */ blockquote { @@ -78,4 +75,12 @@ hr { table { width: 100%; -} \ No newline at end of file +} + +/* Print settings */ +@media print { + body * { + background: #c3c3c3; + color: #333; + } +}