From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8111D138350 for ; Wed, 26 Feb 2020 18:53:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95353E09B0; Wed, 26 Feb 2020 18:53:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 66EB0E09B0 for ; Wed, 26 Feb 2020 18:53:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CAEA634F209 for ; Wed, 26 Feb 2020 18:53:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 48B8A10B for ; Wed, 26 Feb 2020 18:53:47 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1582666038.5de88d38b2fb5f2b0b07ed4e46d027fd7f0f4cd4.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: / X-VCS-Repository: proj/devmanual X-VCS-Files: devbook.xsl devmanual.css X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 5de88d38b2fb5f2b0b07ed4e46d027fd7f0f4cd4 X-VCS-Branch: master Date: Wed, 26 Feb 2020 18:53:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aea051b3-3b0d-464d-bc58-8d31213b4f0f X-Archives-Hash: 864165276b24e73a1fad473c307a44d8 commit: 5de88d38b2fb5f2b0b07ed4e46d027fd7f0f4cd4 Author: Max Magorsch gentoo org> AuthorDate: Tue Feb 25 19:01:53 2020 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Tue Feb 25 21:27:18 2020 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=5de88d38 Revise the navbar items The navbar links have been shortened using css resulting in a fixed navbar size. In addition the searchbar in the lower navbar has been centered vertically. Signed-off-by: Max Magorsch gentoo.org> Signed-off-by: Ulrich Müller gentoo.org> devbook.xsl | 10 +++++----- devmanual.css | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 5 deletions(-) diff --git a/devbook.xsl b/devbook.xsl index 0fd8766..8dc9976 100644 --- a/devbook.xsl +++ b/devbook.xsl @@ -677,7 +677,7 @@ --> -   + @@ -710,7 +710,7 @@ ../ -   + -   + @@ -780,10 +780,10 @@ -   + -   + diff --git a/devmanual.css b/devmanual.css index 41c6beb..24b3551 100644 --- a/devmanual.css +++ b/devmanual.css @@ -33,4 +33,44 @@ pre span.Constant { color: black; } pre span.Comment { color: red; } pre span.Statement { color: darkred; } +.truncated-text { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + vertical-align: top; +} + +.w-250 { + width: 250px; +} + +.max-w-200 { + max-width: 200px; +} + +/* compatible to Bootstrap 4 for future migration */ +.d-inline-block { + display: inline-block; +} + +/* compatible to Bootstrap 4 for future migration */ +.text-center { + text-align: center; +} + +/* compatible to Bootstrap 4 for future migration */ +.mr-2 { + margin-right: 8px; +} + +/* compatible to Bootstrap 4 for future migration */ +.ml-2 { + margin-left: 8px; +} + +/* vertically center the search bar */ +.navbar-grey .input-group { + margin-top: 3px; +} + /* vim: set ts=4 tw=80 et : */