yugen.work/assets/css/main.scss

229 lines
3.5 KiB
SCSS
Raw Normal View History

2019-11-19 06:52:41 +00:00
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
2019-11-15 16:51:24 +00:00
$accent-color: red;
body {
2019-11-30 13:14:32 +00:00
background-color: black;
color: white;
2019-12-17 17:11:26 +00:00
background-image: url('/assets/images/y.jpg');
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
2019-11-16 21:04:54 +00:00
//font-size: 3vw;
2019-11-15 16:51:24 +00:00
}
2019-12-17 17:11:26 +00:00
@media only screen and (max-device-width: 1366px) {
body {
background-attachment: scroll;
}
}
2019-11-15 16:51:24 +00:00
* {
margin: 0;
padding: 0;
2019-11-19 06:52:41 +00:00
font-family: 'Roboto', sans-serif;
}
.title {
//font-family: 'Source Sans Pro', sans-serif !important;
font-size: 13vh;
margin: 0;
2019-11-30 13:14:32 +00:00
}
.subtitle {
//font-family: 'Source Sans Pro', sans-serif !important;
font-size: 3vh;
bottom: 50px;
//height: 1%;
text-align: center;
2019-11-28 19:03:30 +00:00
cursor: grab;
2019-11-19 06:52:41 +00:00
}
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;
2019-11-19 06:52:41 +00:00
}
body.light a {
color: black;
2019-11-15 16:51:24 +00:00
}
2019-12-17 17:11:26 +00:00
/*
2019-11-15 16:51:24 +00:00
#box {
position: absolute;
z-index: 999;
2019-11-30 13:14:32 +00:00
border: 3vh solid black;
2019-11-15 16:51:24 +00:00
box-sizing: border-box;
2019-11-16 21:04:54 +00:00
top: 0;
left: 0;
2019-11-15 16:51:24 +00:00
right: 0;
bottom: 0;
pointer-events: none;
transition: border-color 0.5s ease-in-out;
}
2019-11-19 06:52:41 +00:00
body.light #box {
position: absolute;
z-index: 999;
2019-11-30 13:14:32 +00:00
border: 3vh solid white;
2019-11-19 06:52:41 +00:00
box-sizing: border-box;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
transition: border-color 0.5s ease-in-out;
2019-11-16 21:04:54 +00:00
}
2019-12-17 17:11:26 +00:00
*/
2019-11-30 13:14:32 +00:00
$socials: (
"twitter": #1da1f2,
2019-12-17 17:11:26 +00:00
"trello": #0079bf,
2019-11-30 13:14:32 +00:00
"discord": #7289da,
2019-12-10 11:37:21 +00:00
"ko-fi": #f16061,
2019-12-17 17:11:26 +00:00
"patreon": #f96854,
"instagram": #e4405f,
"DeviantArt": #05cc47,
"RedBubble": #e41321
2019-11-30 13:14:32 +00:00
);
2019-12-08 22:52:31 +00:00
@each $site, $color in $socials {
.#{$site}:hover {
2019-12-08 22:52:31 +00:00
fill: $color !important;
& ~ #box {
border-color: $color;
}
2019-11-30 13:14:32 +00:00
}
2019-12-10 11:37:21 +00:00
body.light a.#{$site} {
fill: black;
}
a.#{$site} {
fill: white;
2019-12-08 22:52:31 +00:00
}
.#{$site}::selection {
color: white;
background-color: $color;
}
body.light .#{$site}::selection {
//color: $color + 9a;
color: black;
background-color: $color + 26;
2019-11-30 13:14:32 +00:00
}
}
a svg {
2019-12-10 11:37:21 +00:00
max-width: 6ch;
}
2019-11-30 13:14:32 +00:00
.socials {
font-size: 2vh;
2019-11-30 13:14:32 +00:00
text-align: center;
justify-content: center;
2019-12-10 11:37:21 +00:00
box-sizing: border-box;
2019-12-17 17:11:26 +00:00
width: 85vw;
2019-12-10 11:37:21 +00:00
transition: fill 1s ease-in-out;
}
a {
margin: 2vh;
2019-11-30 13:14:32 +00:00
}
divide {
display: block;
height: 1vh;
border: 0;
border-top: 0px solid rgba(204, 204, 204, 0);
margin: 1vh 0;
padding: 1vh;
}
2019-12-17 17:11:26 +00:00
$accents: ("tos": #5fff5f);
$links: ('tos');
2019-11-16 21:04:54 +00:00
$time: 2s;
@each $link, $color in $accents {
.#{$link}:hover {
color: $color;
2019-12-17 17:11:26 +00:00
background-color: rgba(200, 119, 119, 0.459);
2019-11-16 21:04:54 +00:00
& ~ #box {
border-color: $color;
}
}
2019-11-19 06:52:41 +00:00
.#{$link}::selection {
color: white;
background-color: $color;
}
body.light .#{$link}::selection {
//color: $color + 9a;
color: black;
background-color: $color + 26;
}
2019-11-16 21:04:54 +00:00
.#{$link} {
font-size: 6vh;
}
2019-11-15 16:51:24 +00:00
}
2019-12-09 19:48:19 +00:00
2019-12-17 17:11:26 +00:00
#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;
}
2019-12-09 19:48:19 +00:00
body.light h1::selection {
background-color: black;
color: white;
}
h1::selection {
background-color: white;
color: black;
}
2019-12-17 17:11:26 +00:00
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;
}