Skip to content

Commit 91d5525

Browse files
Drop icons in navbar
1 parent baa9575 commit 91d5525

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

‎codespeed/static/css/main.css‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,12 @@ ul#links {
9797
}
9898
ul#links li { margin-left: 0.25em; }
9999
ul#links li a:link, ul#links li a:visited {
100-
display: inline-flex;
101-
align-items: center;
102-
gap: 0.4em;
100+
display: inline-block;
103101
padding: 0.35em 0.75em;
104102
color: var(--text-muted);
105103
border-radius: var(--radius-sm);
106104
text-decoration: none;
107105
}
108-
ul#links li a svg { width: 1.05em; height: 1.05em; overflow: visible; stroke: currentColor; stroke-width: 0.6; stroke-linejoin: round; }
109106
ul#links li a:hover, ul#links li a:focus {
110107
color: var(--text);
111108
background-color: var(--surface-alt);

‎codespeed/templates/codespeed/base.html‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@
2525
</a>
2626
<h2>{% block page_title %}Speed Center{% endblock page_title %}</h2>
2727
{% block top_nav %}
28-
{# Icons: Bootstrap Icons house-door and info-circle (MIT, twbs/icons) #}
2928
<ul id="links" class="inline">
30-
<li><a href="{% url 'home' %}"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16" aria-hidden="true" focusable="false"><path d="M8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4.5a.5.5 0 0 0 .5-.5v-4h2v4a.5.5 0 0 0 .5.5H14a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293zM2.5 14V7.707l5.5-5.5 5.5 5.5V14H10v-4a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5v4z"/></svg>Home</a></li><li><a href="{% url 'about' %}"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16" aria-hidden="true" focusable="false"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/><path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0"/></svg>About</a></li>
29+
<li><a href="{% url 'home' %}">Home</a></li><li><a href="{% url 'about' %}">About</a></li>
3130
</ul>
3231
{% endblock top_nav %}
3332
{% endblock page_header %}

0 commit comments

Comments
 (0)