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
bdf170a7fe
commit
514596f664
1 changed files with 10 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue