yugen.work/assets/css/main.scss

229 lines
3.5 KiB
SCSS

@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
$accent-color: red;
body {
background-color: black;
color: white;
background-image: url('/assets/images/y.jpg');
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
//font-size: 3vw;
}
@media only screen and (max-device-width: 1366px) {
body {
background-attachment: scroll;
}
}
* {
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
}
.title {
//font-family: 'Source Sans Pro', sans-serif !important;
font-size: 13vh;
margin: 0;
}
.subtitle {
//font-family: 'Source Sans Pro', sans-serif !important;
font-size: 3vh;
bottom: 50px;
//height: 1%;
text-align: center;
cursor: grab;
}
sub {
font-size: 1vh;
}
.center {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
a {
text-decoration: none;
color: white;
display: inline-block;
}
svg {
margin: 0;
padding: 0;
}
body.light a {
color: black;
}
/*
#box {
position: absolute;
z-index: 999;
border: 3vh solid black;
box-sizing: border-box;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
transition: border-color 0.5s ease-in-out;
}
body.light #box {
position: absolute;
z-index: 999;
border: 3vh solid white;
box-sizing: border-box;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
transition: border-color 0.5s ease-in-out;
}
*/
$socials: (
"twitter": #1da1f2,
"trello": #0079bf,
"discord": #7289da,
"ko-fi": #f16061,
"patreon": #f96854,
"instagram": #e4405f,
"DeviantArt": #05cc47,
"RedBubble": #e41321
);
@each $site, $color in $socials {
.#{$site}:hover {
fill: $color !important;
& ~ #box {
border-color: $color;
}
}
body.light a.#{$site} {
fill: black;
}
a.#{$site} {
fill: white;
}
.#{$site}::selection {
color: white;
background-color: $color;
}
body.light .#{$site}::selection {
//color: $color + 9a;
color: black;
background-color: $color + 26;
}
}
a svg {
max-width: 6ch;
}
.socials {
font-size: 2vh;
text-align: center;
justify-content: center;
box-sizing: border-box;
width: 85vw;
transition: fill 1s ease-in-out;
}
a {
margin: 2vh;
}
divide {
display: block;
height: 1vh;
border: 0;
border-top: 0px solid rgba(204, 204, 204, 0);
margin: 1vh 0;
padding: 1vh;
}
$accents: ("tos": #5fff5f);
$links: ('tos');
$time: 2s;
@each $link, $color in $accents {
.#{$link}:hover {
color: $color;
background-color: rgba(200, 119, 119, 0.459);
& ~ #box {
border-color: $color;
}
}
.#{$link}::selection {
color: white;
background-color: $color;
}
body.light .#{$link}::selection {
//color: $color + 9a;
color: black;
background-color: $color + 26;
}
.#{$link} {
font-size: 6vh;
}
}
#credits {
font-size: 2.5vh;
display: table-caption;
writing-mode: vertical-rl;
padding: .5vh;
color: #00000049;
z-index: 999;
cursor: pointer;
pointer-events: none;
a {
margin: 0;
padding: 0;
color: #a0040449;
pointer-events: all;
}
a:hover {
color: #d1363649;
}
}
section:not(#credits) {
height: 100vh;
}
body.light h1::selection {
background-color: black;
color: white;
}
h1::selection {
background-color: white;
color: black;
}
body::-webkit-scrollbar {
width: 0;
}
body::-webkit-scrollbar-track {
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
body::-webkit-scrollbar-thumb {
background-color: darkgrey;
outline: 1px solid slategrey;
}
#twitter {
margin: 5vh;
}