87 lines
1.5 KiB
SCSS
87 lines
1.5 KiB
SCSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
box-sizing: border-box;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-font-smoothing: antialiased;
|
|
-o-font-smoothing: antialiased;
|
|
|
|
scroll-behavior: smooth;
|
|
}
|
|
a {
|
|
color: currentColor;
|
|
}
|
|
button{
|
|
background: none;
|
|
outline: none;
|
|
border: none;
|
|
color: var(--color-txt);
|
|
}
|
|
iframe{
|
|
border: none;
|
|
}
|
|
|
|
body{
|
|
font-family: var(--font);
|
|
line-height: var(--leading-normal);
|
|
font-size: var(--fs-normal);
|
|
|
|
color: var(--color-txt);
|
|
background-color: var(--color-bg);
|
|
}
|
|
|
|
img{
|
|
max-width: 100%;
|
|
}
|
|
|
|
.link-block{
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
cursor: pointer;
|
|
// &:hover{
|
|
// background-color: rgba(255, 0, 0, 0.244);
|
|
// }
|
|
}
|
|
|
|
.swiper-button-next, .swiper-button-prev,
|
|
body, #site-header, #site-footer{
|
|
transition: background-color 0.3s ease, color 0.3s ease;
|
|
}
|
|
|
|
@mixin grid-content(){
|
|
display: grid;
|
|
grid-gap: var(--padding-inner);
|
|
grid-template-columns: 2fr 3fr;
|
|
position: relative;
|
|
}
|
|
|
|
|
|
@mixin hide-scroll(){
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
&::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@mixin clamp($lines) {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: $lines;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
|
|
body.menu-open,
|
|
body.is-hidden{
|
|
overflow-y: hidden;
|
|
main, footer, #nav-highlight, .btn--back-to-top{
|
|
transition: opacity .3s ease-in;
|
|
opacity: 0.1;
|
|
}
|
|
}
|