125 lines
1.5 KiB
SCSS
125 lines
1.5 KiB
SCSS
@import "colors";
|
|
|
|
body {
|
|
background-color: $background;
|
|
color: $foreground;
|
|
margin-left: 0px;
|
|
margin-right: 0px;
|
|
}
|
|
|
|
a {
|
|
color: $red;
|
|
&:hover {
|
|
color: darken($red, 10%);
|
|
}
|
|
}
|
|
|
|
.container {
|
|
width: 90vw;
|
|
margin: 2rem 5vw;
|
|
}
|
|
|
|
img.centered {
|
|
display: block;
|
|
}
|
|
|
|
.blurred {
|
|
filter: blur(5px);
|
|
|
|
&.unblurable {
|
|
&:hover {
|
|
transition: all ease-in 150ms;
|
|
filter: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
|
|
&.rounded {
|
|
border-radius: 8px;
|
|
}
|
|
|
|
&.thumbnail {
|
|
width: 24px;
|
|
}
|
|
|
|
&.small {
|
|
width: 128px;
|
|
}
|
|
|
|
&.medium {
|
|
width: 256px;
|
|
}
|
|
&.large {
|
|
width: 512px;
|
|
}
|
|
}
|
|
|
|
.divider {
|
|
width: 70vw;
|
|
height: 10px;
|
|
border-bottom: 1px solid map-get($dark, "item");
|
|
margin: 1rem 15vw;
|
|
&.wide {
|
|
width: 100vw;
|
|
}
|
|
}
|
|
|
|
.bounce {
|
|
-moz-animation: bounce 2s 10;
|
|
-webkit-animation: bounce 2s 10;
|
|
animation: bounce 2s 10;
|
|
}
|
|
|
|
@keyframes bounce {
|
|
0%,
|
|
20%,
|
|
50%,
|
|
80%,
|
|
100% {
|
|
transform: translateY(0);
|
|
}
|
|
40% {
|
|
transform: translateY(-30px);
|
|
}
|
|
60% {
|
|
transform: translateY(-15px);
|
|
}
|
|
}
|
|
|
|
.color-demo {
|
|
cursor: pointer;
|
|
text-align: center;
|
|
padding-top: 3rem;
|
|
padding-bottom: 3rem;
|
|
transition: all ease-in-out 150ms;
|
|
|
|
&.red {
|
|
background-color: $red;
|
|
}
|
|
|
|
&.blue {
|
|
background-color: $cyan;
|
|
}
|
|
|
|
&.green {
|
|
background-color: $green;
|
|
}
|
|
|
|
&.bg {
|
|
background-color: $background;
|
|
}
|
|
|
|
&.fg {
|
|
background-color: $foreground;
|
|
color: $background;
|
|
}
|
|
|
|
&:hover {
|
|
margin-top: -1rem;
|
|
transition: all ease-in-out 150ms;
|
|
}
|
|
}
|