Skip to content

Commit 4964bed

Browse files
Merge branch 'header-refinement' into contexts-build
merge minor header component feature changes
2 parents f883ec7 + 1b91ce9 commit 4964bed

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

src/context/home-index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ <h1><a class="identity-logo" href="#">Creative Commons</a></h1>
2323
<li><a href="#">Licenses and Tools</a></li>
2424
<li><a href="#">Blog</a></li>
2525
<li><a href="#">Support Us</a></li>
26+
<li><a class="attention" href="https://summit.creativecommons.org/">Global Summit 2023</a></li>
2627
</ul>
2728
</nav>
2829

src/vocabulary/css/vocabulary.css

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,10 @@ body > header {
222222
}
223223

224224
.masthead .primary-menu ul li {
225+
display: flex;
226+
align-items: center;
225227
margin-top: 5px;
226-
margin-left: 20px;
227-
228+
margin-left: 20px;
228229
}
229230

230231
.masthead .primary-menu ul li a {
@@ -241,6 +242,15 @@ body > header {
241242
color: black;
242243
}
243244

245+
.masthead .primary-menu ul li a.attention {
246+
display: inline-block;
247+
padding: 0.5em;
248+
249+
background: var(--vocabulary-brand-color-turquoise);
250+
color: white;
251+
border-radius: 4px;
252+
}
253+
244254
button.expand-menu {
245255
display: none;
246256
}

0 commit comments

Comments
 (0)