summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Ouvrard <antoine.ouvrard@nereide.fr>2021-08-17 10:45:06 +0200
committerAntoine Ouvrard <antoine.ouvrard@nereide.fr>2021-08-17 10:45:06 +0200
commit56693116d198f4f592cf508c5b439c4578521f92 (patch)
treee1e8bc5741f0966dc60e2fdfea6f6212a2583aac
parent8319eee9c42e0f6ba2692de2822f87e1d6704aef (diff)
ajout de la version imprimable + réorga css
-rw-r--r--input-cv-md/antoine.md3
-rw-r--r--output/antoine/index.html3
-rw-r--r--styles/aou.css27
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 @@
<hr />
<p>cv2021@aouvrard.fr<br />
37700 Saint-Pierre des Corps<br />
-<a href="https://git.emao.fr/antoine/cv-aou">Sources de ce site</a> sur mon git auto-hébergé</p>
+<a href="https://git.emao.fr/antoine/cv-aou">Sources de ce site</a> sur mon git auto-hébergé<br />
+<a href="javascript:window.print()">Version Imprimable</a></p>
</body>
</html>
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;
+ }
+}