mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-06 18:09:28 +00:00
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:
parent
bfa0148c9d
commit
db19c4cb43
1 changed files with 10 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ code {
|
||||||
}
|
}
|
||||||
div.notification {
|
div.notification {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: right;
|
float: none;
|
||||||
width: 600px;
|
width: 600px;
|
||||||
border: 3px outset #6c5d53;
|
border: 3px outset #6c5d53;
|
||||||
/* border-radius: 5px; */
|
/* border-radius: 5px; */
|
||||||
|
|
@ -67,3 +67,12 @@ pre code {
|
||||||
span.link {
|
span.link {
|
||||||
color: #863600;
|
color: #863600;
|
||||||
}
|
}
|
||||||
|
@media only screen and (orientation: landscape) {
|
||||||
|
body {
|
||||||
|
margin-left: 10vw;
|
||||||
|
margin-right: 10vw;
|
||||||
|
}
|
||||||
|
div.notification {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue