Update _header.scss

This commit is contained in:
Marek Ľach 2021-01-11 01:40:17 +01:00 committed by GitHub
parent ba4476bf5a
commit 84621d1d27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ body > header {
a { a {
transform: skewX(15deg); transform: skewX(15deg);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -204,10 +204,9 @@ body > header {
display: block; display: block;
position: absolute; position: absolute;
left: 50%; left: 50%;
transform: translate(-50%, 0); transform: translate(-50%, 0);
transform: translateZ(0); transform: translateZ(0);
-webkit-transform: none !important; -webkit-transform: none !important;
opacity: 0; opacity: 0;
font-size: 0.9em; font-size: 0.9em;
white-space: nowrap; white-space: nowrap;
@ -219,8 +218,8 @@ body > header {
i { margin-bottom: 0.75em; } i { margin-bottom: 0.75em; }
.mobile-label { .mobile-label {
opacity: 1; opacity: 1;
transform: translate(-50%, 80%); transform: translate(-50%, 80%);
-webkit-transform: translate(-50%, 80%); -webkit-transform: translate(-50%, 80%);
} }
} }
} }
@ -240,7 +239,7 @@ body > header {
opacity: 1; opacity: 1;
} }
} }
@-webkit-keyframes menuOpening { @-webkit-keyframes menuOpening {
from { from {
-webkit-transform: scaleX(0); -webkit-transform: scaleX(0);
transform-origin: 'left'; transform-origin: 'left';