refactor: consistent logo sizes

This commit is contained in:
Carlos Valente
2025-02-25 21:16:16 +01:00
committed by Carlos Valente
parent e37254107e
commit e90161aa33
9 changed files with 50 additions and 11 deletions
@@ -1,5 +1,5 @@
.viewLogo {
max-width: 100%;
max-height: 100%;
max-height: 75px;
display: block;
}
@@ -25,6 +25,14 @@
top: 2vw;
left: 2vw;
max-width: min(200px, 20vw);
max-height: min(100px, 20vh);
}
}
/* =================== MOBILE ===================*/
@media screen and (max-width: 768px) {
.clock-view {
.logo img {
height: min(50px, 10vh);
}
}
}
@@ -38,7 +38,6 @@
top: 2vw;
left: 2vw;
max-width: min(200px, 20vw);
max-height: min(100px, 20vh);
}
/* =================== MAIN - EVENT CONTAINER ===================*/
@@ -175,3 +174,13 @@
}
}
}
/* =================== MOBILE ===================*/
@media screen and (max-width: 768px) {
.countdown {
.logo img {
height: min(50px, 10vh);
}
}
}
@@ -56,6 +56,15 @@
top: 2vw;
left: 2vw;
max-width: min(200px, 20vw);
max-height: min(100px, 20vh);
}
}
/* =================== MOBILE ===================*/
@media screen and (max-width: 768px) {
.minimal-timer {
.logo img {
height: min(50px, 10vh);
}
}
}
@@ -44,7 +44,6 @@
.logo {
max-width: min(200px, 20vw);
max-height: min(100px, 20vh);
}
.title {
@@ -184,7 +183,7 @@
gap: 0.5rem;
}
.logo {
.logo img {
height: min(50px, 10vh);
}
@@ -18,7 +18,6 @@
.logo {
max-width: min(200px, 30vw);
max-height: min(100px, 20vh);
}
.info {
@@ -46,3 +45,12 @@
}
}
}
/* =================== MOBILE ===================*/
@media screen and (max-width: 768px) {
.project {
.logo img {
height: min(50px, 10vh);
}
}
}
+1 -2
View File
@@ -43,7 +43,6 @@
.logo {
max-width: min(200px, 20vw);
max-height: min(100px, 20vh);
}
.title {
@@ -165,7 +164,7 @@
gap: 0.5rem;
}
.logo {
.logo img{
height: min(50px, 10vh);
}
@@ -23,7 +23,6 @@
.logo {
max-width: min(200px, 20vw);
max-height: min(100px, 20vh);
}
.clock-container {
+9 -1
View File
@@ -201,6 +201,14 @@
top: $view-block-padding;
left: $view-inline-padding;
max-width: min(200px, 20vw);
max-height: min(100px, 20vh);
}
}
/* =================== MOBILE ===================*/
@media screen and (max-width: 768px) {
.stage-timer {
.logo img {
height: min(50px, 10vh);
}
}
}