Skip to content

Commit 62e35e0

Browse files
author
Joe Crick
committed
(master): Border on top menu header
1 parent d92b755 commit 62e35e0

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

main.css

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/layout.less

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@black: #191818;
99
@light-gray: #999999;
1010
@menu-link: #777777;
11-
@menu-hover-color: #333333;
11+
@menu-gray: #333333;
1212

1313
body {
1414
font-family: sans-serif;
@@ -83,6 +83,10 @@ body {
8383
transition: all 0.2s ease-out;
8484
}
8585

86+
.pure-menu-heading {
87+
border-bottom: 1px solid @menu-gray;
88+
}
89+
8690
}
8791

8892
.dropdown-content {
@@ -106,16 +110,20 @@ body {
106110
}
107111

108112
@media @large-device {
109-
top: 50px;
113+
top: 56px;
110114
}
111115

112116
.pure-menu-item {
113117

118+
&.menu-item-divided {
119+
border-top: 1px solid @menu-gray;
120+
}
121+
114122
.pure-menu-link {
115123
color: @menu-link;
116124

117125
&:hover {
118-
background: @menu-hover-color;
126+
background: @menu-gray;
119127
}
120128

121129
}

0 commit comments

Comments
 (0)