Files
MyX/public/assets/sass/_body.scss
2024-08-11 16:14:28 +02:00

51 lines
885 B
SCSS

body {
font-family: $fontFamily;
font-size: $fontSize;
line-height: $lineHeight;
letter-spacing: $letterSpacing;
color: $colorText;
background: $colorBackground;
width: 100%;
height: 100%;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
// close all the scroll bars
::-webkit-scrollbar {
width: 0;
}
// Selection color
::selection {
background: rgba($colorPrimary, 0.3);
}
// default link options
a {
transition: none;
color: $colorPrimary;
outline: 0 !important;
text-decoration: none;
&:hover,
&:active,
&:focus {
outline: 0 !important;
color: $colorPrimary;
text-decoration: none;
}
}
button {
outline: 0 !important;
&:hover,
&:active,
&:focus {
outline: 0 !important;
}
}
// Safearea
$safeBottom: env(safe-area-inset-bottom);
$safeTop: env(safe-area-inset-top);