150 lines
2.4 KiB
SCSS
150 lines
2.4 KiB
SCSS
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap');
|
|
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
|
|
$accent-color: red;
|
|
|
|
body {
|
|
background-color: black;
|
|
color: white;
|
|
//font-size: 3vw;
|
|
}
|
|
|
|
.light {
|
|
color: black !important;
|
|
background: white !important;
|
|
}
|
|
|
|
* {
|
|
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,
|
|
"keybase": #33a0ff,
|
|
"discord": #7289da,
|
|
"mastodon": #3088d4,
|
|
"twitch": #6441a4,
|
|
"gitdab":#faacb7,
|
|
"github": #333,
|
|
"gitlab": #e24329
|
|
);
|
|
|
|
@each $site, $accent in $socials {
|
|
a.#{$site} {
|
|
fill: $accent !important;
|
|
// color: $accent !important;
|
|
}
|
|
a.#{$site}.light {
|
|
fill: $accent !important;
|
|
// color: $accent !important;
|
|
}
|
|
}
|
|
|
|
a svg {
|
|
max-width: 4ch;
|
|
}
|
|
|
|
.socials {
|
|
font-size: 2vh;
|
|
text-align: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
divide {
|
|
display: block;
|
|
height: 1vh;
|
|
border: 0;
|
|
border-top: 0px solid rgba(204, 204, 204, 0);
|
|
margin: 1vh 0;
|
|
padding: 1vh;
|
|
}
|
|
|
|
$accents: ("portfolio": #ff6a5f, "lore": #92a9f3, "art": #c974da);
|
|
$links: ('portfolio', 'lore', 'art');
|
|
$time: 2s;
|
|
@each $link, $color in $accents {
|
|
.#{$link}:hover {
|
|
color: $color;
|
|
|
|
& ~ #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;
|
|
}
|
|
}
|