579 lines
10 KiB
CSS
579 lines
10 KiB
CSS
:root {
|
|
|
|
--accent-color: rgb(227, 154, 228);
|
|
--white: rgb(255, 255, 252);
|
|
--overlay: #00000069;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
|
|
height: 100%;
|
|
margin: 0;
|
|
background: url("/assets/blocks/a_dirt_dark.png");
|
|
|
|
|
|
}
|
|
.gallery,
|
|
.showcase span,
|
|
a,
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
p,
|
|
li {
|
|
font-family: 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%;
|
|
}
|
|
|
|
.navbar {
|
|
width: 100%;
|
|
height: 30px;
|
|
background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), var(--overlay);
|
|
|
|
z-index: 3;
|
|
}
|
|
.navbar::after{
|
|
content: "Gnawmon's fsdafssdsdfsWebsite"
|
|
}
|
|
.navbar a {
|
|
color: rgb(255, 218, 6);
|
|
padding: 10px;
|
|
text-decoration: underline;
|
|
|
|
text-decoration-thickness: 1px;
|
|
text-underline-offset: 8px;
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
|
|
|
|
|
|
.middlething {
|
|
overflow: auto;
|
|
position: fixed;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
width: 100%;
|
|
background-color: rgba(0, 0, 0, 0.454);
|
|
|
|
|
|
|
|
}
|
|
|
|
.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 {
|
|
|
|
transition: all 1s ease;
|
|
align-self: center;
|
|
position: relative;
|
|
width: 40%;
|
|
backdrop-filter: blur(50px);
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
background-color: rgba(0, 0, 0, 0.369);
|
|
|
|
|
|
}
|
|
|
|
.div-hidden {
|
|
display: none;
|
|
}
|
|
|
|
|
|
.dropdown {
|
|
margin-left: 10px;
|
|
border-bottom: 3px solid var(--accent-color);
|
|
border-radius: 1px;
|
|
cursor: pointer;
|
|
transition: border-bottom 0.2s ease;
|
|
user-select: none;
|
|
text-shadow: 0 0 0.2em rgb(0, 0, 0);
|
|
}
|
|
|
|
.dropdown:hover {
|
|
border-bottom: 13px solid var(--accent-color);
|
|
}
|
|
|
|
@-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%;
|
|
backdrop-filter: blur(5px);
|
|
vertical-align: baseline;
|
|
margin-top: 2px;
|
|
border-radius: 5px;
|
|
transition: all 0.5s ease;
|
|
|
|
}
|
|
|
|
.contact:hover {
|
|
margin-left: 12px;
|
|
box-shadow: 0 0 20px 1px var(--accent-color);
|
|
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 {
|
|
backdrop-filter: blur(60px);
|
|
align-self: center;
|
|
position: relative;
|
|
image-rendering: pixelated;
|
|
margin-top: 40px;
|
|
padding: 20px;
|
|
border-radius: 3px;
|
|
width: 50%;
|
|
text-align: center;
|
|
}
|
|
|
|
.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);
|
|
}
|
|
|
|
.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;
|
|
box-shadow: 0 0 0.2em rgb(0, 0, 0);
|
|
border-radius: 3px;
|
|
width: 800px;
|
|
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 {
|
|
border-bottom: 2px white solid;
|
|
margin-left: 10px;
|
|
border-bottom: 4px solid var(--accent-color);
|
|
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;
|
|
}
|
|
|
|
#relaunch {
|
|
background: linear-gradient(rgb(0, 0, 0, 0.7), rgb(0, 0, 0, 1)), url("/assets/images/alphaver.png");
|
|
background-size: 50%;
|
|
}
|
|
|
|
#minewatchWiki{
|
|
background: linear-gradient(rgb(0, 0, 0, 0.7), rgb(0, 0, 0, 1)), url("/assets/images/seahaven.png");
|
|
background-size: 100%;
|
|
background-position: 20 0px;
|
|
}
|
|
#doom {
|
|
background: linear-gradient(rgb(0, 0, 0, 0.7), rgb(0, 0, 0, 1)), url("/assets/images/doomBg.png");
|
|
background-size: 100%;
|
|
}
|
|
|
|
#blur {
|
|
background: linear-gradient(rgb(0, 0, 0, 0), rgb(0, 0, 0, 1));
|
|
backdrop-filter: blur(20px);
|
|
}
|
|
|
|
.pausetext {
|
|
float: right;
|
|
}
|
|
|
|
.pausetext:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.settings {
|
|
z-index: 11;
|
|
position: fixed;
|
|
width: 20%;
|
|
background: #2929293c;
|
|
border-radius: 3px;
|
|
margin-left: auto;
|
|
right: 0;
|
|
top: 4%;
|
|
transition: ease 0.2s all;
|
|
backdrop-filter: blur(10px);
|
|
background-color: rgba(0, 0, 0, 0.532);
|
|
}
|
|
|
|
.settings p {
|
|
display: inline-block;
|
|
transform: translateY(-11px);
|
|
}
|
|
|
|
.gear {
|
|
float: right;
|
|
width: 20px;
|
|
margin-top: 6px;
|
|
margin-right: 10px;
|
|
transition: ease-in-out 1s;
|
|
}
|
|
|
|
.gear:hover {
|
|
cursor: pointer;
|
|
transform: rotate(360deg);
|
|
}
|
|
|
|
.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;
|
|
}
|
|
.artShowcases img{
|
|
margin-top: 20px;
|
|
width: 500px;
|
|
height: auto;
|
|
box-shadow: 0.2em 0.3em 3em rgb(0, 0, 0);
|
|
border-radius: 7px;
|
|
transition: scale 0.2s ease;
|
|
background: rgba(0, 0, 0, 0.532);
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
.artShowcases img:hover {
|
|
scale: 1.2;
|
|
}
|
|
.windowbar img {
|
|
display: none;
|
|
}
|
|
.banner{
|
|
display: none;
|
|
}
|
|
|
|
.hide {display: none;} |