Merge pull request #212 from sumnerevans/consistent-double-bars

Made the vertical bars between menu items consistent
This commit is contained in:
Alexandre Vicenzi 2020-04-16 09:54:26 +02:00 committed by GitHub
commit cc7241d89f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,22 +119,21 @@ main {
nav { nav {
text-align: center; text-align: center;
text-transform: uppercase; text-transform: uppercase;
font-size: .72em;
padding: 14px 0 14px 0; padding: 14px 0 14px 0;
border-bottom: @nav-border-color 1px solid; border-bottom: @nav-border-color 1px solid;
// Need to use font-size of 0 so that whitespace between the <a> tags
// doesn't have an affect on alignment.
font-size: 0;
} }
nav, .translations { nav, .translations {
a { a {
padding: 0 4px 0 4px; font-size: 12px;
border-left: @nav-border-color 1px solid; padding: 0 4px;
border-right: @nav-border-color 1px solid; border-right: @nav-border-color 1px solid;
} }
:first-child {
border-left: none;
}
:last-child { :last-child {
border-right: none; border-right: none;
} }