mirror of
https://github.com/privacyguides/privacyguides.org
synced 2024-12-03 16:33:31 +01:00
Fix logo on small screen sizes (#191)
This commit is contained in:
parent
a6a4072f0c
commit
96f54da6d1
@ -3,7 +3,8 @@
|
|||||||
<a class="navbar-brand" href="/">
|
<a class="navbar-brand" href="/">
|
||||||
<picture>
|
<picture>
|
||||||
<!--<source srcset="/assets/img/layout/privacy-guides-logo-dark.svg" media="(prefers-color-scheme: dark)">-->
|
<!--<source srcset="/assets/img/layout/privacy-guides-logo-dark.svg" media="(prefers-color-scheme: dark)">-->
|
||||||
<img src="/assets/img/layout/privacy-guides-logo-light.svg" alt="Privacy Guides Logo" width="300" height="39">
|
<source srcset="/assets/img/layout/privacy-guides-logo-notext-colorbg.svg" media="(max-width: 400px)">
|
||||||
|
<img class="navbar-logo" src="/assets/img/layout/privacy-guides-logo-light.svg" alt="Privacy Guides Logo" height="39">
|
||||||
</picture>
|
</picture>
|
||||||
</a>
|
</a>
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -90,4 +90,13 @@ h1, h2, h3:not(.h5), h4 {
|
|||||||
box-decoration-break: clone;
|
box-decoration-break: clone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.navbar-logo {
|
||||||
|
@media (max-width: 400px) {
|
||||||
|
width: 50px;
|
||||||
|
}
|
||||||
|
@media (min-width: 401px) {
|
||||||
|
width: 300px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@import "custom";
|
@import "custom";
|
||||||
|
Loading…
Reference in New Issue
Block a user