contrib/html: add a margin on left and right...

... for windows in landscape (wider than high). Also make the
notification float right for landscape only.
This commit is contained in:
Christian Hesse 2025-11-07 12:51:34 +01:00
parent bdf170a7fe
commit 514596f664

View file

@ -28,7 +28,7 @@ code {
}
div.notification {
position: relative;
float: right;
float: none;
width: 600px;
border: 3px outset #6c5d53;
/* border-radius: 5px; */
@ -67,3 +67,12 @@ pre code {
span.link {
color: #863600;
}
@media only screen and (orientation: landscape) {
body {
margin-left: 10vw;
margin-right: 10vw;
}
div.notification {
float: right;
}
}