Skip to content

Commit becbd03

Browse files
committed
Header: Add navigation highlight style
1 parent 31cfe21 commit becbd03

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

css/includes/base.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,15 @@ input[type="reset"] {
190190
outline-offset: -2px;
191191
}
192192

193+
/* Add navigation highlight style */
194+
.is-style-highlight a {
195+
background: var(--wp--preset--color--accent-5);
196+
color: var(--wp--preset--color--white);
197+
padding-inline: 1em;
198+
padding-block: 0.25em;
199+
border-radius: 0.5em;
200+
}
201+
193202
/* Style the details block better */
194203
.wp-block-details {
195204
width: 100%;

style.css

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

0 commit comments

Comments
 (0)