Skip to content

Commit b5fdd8f

Browse files
committed
Style Rust logo
1 parent b2b716f commit b5fdd8f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/styles/app.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ $header-font: 'Alfa Slab One', serif;
5757
--theme-popup-bg: #141617;
5858
--theme-hover: #474c51;
5959
--theme-choice-color: #d5cbc6;
60+
--rust-logo-filter: drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);
6061
}
6162

6263
html {
@@ -79,7 +80,7 @@ body {
7980
display: flex;
8081
flex-direction: column;
8182
& > #main-content {
82-
flex: 1;
83+
flex: 1;
8384
}
8485
}
8586

@@ -418,3 +419,7 @@ header h1 {
418419
li.theme-item:hover {
419420
background-color: var(--theme-hover);
420421
}
422+
423+
.rust-logo {
424+
filter: var(--rust-logo-filter);
425+
}

templates/nav.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<nav class="flex flex-row justify-center justify-end-l items-center flex-wrap ph2 pl3-ns pr4-ns">
22
<div class="brand flex-auto w-100 w-auto-l self-start tc tl-l">
33
<a href="{{root}}{{blog.prefix}}">
4-
<img class="v-mid ml0-l" alt="Rust Logo" src="{{root}}images/rust-logo-blk.svg">
4+
<img class="v-mid ml0-l rust-logo" alt="Rust Logo" src="{{root}}images/rust-logo-blk.svg">
55
<span class="dib ml1 ml0-l">{{blog.title}}</span>
66
</a>
77
</div>

0 commit comments

Comments
 (0)