611 lines
11 KiB
CSS
611 lines
11 KiB
CSS
:root {
|
|
--cobblestone: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/assets/blocks/cobblestone.png");
|
|
--dirt: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/assets/blocks/dirt.png");
|
|
--grass: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/assets/blocks/grass_side.png");
|
|
--obsidian: url("/assets/blocks/obsidian.png");
|
|
--stone: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("/assets/blocks/stone.png");
|
|
--dirt-scale: 3%;
|
|
--accent-color: #64c9fb;
|
|
--white: rgb(255, 255, 252);
|
|
--overlay: #00000069;
|
|
}
|
|
|
|
|
|
body {
|
|
|
|
z-index: -1;
|
|
image-rendering: pixelated;
|
|
background: var(--dirt);
|
|
background-size: 3%;
|
|
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
body::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 0;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 39px;
|
|
|
|
background-image: var(--grass);
|
|
|
|
background-size: var(--dirt-scale);
|
|
z-index: -1;
|
|
image-rendering: pixelated;
|
|
}
|
|
|
|
.showcase span,
|
|
a,
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
p,
|
|
li {
|
|
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
|
|
|
|
font-variant: normal;
|
|
color: var(--white);
|
|
}
|
|
|
|
button {
|
|
background: linear-gradient(1800deg, var(--accent-color), rgba(0, 0, 0, 0.355) 70%);
|
|
color: var(--white);
|
|
padding: 10px;
|
|
border: none;
|
|
background-position: 0% 0%;
|
|
background-size: 100% 200%;
|
|
border-bottom: 5px solid var(--accent-color);
|
|
border-radius: 2px;
|
|
transition: 0.3s;
|
|
line-height: 10px;
|
|
}
|
|
|
|
button:hover {
|
|
background-position: 0% 0%;
|
|
background-size: 100% 100%;
|
|
|
|
}
|
|
|
|
button:active {
|
|
filter: hue-rotate(180deg);
|
|
}
|
|
|
|
.paragraph {
|
|
align-self: center;
|
|
position: relative;
|
|
width: 40%;
|
|
background: var(--stone);
|
|
border: 1px white solid;
|
|
padding: 4px;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.middlething {
|
|
|
|
margin-top: -8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
width: 70%;
|
|
background-color: rgba(0, 0, 0, 0.454);
|
|
|
|
background: var(--cobblestone);
|
|
background-size: 4%;
|
|
image-rendering: pixelated;
|
|
border-style: solid;
|
|
border-width: 0px 1px 0px 1px;
|
|
border-color: #ffffffa6;
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5),
|
|
0 2px 2px rgba(0, 0, 0, 0.5),
|
|
0 4px 4px rgba(0, 0, 0, 0.5),
|
|
0 8px 90px rgba(0, 0, 0, 0.5),
|
|
0 16px 16px rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
|
|
|
.bgvideo {
|
|
filter: brightness(80%);
|
|
position: fixed;
|
|
right: 0;
|
|
bottom: 0;
|
|
min-width: 100%;
|
|
min-height: 100%;
|
|
display: none;
|
|
}
|
|
|
|
.title {
|
|
margin-left: 10px;
|
|
font-size: 30px;
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.gallery {
|
|
background: var(--stone);
|
|
background-size: 5%;
|
|
transition: all 1s ease;
|
|
align-self: center;
|
|
position: relative;
|
|
width: 40%;
|
|
|
|
border-style: solid;
|
|
border-color: white;
|
|
padding: 10px;
|
|
color: white;
|
|
border-width: 0px 1px 1px 1px;
|
|
margin-top: -20px;
|
|
|
|
}
|
|
|
|
.div-hidden {
|
|
display: none;
|
|
}
|
|
|
|
|
|
.dropdown {
|
|
background: url("/assets/blocks/obsidian.png");
|
|
background-size: 5%;
|
|
text-align: center;
|
|
width: 40.9%;
|
|
border: 1px solid white;
|
|
display: table;
|
|
|
|
cursor: pointer;
|
|
transition: border-bottom 0.2s ease;
|
|
user-select: none;
|
|
text-shadow: 0 0 0.2em rgb(0, 0, 0);
|
|
}
|
|
|
|
|
|
@-webkit-keyframes glow {
|
|
from {
|
|
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 10px #e60073, 0 0 20px #e60073, 0 0 25px #e60073, 0 0 30px #e60073, 0 0 35px #e60073;
|
|
}
|
|
|
|
to {
|
|
text-shadow: 0 0 10px #fff, 0 0 15px #ff4da6, 0 0 20px #ff4da6, 0 0 25px #ff4da6, 0 0 30px #ff4da6, 0 0 35px #ff4da6, 0 0 40px #ff4da6;
|
|
}
|
|
}
|
|
|
|
@keyframes slideaway {
|
|
from {
|
|
display: block;
|
|
}
|
|
|
|
to {
|
|
transform: translateY(40px);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 15px;
|
|
}
|
|
|
|
/* Track */
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
/* Handle */
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgb(65, 65, 65);
|
|
}
|
|
|
|
/* Handle on hover */
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgb(155, 153, 153);
|
|
}
|
|
|
|
|
|
|
|
.gimage:hover {
|
|
width: 1500px;
|
|
position: fixed;
|
|
float: none;
|
|
transition: height 4s;
|
|
top: 50%;
|
|
left: 50%;
|
|
/* bring your own prefixes */
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.gimage {
|
|
transition: height 4s;
|
|
width: 100%;
|
|
height: auto;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
@keyframes rotation {
|
|
from {
|
|
transform: rotateY(0deg);
|
|
rotate: 0deg;
|
|
}
|
|
|
|
to {
|
|
|
|
|
|
transform: rotateY(360deg);
|
|
rotate: -360deg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.rotate {
|
|
animation: rotation 10s linear infinite;
|
|
}
|
|
|
|
input {
|
|
background-color: rgba(32, 32, 32, 0.507);
|
|
|
|
width: 24%;
|
|
|
|
border: 0;
|
|
border-bottom: 2px solid gray;
|
|
outline: 0;
|
|
font-size: 1.3rem;
|
|
color: white;
|
|
padding: 7px;
|
|
transition: border-bottom 1s;
|
|
|
|
}
|
|
|
|
input:focus {
|
|
border-bottom: 2px solid var(--accent-color);
|
|
|
|
}
|
|
|
|
.tooltip {
|
|
position: relative;
|
|
display: inline-block;
|
|
color: var(--white);
|
|
border-bottom: 1px solid var(--accent-color);
|
|
}
|
|
|
|
.tooltip .tooltiptext {
|
|
visibility: hidden;
|
|
background-color: #3d3d3dd3;
|
|
width: 190px;
|
|
color: var(--white);
|
|
text-align: center;
|
|
padding: 5px 0;
|
|
border-radius: 6px;
|
|
|
|
position: absolute;
|
|
z-index: 10;
|
|
bottom: 125%;
|
|
left: 50%;
|
|
margin-left: -60px;
|
|
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.tooltip:hover .tooltiptext {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
|
|
.invert {
|
|
padding: 2px;
|
|
color: var(--white);
|
|
backdrop-filter: blur(60px);
|
|
}
|
|
|
|
.contact {
|
|
padding: 10px;
|
|
align-self: center;
|
|
position: relative;
|
|
width: 40%;
|
|
background: var(--stone);
|
|
border: 1px white solid;
|
|
background-size: 5%;
|
|
vertical-align: baseline;
|
|
margin-top: 2px;
|
|
|
|
|
|
|
|
}
|
|
|
|
.contact:hover {
|
|
margin-left: 12px;
|
|
|
|
backdrop-filter: blur(60px);
|
|
border: rgb(200, 200, 200) 2px solid;
|
|
}
|
|
|
|
.contact image {
|
|
display: inline-block;
|
|
}
|
|
|
|
.contact p {
|
|
padding-left: 10px;
|
|
position: absolute;
|
|
display: inline-block;
|
|
|
|
line-height: 10px;
|
|
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
.contact a {
|
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
|
}
|
|
|
|
.smalimages {
|
|
|
|
align-self: center;
|
|
position: relative;
|
|
image-rendering: pixelated;
|
|
margin-top: 40px;
|
|
padding: 20px;
|
|
border-radius: 3px;
|
|
width: 50%;
|
|
text-align: center;
|
|
background: var(--stone);
|
|
border: 1px white solid;
|
|
background-size: 5%;
|
|
}
|
|
|
|
.smalimages img {
|
|
width: 88px;
|
|
height: 31px;
|
|
display: inline-block;
|
|
transition: all 0.2s ease;
|
|
|
|
}
|
|
|
|
.smalimages img:hover {
|
|
position: relative;
|
|
scale: 1.3;
|
|
height: fit-content;
|
|
filter: drop-shadow(8px 10px 0px var(--accent-color));
|
|
position: relative;
|
|
border: 0.2px solid rgba(255, 255, 255, 0.726);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.link {
|
|
color: var(--accent-color);
|
|
text-shadow: #000000 1px 1px;
|
|
}
|
|
|
|
.bottomtext {
|
|
backdrop-filter: blur(60px);
|
|
text-align: center;
|
|
margin-top: 4%;
|
|
bottom: 0;
|
|
background: var(--overlay);
|
|
}
|
|
|
|
.emote {
|
|
width: 30px;
|
|
margin-left: 3px;
|
|
position: absolute;
|
|
}
|
|
|
|
code {
|
|
background-color: rgb(9, 24, 37);
|
|
|
|
}
|
|
|
|
.showcases {
|
|
display: grid;
|
|
grid-template-columns: auto auto;
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
.showcase {
|
|
float: left;
|
|
border: solid 1px white;
|
|
background: var(--stone);
|
|
background-size: 5%;
|
|
width: 90%;
|
|
margin: 10px;
|
|
margin-top: 20px;
|
|
height: 400px;
|
|
}
|
|
|
|
.showcase img:not(.background) {
|
|
|
|
padding: 10px;
|
|
width: 60%;
|
|
padding-left: 20px;
|
|
float: left;
|
|
}
|
|
|
|
.showcase span {
|
|
padding-top: 10px;
|
|
float: left;
|
|
overflow: inherit;
|
|
overflow-wrap: break-word;
|
|
word-wrap: break-word;
|
|
display: block;
|
|
white-space: normal;
|
|
width: 35%;
|
|
}
|
|
|
|
.showcase h2 {
|
|
background: var(--obsidian);
|
|
|
|
border-bottom: 2px white solid;
|
|
text-align: center;
|
|
margin-top: 0px;
|
|
user-select: none;
|
|
text-shadow: 0 0 0.2em rgb(0, 0, 0);
|
|
}
|
|
|
|
.showcase .background {
|
|
position: absolute;
|
|
width: max-content;
|
|
height: max-content;
|
|
z-index: -1;
|
|
opacity: 0.4;
|
|
background-size: cover;
|
|
}
|
|
|
|
|
|
|
|
.pausetext {
|
|
float: right;
|
|
}
|
|
|
|
.pausetext:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.settings {
|
|
z-index: 11;
|
|
position: fixed;
|
|
width: 20%;
|
|
background: var(--stone);
|
|
background-size: 5%;
|
|
border: 1px white solid;
|
|
border-radius: 3px;
|
|
margin-left: auto;
|
|
right: 0;
|
|
top: 4%;
|
|
|
|
}
|
|
|
|
.settings p {
|
|
display: inline-block;
|
|
transform: translateY(-11px);
|
|
}
|
|
|
|
.gear {
|
|
float: right;
|
|
width: 20px;
|
|
margin-right: 10px;
|
|
filter: invert(100%);
|
|
}
|
|
|
|
.gear:hover {
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.switch {
|
|
|
|
--button-width: 3.5em;
|
|
--button-height: 2em;
|
|
--toggle-diameter: 1.5em;
|
|
--button-toggle-offset: calc((var(--button-height) - var(--toggle-diameter)) / 2);
|
|
--toggle-shadow-offset: 10px;
|
|
--toggle-wider: 3em;
|
|
--color-grey: #cccccc;
|
|
|
|
}
|
|
|
|
.slider {
|
|
margin-top: 4%;
|
|
margin-left: 2%;
|
|
display: inline-block;
|
|
width: var(--button-width);
|
|
height: var(--button-height);
|
|
background-color: var(--color-grey);
|
|
border-radius: calc(var(--button-height) / 2);
|
|
position: relative;
|
|
transition: 0.3s all ease-in-out;
|
|
}
|
|
|
|
.slider::after {
|
|
content: "";
|
|
display: inline-block;
|
|
width: var(--toggle-diameter);
|
|
height: var(--toggle-diameter);
|
|
background-color: #fff;
|
|
border-radius: calc(var(--toggle-diameter) / 2);
|
|
position: absolute;
|
|
top: var(--button-toggle-offset);
|
|
transform: translateX(var(--button-toggle-offset));
|
|
box-shadow: var(--toggle-shadow-offset) 0 calc(var(--toggle-shadow-offset) * 4) rgba(0, 0, 0, 0.1);
|
|
transition: 0.3s all ease-in-out;
|
|
}
|
|
|
|
.switch input[type="checkbox"]:checked+.slider {
|
|
background-color: var(--accent-color);
|
|
}
|
|
|
|
.switch input[type="checkbox"]:checked+.slider::after {
|
|
transform: translateX(calc(var(--button-width) - var(--toggle-diameter) - var(--button-toggle-offset)));
|
|
box-shadow: calc(var(--toggle-shadow-offset) * -1) 0 calc(var(--toggle-shadow-offset) * 4) rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.switch input[type="checkbox"] {
|
|
display: none;
|
|
}
|
|
|
|
.switch input[type="checkbox"]:active+.slider::after {
|
|
width: var(--toggle-wider);
|
|
}
|
|
|
|
.switch input[type="checkbox"]:checked:active+.slider::after {
|
|
transform: translateX(calc(var(--button-width) - var(--toggle-wider) - var(--button-toggle-offset)));
|
|
}
|
|
|
|
.artShowcases {
|
|
display: grid;
|
|
grid-template-columns: auto auto auto;
|
|
margin: auto;
|
|
margin-top: 60px;
|
|
width: 100%;
|
|
}
|
|
|
|
.artShowcases img {
|
|
margin-top: 20px;
|
|
width: 400px;
|
|
height: auto;
|
|
border: 1px solid white;
|
|
background: rgba(0, 0, 0, 0.532);
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
.artShowcases img:hover {
|
|
scale: 1.2;
|
|
}
|
|
|
|
.banner {
|
|
display: block;
|
|
width: 70%;
|
|
align-self: center;
|
|
border: 1px white solid;
|
|
}
|
|
|
|
.navbar {
|
|
width: 70%;
|
|
height: 30px;
|
|
background: white;
|
|
border: 1px white solid;
|
|
align-self: center;
|
|
}
|
|
|
|
.navbar a {
|
|
padding: 10px;
|
|
transition: all 0.2s ease-in-out;
|
|
color: black;
|
|
font-style: italic;
|
|
}
|
|
.windowbar img {
|
|
display: none;
|
|
}
|
|
|
|
.hide {display: none;}
|