diff options
author | Wolfram Schneider <wosch@FreeBSD.org> | 2017-08-27 17:46:45 +0000 |
---|---|---|
committer | Wolfram Schneider <wosch@FreeBSD.org> | 2017-08-27 17:46:45 +0000 |
commit | 93acd189c74bb224027a3ae2d2e7374a801fc780 (patch) | |
tree | 5cf56fccb6a9bcdc14c82d52853192bb0e2ac1e5 /en_US.ISO8859-1/htdocs | |
parent | 9325949f17c2a8c7c198066ddba56f1cd2384657 (diff) | |
download | doc-93acd189c74bb224027a3ae2d2e7374a801fc780.tar.gz doc-93acd189c74bb224027a3ae2d2e7374a801fc780.zip |
basic responsive design for mobile devices
Notes
Notes:
svn path=/head/; revision=50751
Diffstat (limited to 'en_US.ISO8859-1/htdocs')
-rwxr-xr-x | en_US.ISO8859-1/htdocs/cgi/man.cgi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/en_US.ISO8859-1/htdocs/cgi/man.cgi b/en_US.ISO8859-1/htdocs/cgi/man.cgi index 38e69b3661..b90b917c68 100755 --- a/en_US.ISO8859-1/htdocs/cgi/man.cgi +++ b/en_US.ISO8859-1/htdocs/cgi/man.cgi @@ -971,6 +971,14 @@ span.footer_links { font-size: small; } input, button { font-size: large; } input[name='query'] { text-align: center; } span.space { font-size: xx-small; } + +@media only screen and (max-height: 640px), (max-width: 880px) { +div#header, div#menu { display: none !important; } +div#content { padding-top: 4.9em; } +form > input, button { font-size: 200%; } +form > button { font-size: 200%; } +input[name='query'] { width: 12em; } +} </style> |; |