diff options
author | Holden Rohrer <hr@hrhr.dev> | 2021-02-21 03:32:28 -0500 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2021-02-21 03:32:28 -0500 |
commit | 0fe7c1f9cecadca1b70ec7aa810c2e2d0150d6b9 (patch) | |
tree | daed772555c79f743733b27807a7e2009773da4a /src | |
parent | 90fc60502dee139541bae3ea8262150057e163f3 (diff) |
hide footer on print to put everything in one page
Diffstat (limited to 'src')
-rw-r--r-- | src/index.css | 9 | ||||
-rw-r--r-- | src/index.html | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/index.css b/src/index.css index 8fc5b3b..c0b25bd 100644 --- a/src/index.css +++ b/src/index.css @@ -1,11 +1,9 @@ - body > div > * { width: 50%; display: inline-block; text-align: center; overflow: hidden; margin: 0; - line-height: initial; font-size: 225%; font-size: min(3.6vw,225%); position: relative; @@ -14,6 +12,7 @@ body > div > * { body > div > span > * { padding: 0px 10px; + line-height: 1.2em; } h1 { @@ -76,3 +75,9 @@ a, a:visited { a:hover { text-decoration: none; } + +@media print { + footer { + display: none; + } +} diff --git a/src/index.html b/src/index.html index 96923c0..a1e6e69 100644 --- a/src/index.html +++ b/src/index.html @@ -28,7 +28,7 @@ href="mailto:hennesseym@fultonschools.org">contact henneseym@fultonschools.org </a></h6></span><img src="chsmun.png" srcset="chsmun.png 1311w, chsmun600.png 600w, chsmun400.png 400w" sizes="(max-width: 400px) 400px, (max-width: 600px) 600px, 1311px"></div> -<footer><p><a href="https://www.flickr.com/photos/124387535@N03/14135683605">"Justice Gavel"</a> by <a href="https://www.flickr.com/photos/124387535@N03">toridawnrector</a> +<footer class="noprint"><p><a href="https://www.flickr.com/photos/124387535@N03/14135683605">"Justice Gavel"</a> by <a href="https://www.flickr.com/photos/124387535@N03">toridawnrector</a> is licensed under <a href="https://creativecommons.org/licenses/by-sa/2.0/?ref=ccsearch&atype=rich">CC BY-SA 2.0</a></p><p>All rights reserved © 2020 Centennial Model UN</p><div></footer> |