Commit 226345e4 authored by Jakob Moser's avatar Jakob Moser
Browse files

Automatically adjust size of logo to smaller widths

parent 7283098c
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -199,6 +199,20 @@ body > aside h2 {
    }
}

@media (max-width: 300px) {
    body > header .logo {
        width: 200px;
        height: calc(77px*200/250);
    }
}

@media (max-width: 215px) {
    body > header .logo {
        width: 150px;
        height: calc(77px*150/250);
    }
}

/* -- Navigation bar -- */
header .nav-toggle {
    display: none;