mirror of
https://github.com/lscambo13/ElegantFin.git
synced 2025-09-18 12:40:16 +00:00
New: Allowed clear logos to be visible on older browsers
This commit is contained in:
@@ -1077,27 +1077,14 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.detailLogo {
|
.detailLogo {
|
||||||
/* this hides the detail logo by default to make it only show up on modern browsers */
|
display: block;
|
||||||
display: none;
|
top: calc(100vh - 10em - var(--primaryItemPageNegativeSpace));
|
||||||
}
|
left: 0;
|
||||||
|
width: 40%;
|
||||||
@supports (aspect-ratio: 1 / 1) {
|
transform: translateY(-100%);
|
||||||
/* this shows the detail logo on modern browsers */
|
margin: auto 30%;
|
||||||
|
height: 25vh;
|
||||||
.detailLogo {
|
background-position: bottom;
|
||||||
display: block;
|
|
||||||
top: calc(100vh - 10em - var(--primaryItemPageNegativeSpace));
|
|
||||||
left: 0;
|
|
||||||
width: 40%;
|
|
||||||
transform: translateY(-100%);
|
|
||||||
margin: auto 30%;
|
|
||||||
height: 25vh;
|
|
||||||
background-position: bottom;
|
|
||||||
}
|
|
||||||
|
|
||||||
.layout-tv .detailLogo {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout-mobile .detailLogo {
|
.layout-mobile .detailLogo {
|
||||||
@@ -1153,6 +1140,7 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.layout-tv .detailLogo {
|
.layout-tv .detailLogo {
|
||||||
|
display: block;
|
||||||
height: 20vh;
|
height: 20vh;
|
||||||
top: 39vh;
|
top: 39vh;
|
||||||
left: 30vw;
|
left: 30vw;
|
||||||
|
Reference in New Issue
Block a user