chore: fix logo

This commit is contained in:
uetchy 2020-02-07 13:11:06 +09:00
parent b22a059f1d
commit 509bb9476d
2 changed files with 8 additions and 8 deletions

View File

@ -8,7 +8,7 @@ layout:
{% include head.html %} {% include head.html %}
<body> <body>
<div class="metro"> <div class="metro">
<h1> <h1 class="logo">
<img src="{{ site.baseurl }}/images/logo.svg" style="height: 50px" /> <img src="{{ site.baseurl }}/images/logo.svg" style="height: 50px" />
</h1> </h1>
<nav> <nav>

View File

@ -142,6 +142,12 @@ hr {
flex-direction: column; flex-direction: column;
margin: 75px 0 100px; margin: 75px 0 100px;
.logo {
@media (prefers-color-scheme: dark) {
filter: invert(1);
}
}
.menu { .menu {
margin: 15px 0 0 0; margin: 15px 0 0 0;
padding: 0; padding: 0;
@ -154,12 +160,6 @@ hr {
} }
} }
@media (prefers-color-scheme: dark) {
img {
filter: invert(1);
}
}
@media screen and (max-width: $break-small) { @media screen and (max-width: $break-small) {
margin: 40px 0 40px; margin: 40px 0 40px;
.menu { .menu {