mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-13 09:17:20 +00:00
use ems for percent and size elements
This commit is contained in:
@@ -172,6 +172,7 @@
|
|||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: auto auto auto;
|
grid-template-columns: auto auto auto;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
font-size: 2.6rem;
|
||||||
|
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
background: var(--main-theme-color);
|
background: var(--main-theme-color);
|
||||||
@@ -185,9 +186,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.size-direction {
|
.size-direction {
|
||||||
font-weight: 700;
|
|
||||||
align-self: center;
|
align-self: center;
|
||||||
font-family: sans-serif;
|
font-family: ui-monospace, monospace;
|
||||||
opacity: 0.76;
|
opacity: 0.76;
|
||||||
text-shadow: 0 2px rgba(0, 0, 0, 0.3);
|
text-shadow: 0 2px rgba(0, 0, 0, 0.3);
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
@@ -197,7 +197,6 @@
|
|||||||
|
|
||||||
.size-value {
|
.size-value {
|
||||||
font-family: 'Roboto Mono Numbers';
|
font-family: 'Roboto Mono Numbers';
|
||||||
font-size: 2.6rem;
|
|
||||||
text-shadow: 0 2px rgba(0, 0, 0, 0.3);
|
text-shadow: 0 2px rgba(0, 0, 0, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -207,6 +206,7 @@
|
|||||||
top: 4px;
|
top: 4px;
|
||||||
opacity: 0.76;
|
opacity: 0.76;
|
||||||
margin-left: 0.2rem;
|
margin-left: 0.2rem;
|
||||||
|
font-size: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.download {
|
.download {
|
||||||
|
|||||||
Reference in New Issue
Block a user