diff options
author | Maxim Devaev <[email protected]> | 2024-11-05 18:17:00 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2024-11-05 18:17:04 +0200 |
commit | f1503d69e0b15caa5d8fd0f4fb30b91d516db2ea (patch) | |
tree | fabf052a16237e9947356310be427621fc0dd705 /web/share/css | |
parent | 0010dd1d114d5c03b7397394b8e12dee5908669d (diff) |
pikvm/pikvm#1207: Draw UI tips via meta.yaml
Diffstat (limited to 'web/share/css')
-rw-r--r-- | web/share/css/main.css | 4 | ||||
-rw-r--r-- | web/share/css/navbar.css | 30 |
2 files changed, 32 insertions, 2 deletions
diff --git a/web/share/css/main.css b/web/share/css/main.css index cd8b6342..8a074aa7 100644 --- a/web/share/css/main.css +++ b/web/share/css/main.css @@ -297,10 +297,10 @@ ul.footer { ul.footer li { padding: 0 10px; } -ul.footer li.footer-left { +ul.footer li.left { float: left; } -ul.footer li.footer-right { +ul.footer li.right { float: right; } ul.footer li a { diff --git a/web/share/css/navbar.css b/web/share/css/navbar.css index eb125f9a..af704add 100644 --- a/web/share/css/navbar.css +++ b/web/share/css/navbar.css @@ -198,3 +198,33 @@ ul#navbar li div.menu img.sign { margin-right: 10px; height: 20px; } + +ul.navbar-bg-tips { + list-style-type: none; + top: 50px; + position: fixed; + width: 100%; + padding: 0; + font-size: 0.7em; + line-height: 1.5em; + color: var(--cs-page-obscure-fg); + z-index: -10; +} +ul.navbar-bg-tips li { + padding: 0 10px; + max-width: 20%; +} +ul.navbar-bg-tips li pre { + word-break: break-word; + white-space: break-spaces; + text-align: justify; +} +ul.navbar-bg-tips li.left { + float: left; +} +ul.navbar-bg-tips li.right { + float: right; +} +ul.navbar-bg-tips li a { + color: var(--cs-page-obscure-fg); +} |