fix(styles): centralize logo container styles
All checks were successful
Build and Deploy Static Site (Pride Theme) / build (push) Successful in 59s
Build and Deploy Static Site / build (push) Successful in 58s

Moved repetitive logo container styles to `base.css` for better maintainability and consistency across themes. Previously duplicated styles in individual theme files `plain.css` and `pride.css` are now removed.

This centralization reduces redundancy and ensures consistent styling for logo containers across different themes.
This commit is contained in:
Kumi 2024-09-24 08:21:20 +02:00
parent e2d35c7893
commit a07fdf170c
Signed by: kumi
GPG key ID: ECBCC9082395383F
3 changed files with 17 additions and 16 deletions

View file

@ -123,6 +123,23 @@ h5 {
color: #604c2e; color: #604c2e;
} }
/* Image Styles */
#logoContainer {
background-size: contain;
background-repeat: no-repeat;
max-width: 400px;
max-height: 400px;
width: 80vh;
height: 80vh;
}
#smallLogoContainer {
background-size: contain;
background-repeat: no-repeat;
width: 64px;
height: 64px;
}
.homemade, .homemade,
.fork { .fork {
right: -0.5rem; right: -0.5rem;

View file

@ -1,15 +1,7 @@
#logoContainer { #logoContainer {
background-image: url(../../img/logo-inv_grad.svg); background-image: url(../../img/logo-inv_grad.svg);
background-size: contain;
max-width: 400px;
max-height: 400px;
width: 80vh;
height: 80vh;
} }
#smallLogoContainer { #smallLogoContainer {
background-image: url(../../img/logo-inv_grad.svg); background-image: url(../../img/logo-inv_grad.svg);
background-size: contain;
width: 64px;
height: 64px;
} }

View file

@ -4,16 +4,8 @@
#logoContainer { #logoContainer {
background-image: url(../../img/logo-white.svg); background-image: url(../../img/logo-white.svg);
background-size: contain;
max-width: 400px;
max-height: 400px;
width: 80vh;
height: 80vh;
} }
#smallLogoContainer { #smallLogoContainer {
background-image: url(../../img/logo-inv_grad.svg); background-image: url(../../img/logo-inv_grad.svg);
background-size: contain;
width: 64px;
height: 64px;
} }