diff mercurial/templates/static/style-gitweb.css @ 32992:816a4fa7d5f8

hgweb: use separate CSS class for navigation links in footer 2d93d2159e30 changed the styling of the "page_nav" CSS class to use flexbox to separate elements within the <div>. I didn't realize that this class was used outside of the links in the header. So this resulted in incorrectly formatting links in the footer of various pages. Fix that by introducing a new CSS class that preserves the old CSS behavior.
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 20 Jun 2017 20:53:29 -0700
parents 2d93d2159e30
children 1c97df5e3b46
line wrap: on
line diff
--- a/mercurial/templates/static/style-gitweb.css	Sat Jun 17 13:25:42 2017 +0200
+++ b/mercurial/templates/static/style-gitweb.css	Tue Jun 20 20:53:29 2017 -0700
@@ -11,6 +11,12 @@
     align-items: center;
 }
 div.page_nav a:visited { color:#0000cc; }
+div.extra_nav {
+    padding: 8px;
+}
+div.extra_nav a:visited {
+    color: #0000cc;
+}
 div.page_path { padding:8px; border:solid #d9d8d1; border-width:0px 0px 1px}
 div.page_footer { padding:4px 8px; background-color: #d9d8d1; }
 div.page_footer_text { float:left; color:#555555; font-style:italic; }