2019-11-16 21:04:54 +00:00
|
|
|
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap');
|
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 {
|
|
|
|
background-color: rgb(0, 0, 0);
|
|
|
|
color: rgb(255, 255, 255);
|
2019-11-16 21:04:54 +00:00
|
|
|
//font-size: 3vw;
|
2019-11-15 16:51:24 +00:00
|
|
|
}
|
|
|
|
|
2019-11-19 06:52:41 +00:00
|
|
|
.light {
|
|
|
|
color: black !important;
|
|
|
|
background: white !important;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
sub {
|
|
|
|
font-size: 1vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.light a {
|
|
|
|
color: black;
|
2019-11-15 16:51:24 +00:00
|
|
|
}
|
|
|
|
|
2019-11-19 15:29:40 +00:00
|
|
|
|
2019-11-15 16:51:24 +00:00
|
|
|
#box {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 999;
|
|
|
|
border: 25px solid white;
|
|
|
|
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;
|
|
|
|
border: 25px 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;
|
2019-11-16 21:04:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
$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;
|
|
|
|
}
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
@each $link in $links {
|
|
|
|
.#{$link} {
|
|
|
|
font-size: 6vh;
|
|
|
|
}
|
2019-11-15 16:51:24 +00:00
|
|
|
}
|