Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2017 17:46:45 +0000 (UTC)
From:      Wolfram Schneider <wosch@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r50751 - head/en_US.ISO8859-1/htdocs/cgi
Message-ID:  <201708271746.v7RHkjvf072356@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wosch
Date: Sun Aug 27 17:46:45 2017
New Revision: 50751
URL: https://svnweb.freebsd.org/changeset/doc/50751

Log:
  basic responsive design for mobile devices

Modified:
  head/en_US.ISO8859-1/htdocs/cgi/man.cgi

Modified: head/en_US.ISO8859-1/htdocs/cgi/man.cgi
==============================================================================
--- head/en_US.ISO8859-1/htdocs/cgi/man.cgi	Sun Aug 27 17:46:43 2017	(r50750)
+++ head/en_US.ISO8859-1/htdocs/cgi/man.cgi	Sun Aug 27 17:46:45 2017	(r50751)
@@ -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>
 |;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708271746.v7RHkjvf072356>