comparison mercurial/templates/static/style-paper.css @ 24041:9756f943634f

hgweb: use css margin instead of empty <p> before <div class="atom-logo"> The <p> elements were used to create an empty space between the last menu item (i.e. "help") and the atom feed icon, but they don't have any semantic meaning, so it is better to use css instead. The css rule uses top margin of 10px, which is equal to the top margin of the menu blocks ("help", "changeset, browse", etc). Previously, with <p> elements, the margin wasn't set explicitly and was browser-dependent. This change is a "better version" of 70cfa7e1611b, where <p> elements were simply properly closed.
author Anton Shestakov <engored@ya.ru>
date Thu, 05 Feb 2015 19:24:35 +0800
parents 9096f83f9e7c
children bf661a03fddc
comparison
equal deleted inserted replaced
24040:7f375d2de945 24041:9756f943634f
56 56
57 .menu img { 57 .menu img {
58 width: 75px; 58 width: 75px;
59 height: 90px; 59 height: 90px;
60 border: 0; 60 border: 0;
61 }
62
63 div.atom-logo {
64 margin-top: 10px;
61 } 65 }
62 66
63 .atom-logo img{ 67 .atom-logo img{
64 width: 14px; 68 width: 14px;
65 height: 14px; 69 height: 14px;