Add system selector to man pages + other stuff
The /man/* URLs now directly open man pages rather than redirecting to the permalink format, so that the extra source information can be used to provide a better UI for switching between systems and packages (currently only between systems). Step one in getting rid of the JS location/version selection thingies. Still quite a bit more to do, but I haven't worked it all out yet.
This commit is contained in:
parent
5194ed95cf
commit
c6f53fb0fb
2 changed files with 121 additions and 80 deletions
21
www/man.css
21
www/man.css
|
|
@ -76,16 +76,21 @@ main.thin { max-width: 700px; margin: 0 auto }
|
|||
#manres table { margin: 2px 10px; }
|
||||
#manres table tr td:nth-child(1) { min-width: 80px }
|
||||
|
||||
#nav { background: #f0f8ff; color: #036; float: right; padding: 8px; width: 250px; margin-bottom: 10px; border-radius: 8px; }
|
||||
#nav b { text-transform: uppercase; font-size: 13px }
|
||||
#nav p { margin: 3px 5px 20px 5px }
|
||||
#nav p a, #nav p i { padding: 3px 5px; font-size: 13px; font-style: normal; text-decoration: none;}
|
||||
#nav p a:hover, #nav p i { background: #cde; border-radius: 5px }
|
||||
#nav ul { list-style-type: none; margin: 3px 10px 0 20px }
|
||||
#nav ul li a { overflow: hidden; margin-left: -10px; text-decoration: none; text-transform: capitalize }
|
||||
.manpage nav { background: #f0f8ff; color: #036; float: right; padding: 8px; width: 250px; margin-bottom: 10px; border-radius: 8px; }
|
||||
.manpage nav b { text-transform: uppercase; font-size: 13px }
|
||||
.manpage nav p { margin: 3px 5px 20px 5px }
|
||||
.manpage nav p a,
|
||||
.manpage nav p i { padding: 3px 5px; font-size: 13px; font-style: normal; text-decoration: none;}
|
||||
.manpage nav p a:hover,
|
||||
.manpage nav p i { background: #cde; border-radius: 5px }
|
||||
.manpage nav ul { list-style-type: none; margin: 3px 10px 0 20px }
|
||||
.manpage nav ul li a { overflow: hidden; margin-left: -10px; text-decoration: none; text-transform: capitalize }
|
||||
.manpage nav form { margin: 0 0 10px 0 }
|
||||
.manpage nav select { width: 200px }
|
||||
.manpage nav input { width: 40px }
|
||||
|
||||
#contents { margin: 10px 0 0 0 }
|
||||
|
||||
pre { margin: 10px 0 0 0 }
|
||||
pre, pre * { font-family: "Lucida Console", Monospace; font-size: 15px }
|
||||
pre b, pre em, pre a { color: #369; font-weight: normal; text-decoration: none }
|
||||
pre em { font-style: italic }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue