86 lines
1.5 KiB
SCSS
86 lines
1.5 KiB
SCSS
/*--------------------------------------------------------------
|
|
# General
|
|
--------------------------------------------------------------*/
|
|
:root {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
font-family: $font-default;
|
|
background: lighten($secondary, 76);
|
|
color: $default;
|
|
}
|
|
|
|
a {
|
|
color: $primary;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color: lighten($primary, 10);
|
|
text-decoration: none;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: $font-primary;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
# Main
|
|
--------------------------------------------------------------*/
|
|
#main {
|
|
margin-top: 60px;
|
|
padding: 20px 30px;
|
|
transition: all 0.3s;
|
|
@media (max-width: 1199px) {
|
|
padding: 20px;
|
|
}
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
# Page Title
|
|
--------------------------------------------------------------*/
|
|
.pagetitle {
|
|
margin-bottom: 10px;
|
|
h1 {
|
|
font-size: 24px;
|
|
margin-bottom: 0;
|
|
font-weight: 600;
|
|
color: $secondary;
|
|
}
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
# Back to top button
|
|
--------------------------------------------------------------*/
|
|
.back-to-top {
|
|
position: fixed;
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
right:15px;
|
|
bottom: 15px;
|
|
z-index: 99999;
|
|
background: $primary;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 4px;
|
|
transition: all 0.4s;
|
|
|
|
i {
|
|
font-size: 24px;
|
|
color: #fff;
|
|
line-height: 0;
|
|
}
|
|
|
|
&:hover {
|
|
background: lighten($primary, 8);
|
|
color: #fff;
|
|
}
|
|
|
|
&.active {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
|
|
}
|