Skip to content

Commit 48cedc8

Browse files
author
Max Harris
committed
orange underline
1 parent fc3726b commit 48cedc8

File tree

3 files changed

+28
-11
lines changed

3 files changed

+28
-11
lines changed

themes/jolteon/css/app.css

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

themes/jolteon/css/app.min.css

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/jolteon/css/scss/06-components/_components.page-menu.scss

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
a {
1919
font-size: $font-size-small;
20-
line-height: 1.2em;
2120

2221
@include mq($from: tablet) {
2322
font-size: $font-size-base;
@@ -49,6 +48,17 @@
4948
}
5049

5150
.menu-item {
51+
52+
&.current-menu-item {
53+
a {
54+
box-shadow: none;
55+
56+
@include mq($from: desktop) {
57+
box-shadow: inset 0 -4px 0 0 $sp-orange;
58+
}
59+
}
60+
}
61+
5262
@include mq($from: tablet) {
5363
margin-right: 0;
5464
text-align: center;
@@ -62,6 +72,7 @@
6272
a {
6373
@include mq($from: smartphone) {
6474
font-size: $font-size-small;
75+
line-height: 1.2em;
6576
}
6677

6778
@include mq($from: tablet) {
@@ -70,12 +81,12 @@
7081
font-size: $font-size-base;
7182
justify-content: center;
7283
}
73-
74-
@include mq($from: wide) {
75-
font-size: $font-size-large;
76-
}
7784
}
7885
}
7986
}
87+
88+
@include mq($from: wide) {
89+
width: 1170px;
90+
}
8091
}
8192
}

0 commit comments

Comments
 (0)