From b6f6d509822cdcee84600a40faa265c31a2460bd Mon Sep 17 00:00:00 2001 From: Francesco Luzzana Date: Tue, 10 May 2022 03:19:11 +0200 Subject: [PATCH] ok good night --- contents.js | 16 ---------------- style.css | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/contents.js b/contents.js index d5ef13e..60c9a98 100644 --- a/contents.js +++ b/contents.js @@ -94,22 +94,6 @@ function createIndexSection(contribution) { } } -function printViewToggle() { - var printview = document.getElementById("printview"); - if (!printview) { - document.getElementsByTagName("head")[0].appendChild(pagedjs); - //----------------------- - //sto provando sta porcata qui, ma non funzia uguale. quando la pagina si trasforma in pagedjs la variabile del btn non è più definita (????) - // var btnPrint = document.getElementById("btn-print"); - // console.log(btnPrint); - //------------------------- - } else { - //document.getElementsByTagName("head")[0].removeChild(printview); - pagedjs.remove(); - console.log("aooooo che cazzo"); - } -} - const symbols = { "stream_01.mp3": "i1", "stream_02.mp3": "i2", diff --git a/style.css b/style.css index a30a902..367231f 100644 --- a/style.css +++ b/style.css @@ -118,6 +118,7 @@ dl { dt { margin-top: 24px; + font-style: italic; } dd { @@ -216,6 +217,9 @@ a{ } +a:hover{ + color: white; +} @namespace svg url(http://www.w3.org/2000/svg); @@ -232,3 +236,23 @@ svg|a:visited { svg|g { pointer-events: all; } + +@media (max-width: 991.98px){ + .container { + height: auto; + width: 100%; + display: block; + } + + .libretto { + overflow: hidden; + } + + .atlas svg { + padding: 16px; + } + + .info { + display: none; + } +} \ No newline at end of file