Made the bars between menu items consistently spaced and a single bar
This commit is contained in:
parent
624491bce1
commit
490db16a3b
1 changed files with 6 additions and 7 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue