svg restore, fixing hidpi text sizes

This commit is contained in:
infeeeee
2019-09-11 12:00:10 +02:00
parent 7044169e76
commit 72895de2a1
11 changed files with 172 additions and 15 deletions

View File

@@ -48,7 +48,7 @@
font-size: 6.8rem;
}
@media #{$bigdesktop-hidpi} {
// font-size: 5.5rem !important;
font-size: 5.5rem;
}
@media #{$verybigdesktop} {
font-size: 11rem;
@@ -89,11 +89,14 @@
font-size: 2rem;
}
@media #{$bigdesktop-hidpi} {
// font-size: 1.5rem !important;
font-size: 1.5rem;
}
@media #{$verybigdesktop} {
font-size: 3rem;
}
// @media #{$verybigdesktop-hidpi} {
// font-size: 2.6rem;
// }
}
@mixin home-metadata {

View File

@@ -132,6 +132,12 @@ $verybigdesktop: only screen and
min-width: 1919px
);
$verybigdesktop-hidpi: only screen and
(
min-width: 1919px
)
and (-webkit-min-device-pixel-ratio: 1.4);
// -------------------------------------------------------------------------- */
// GLOBAL VARIABLES */
// -------------------------------------------------------------------------- */
@@ -378,11 +384,11 @@ $v-unit-6: 24rem;
// STRUCTURE */
// -------------------------------------------------------------------------- */
.no-js body .loadingscreen{
.no-js body .loadingscreen {
display: none;
}
.loadingscreen{
.loadingscreen {
background-color: #fff;
width: 100vw;
height: 100vh;
@@ -401,7 +407,6 @@ $v-unit-6: 24rem;
width: 100vw;
height: 100vh;
z-index: 1;
// -------------------------------------------------------------------------- */
// header */
@@ -2224,7 +2229,7 @@ $padd: 2rem;
//figcaptions:
// .wp-block-image figcaption,
// .wp-block-gallery .blocks-gallery-image figcaption,
// .wp-block-gallery .blocks-gallery-item
// .wp-block-gallery .blocks-gallery-item
figcaption {
background: #fff;
position: absolute;