Skip to content

Commit d10e4b1

Browse files
committed
add legend besides the CC logo
1 parent c3aa175 commit d10e4b1

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

assets/static/style.css

+8
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ body {
1111
.main-header .navbar-brand {
1212
margin-right: 2rem;
1313
}
14+
.main-header .navbar-brand img {
15+
width: 250px;
16+
}
17+
.main-header .navbar-brand .legend {
18+
display: block;
19+
font-size: .9rem;
20+
letter-spacing: .15rem;
21+
}
1422

1523
.footer {
1624
bottom: 0;

templates/layout.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@
1515
<div class="col-9">
1616
<nav class="navbar navbar-expand-md navbar-dark">
1717
{% set cc_logo = site.get('/').attachments.get('cclogo.svg') %}
18-
<a class="navbar-brand" href="#">
18+
<a class="navbar-brand" href="{{ '/'|url }}">
1919
<img src="{{ cc_logo|url }}">
20+
<span class="legend">Creative Commons Open Source</span>
2021
</a>
2122
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
2223
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">

0 commit comments

Comments
 (0)