Skip to content

Commit baf2c14

Browse files
Update logo
1 parent 8ad7503 commit baf2c14

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

_layouts/default.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<header class="site-header" role="banner">
3535
<nav class="nav-container" aria-label="Main navigation">
3636
<a class="nav-brand" href="{{ '/' | relative_url }}">
37-
<span class="brand-icon" aria-hidden="true"></span>
37+
<img class="brand-icon" src="{{ '/assets/images/logo.svg' | relative_url }}" alt="" aria-hidden="true" />
3838
<span class="brand-name">multilingual</span>
3939
<span class="brand-version">v{{ site.version }}</span>
4040
</a>
@@ -68,7 +68,7 @@
6868
<div class="footer-grid">
6969
<div class="footer-brand">
7070
<div class="footer-logo">
71-
<span class="brand-icon"></span>
71+
<img class="brand-icon" src="{{ '/assets/images/logo.svg' | relative_url }}" alt="" aria-hidden="true" />
7272
<span class="brand-name">multilingual</span>
7373
</div>
7474
<p class="footer-tagline">Write code in 17 human languages.<br/>One formal core. Infinite expression.</p>
@@ -120,3 +120,4 @@ <h4>Project</h4>
120120
<script src="{{ '/assets/js/main.js' | relative_url }}"></script>
121121
</body>
122122
</html>
123+

assets/css/main.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,10 @@ body {
123123
}
124124

125125
.brand-icon {
126-
font-size: 1.5rem;
127-
color: var(--accent-cyan);
128-
line-height: 1;
126+
width: 1.5rem;
127+
height: 1.5rem;
128+
display: block;
129+
flex-shrink: 0;
129130
}
130131

131132
.brand-name {
@@ -1071,7 +1072,7 @@ body {
10711072
margin-bottom: 1rem;
10721073
}
10731074

1074-
.footer-logo .brand-icon { color: var(--accent-cyan); font-size: 1.5rem; }
1075+
.footer-logo .brand-icon { width: 1.5rem; height: 1.5rem; }
10751076
.footer-logo .brand-name {
10761077
font-family: var(--font-sans);
10771078
font-weight: 700;
@@ -1215,3 +1216,4 @@ pre:hover .copy-btn { opacity: 1; }
12151216
.main-content { padding: 0; }
12161217
body { background: white; color: black; }
12171218
}
1219+

0 commit comments

Comments
 (0)