dont stretch logo

master
Aevann 2024-11-11 16:43:22 +02:00
parent 09dda3a855
commit cfd6117b00
6 changed files with 9 additions and 5 deletions

View File

@ -6947,6 +6947,10 @@ body > .container {
}
}
.logo {
object-fit: contain;
}
@media (min-width: 1000px) {
#logo-WPD {
width: 90px;

View File

@ -99,7 +99,7 @@
</a>
<div id="logo-container" class="flex-grow-1 logo-container">
<a href="https://watchpeopledie.tv/">
<img loading="lazy" class="ml-1" id="logo-WPD" alt="logo" src="https://i.watchpeopledie.tv/i/WPD/logo.webp?x=12" width="70">
<img loading="lazy" class="logo ml-1" id="logo-WPD" alt="logo" src="https://i.watchpeopledie.tv/i/WPD/logo.webp?x=12" width="70">
</a>
</div>
<div class="flex-grow-1 d-fl pad">

View File

@ -99,7 +99,7 @@
</a>
<div id="logo-container" class="flex-grow-1 logo-container">
<a href="https://watchpeopledie.tv/">
<img loading="lazy" class="ml-1" id="logo-WPD" alt="logo" src="https://i.watchpeopledie.tv/i/WPD/logo.webp?x=12" width="70">
<img loading="lazy" class="logo ml-1" id="logo-WPD" alt="logo" src="https://i.watchpeopledie.tv/i/WPD/logo.webp?x=12" width="70">
</a>
</div>
<div class="flex-grow-1 d-fl pad">

View File

@ -100,7 +100,7 @@
</a>
<div id="logo-container" class="flex-grow-1 logo-container">
<a href="https://rdrama.net/">
<img loading="lazy" class="ml-1" id="logo-rDrama" alt="logo" src="https://i.rdrama.net/i/rDrama/logo.webp?x=12" width="70">
<img loading="lazy" class="logo ml-1" id="logo-rDrama" alt="logo" src="https://i.rdrama.net/i/rDrama/logo.webp?x=12" width="70">
</a>
</div>
<div class="flex-grow-1 d-fl pad">

View File

@ -100,7 +100,7 @@
</a>
<div id="logo-container" class="flex-grow-1 logo-container">
<a href="https://rdrama.net/">
<img loading="lazy" class="ml-1" id="logo-rDrama" alt="logo" src="https://i.rdrama.net/i/rDrama/logo.webp?x=12" width="70">
<img loading="lazy" class="logo ml-1" id="logo-rDrama" alt="logo" src="https://i.rdrama.net/i/rDrama/logo.webp?x=12" width="70">
</a>
</div>
<div class="flex-grow-1 d-fl pad">

View File

@ -176,7 +176,7 @@
{% else %}
{% set logo_url = 'logo.webp' | asset_siteimg %}
{% endif %}
<img loading="lazy" class="ml-1" id="logo-{{SITE_NAME}}" alt="logo" src="{{logo_url}}" width="70">
<img loading="lazy" class="logo ml-1" id="logo-{{SITE_NAME}}" alt="logo" src="{{logo_url}}" width="70">
</a>
</div>
{% endif %}