aboutsummaryrefslogtreecommitdiff
path: root/src/style.css
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2026-01-15 22:01:47 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2026-01-15 22:03:42 +0100
commitc8bc1513f9e459dc0c6761fc42f1ea77fce2654d (patch)
treef332eb440846f1997d91df897248160ca3463fea /src/style.css
parentf32ec21c3a2aaef8435abab314176b03c07755b9 (diff)
downloadsebastiano.tronto.net-c8bc1513f9e459dc0c6761fc42f1ea77fce2654d.tar.gz
sebastiano.tronto.net-c8bc1513f9e459dc0c6761fc42f1ea77fce2654d.zip
av2 singlepage + stuff
- Added single-page version of the Alta Via 2 pages, optimized for printing in A4 format. - Added .noheadermd extension to build.sh (treated like .md, but without header and footer). - Added versioning for css file. - Resized some Alta Via 2 pictures for fitting in pdf page.
Diffstat (limited to '')
-rw-r--r--src/style.css11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/style.css b/src/style.css
index 81cde7f..b0bc3e7 100644
--- a/src/style.css
+++ b/src/style.css
@@ -16,8 +16,8 @@ body { margin: auto 8px 20px 8px; }
16a { color: #0f2899; text-decoration: none; } 16a { color: #0f2899; text-decoration: none; }
17a:hover { text-decoration: underline; } 17a:hover { text-decoration: underline; }
18img { display: block; margin-left: auto; margin-right: auto; max-width: 100%; } 18img { display: block; margin-left: auto; margin-right: auto; max-width: 100%; }
19pre { background-color: #eeeeee; border: 2px solid; padding: 19pre { background-color: #eeeeee; border: 2px solid;
20 6px; overflow-x: auto; } 20 padding: 6px; overflow-x: auto; }
21pre code { padding: 0px; } 21pre code { padding: 0px; }
22code { background-color: #eeeeee; padding: 2px; } 22code { background-color: #eeeeee; padding: 2px; }
23#blob { background: #ffffff; border: none; } 23#blob { background: #ffffff; border: none; }
@@ -29,3 +29,10 @@ td h1 { text-align: left; font-size: 1.5em; }
29#log tr:hover td, #files tr:hover td { background-color: #eeeeee; } 29#log tr:hover td, #files tr:hover td { background-color: #eeeeee; }
30.url td { font-family: monospace; } 30.url td { font-family: monospace; }
31table tr td a img { min-width: 33px; } 31table tr td a img { min-width: 33px; }
32
33/* Page break for printing */
34@media print {
35 .page-break { break-before: always; }
36 img, p { break-inside: avoid; }
37 h1, h2, h3 { break-after: avoid; }
38}

Generated with cgit - Back to sebastiano.tronto.net