Skip to content

Commit a3ee912

Browse files
Tweak fonts and titlecase page title
1 parent 258771f commit a3ee912

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

‎codespeed/static/css/main.css‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
:root {
10-
--font-sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
10+
--font-sans: "Fira Sans", Helvetica, Arial, sans-serif;
1111
--font-mono: "Menlo", "ProFont", "Inconsolata", "Lucida Sans Console", monospace;
1212

1313
--page-bg: #f3f4f6;
@@ -81,11 +81,10 @@ div#title a { display: inline-flex; align-items: center; }
8181
div#title img { display: block; height: 40px; padding: 0; margin: 0; }
8282
div#title h2 {
8383
margin: 0;
84-
font-size: 1.15em;
85-
font-weight: 600;
84+
font-size: 1.3em;
85+
font-weight: 700;
8686
font-style: normal;
87-
letter-spacing: 0.04em;
88-
text-transform: uppercase;
87+
letter-spacing: 0.01em;
8988
color: var(--text);
9089
}
9190

@@ -94,7 +93,7 @@ ul.inline li { display: inline-block; list-style: none; }
9493

9594
ul#links {
9695
margin: 0 0 0 auto;
97-
font-size: 0.95em;
96+
font-size: 1.1em;
9897
}
9998
ul#links li { margin-left: 0.25em; }
10099
ul#links li a:link, ul#links li a:visited {

‎codespeed/templates/codespeed/base.html‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
<meta name="description" content="{% block description %}A performance analysis tool for software projects. It shows performance regresions and allows comparing different applications or implementations{% endblock %}">
77
<meta name="keywords" content="performance, test, plots, charts">
88
<meta charset="UTF-8">
9+
<link rel="preconnect" href="https://fonts.googleapis.com">
10+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
11+
{# Fira Sans, regular and bold, subset to printable ASCII #}
12+
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;700&amp;display=swap&amp;text=%20%21%22%23%24%25%26%27%28%29%2A%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%40ABCDEFGHIJKLMNOPQRSTUVWXYZ%5B%5C%5D%5E_%60abcdefghijklmnopqrstuvwxyz%7B%7C%7D~" rel="stylesheet">
913
<link href="{% static 'css/main.css' %}" rel="stylesheet" type="text/css">
1014
{% block extra_head %}{% endblock %}
1115
</head>
@@ -19,7 +23,7 @@
1923
<img src="{% static 'images/logo.png' %}" height="48" alt="logo"/>
2024
{% endblock logo %}
2125
</a>
22-
<h2>{% block page_title %}SPEED CENTER{% endblock page_title %}</h2>
26+
<h2>{% block page_title %}Speed Center{% endblock page_title %}</h2>
2327
{% block top_nav %}
2428
{# Icons: Bootstrap Icons house-door and info-circle (MIT, twbs/icons) #}
2529
<ul id="links" class="inline">

0 commit comments

Comments
 (0)