aboutsummaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2022-11-26 08:55:36 +0000
committerBen Harris <bjh21@bjh21.me.uk>2022-11-26 08:55:36 +0000
commit19540d2ef81e2640e511ff5212b545f8225f5eaa (patch)
tree609ef5239f0ea27f201bf39ff516097212a2733b /html
parent115edab4597ba526f9afaa659e4c968db026658f (diff)
downloadpuzzles-19540d2ef81e2640e511ff5212b545f8225f5eaa.zip
puzzles-19540d2ef81e2640e511ff5212b545f8225f5eaa.tar.gz
puzzles-19540d2ef81e2640e511ff5212b545f8225f5eaa.tar.bz2
puzzles-19540d2ef81e2640e511ff5212b545f8225f5eaa.tar.xz
js: Hide menus and resize handle when printing
Diffstat (limited to 'html')
-rwxr-xr-xhtml/jspage.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/html/jspage.pl b/html/jspage.pl
index c09426f..8a63229 100755
--- a/html/jspage.pl
+++ b/html/jspage.pl
@@ -311,6 +311,11 @@ EOF
.apology-title {
text-align: center;
}
+
+\@media print {
+ /* Interactive controls should be hidden when printing. */
+ #gamemenu, #resizehandle { display: none; }
+}
</style>
</head>
<body>