From owner-svn-doc-all@freebsd.org Sun Aug 6 06:09:40 2017 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48E8EDC4CB1; Sun, 6 Aug 2017 06:09:40 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 12B29740B3; Sun, 6 Aug 2017 06:09:39 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v7669dBS043715; Sun, 6 Aug 2017 06:09:39 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v7669cni043713; Sun, 6 Aug 2017 06:09:38 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <201708060609.v7669cni043713@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: delphij set sender to delphij@FreeBSD.org using -f From: Xin LI Date: Sun, 6 Aug 2017 06:09:38 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r50639 - head/en_US.ISO8859-1/htdocs/layout/css X-SVN-Group: doc-head X-SVN-Commit-Author: delphij X-SVN-Commit-Paths: head/en_US.ISO8859-1/htdocs/layout/css X-SVN-Commit-Revision: 50639 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Aug 2017 06:09:40 -0000 Author: delphij Date: Sun Aug 6 06:09:38 2017 New Revision: 50639 URL: https://svnweb.freebsd.org/changeset/doc/50639 Log: Provide a set of stylesheet for printing. Modified: head/en_US.ISO8859-1/htdocs/layout/css/layout.css head/en_US.ISO8859-1/htdocs/layout/css/navigation.css Modified: head/en_US.ISO8859-1/htdocs/layout/css/layout.css ============================================================================== --- head/en_US.ISO8859-1/htdocs/layout/css/layout.css Sat Aug 5 08:43:51 2017 (r50638) +++ head/en_US.ISO8859-1/htdocs/layout/css/layout.css Sun Aug 6 06:09:38 2017 (r50639) @@ -60,6 +60,7 @@ /* Search */ +@media screen { #search { position: relative; text-align: right; @@ -99,7 +100,12 @@ color: #666; padding: 2px 2px 2px 5px; } +} +@media print { +#search { display: none; } +} + /* Mirror Select */ #mirror { @@ -464,6 +470,7 @@ /* Secondary Pages */ +@media screen { #sidewrap { float: left; width: 166px; @@ -480,6 +487,12 @@ #contentwrap { margin-left: 170px; padding-top: 15px; +} +} + +@media print { +#sidewrap, #rightwrap { display: none; } +#contentwrap { margin-left: 16px; padding-top: 15px; } } /* Footer */ Modified: head/en_US.ISO8859-1/htdocs/layout/css/navigation.css ============================================================================== --- head/en_US.ISO8859-1/htdocs/layout/css/navigation.css Sat Aug 5 08:43:51 2017 (r50638) +++ head/en_US.ISO8859-1/htdocs/layout/css/navigation.css Sun Aug 6 06:09:38 2017 (r50639) @@ -6,6 +6,7 @@ /* Site Navigation */ +@media screen { #topnav { text-align: left; color: #666; @@ -374,4 +375,15 @@ div#menu ul ul ul li:hover ul { .rightnav h1, .rightnav h2, .rightnav h3, .rightnav h4, .rightnav h5, .rightnav h6, .rightnav p { padding-left: 10px; padding-right: 10px; +} +} + +@media print { +#topnav, #topnavleft, #topnavright, #topnavlist { display: none; } +#menu { display: none; } +#languagenav, #languagenavlist { display: none; } +#searchnav, #searchnavlist { display: none; } +#sidenav { display: none; } +#feedlinks { display: none; } +.rightnav { display: none; } }