diff options
author | dweller <dweller@cabin.digital> | 2024-02-24 17:35:21 +0200 |
---|---|---|
committer | dweller <dweller@cabin.digital> | 2024-02-24 17:35:21 +0200 |
commit | a87359aaacac66655af6baa80ced112ac842f651 (patch) | |
tree | c8f4081bdd492bcfc4ac9982819f1734bbac5fb3 /style | |
parent | c680cbf1d759c13a0a2a54fced7e963f0094bd1f (diff) |
change search to be actually html5 search, add URL field in the page page. man (hehe) what a mess...
Diffstat (limited to '')
-rw-r--r-- | style/man.css | 102 |
1 files changed, 100 insertions, 2 deletions
diff --git a/style/man.css b/style/man.css index 12a00b2..b804d45 100644 --- a/style/man.css +++ b/style/man.css @@ -5,13 +5,91 @@ * See LICENSE for details */ +#results +{ + margin-top: 3em; + margin-bottom: 1em; + + width: min(100% - 3rem, 10in); +} + +#lmmtfy +{ + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} + +#lmmtfy > div +{ + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + + margin: 0.1in 0.25in; + padding: 0.1in 0.25in; + + border: 1px solid var(--border); + border-radius: 1em; +} + +#lmmtfy > div > div +{ + position: relative; + top: -50px; + left: 0; + +} + +#lmmtfy > div > div> label +{ + position: absolute; + width: 65pt; + padding: 0 8pt; + + background-color: var(--bg); +} + +#lmmtfy textarea +{ + height: 3rem; + width: 250px; + + margin: 1rem 0.5rem; + padding: 0 0.5rem; + + text-align: center; + line-height: 2.75em; + + overflow: auto; + outline: none; + resize: none; + + background-color: var(--qbg); + color: var(--qfg); + + border: 1px solid var(--qborder); + border-radius: 0.5em; + + box-shadow: 0.5pt 0.75pt 0.5rem var(--qshadow); +} + + +#lmmtfy textarea:hover +{ + background-color: var(--qbgh); + border: 1px solid var(--qborderh); + box-shadow: 0.5pt 0.75pt 0.5rem var(--qshadowh); +} + .manpage { font-size: small; - width: min(100% - 3rem, 9in); + margin: 0.25in; padding: 0.25in; - margin: 1em 0 1em 0; border: 1px solid var(--border); border-radius: 1em; @@ -27,6 +105,17 @@ } +@media (prefers-color-scheme: dark) +{ + #lmmtfy textarea + { + background-color: var(--qbgh); + border: 1px solid var(--qborderh); + } + + #lmmtfy textarea:hover { box-shadow: 0.5pt 0.75pt 0.5rem var(--qshadowh); } +} + @media (width <= 800px) { .manpage @@ -35,6 +124,15 @@ border: none; margin: 0; padding: 0; + padding-right: 1%; + } + + #lmmtfy { margin-bottom: 3em; } + + #lmmtfy > div + { + padding: 0; + border: none; } } |