website/assets/css/osx.css

622 lines
11 KiB
CSS

:root {
--accent-color: rgb(227, 154, 228);
--white: rgb(255, 255, 252);
--overlay: #00000069;
}
@font-face {
font-family: myFirstFont;
src: url(/assets/misc/lsansuni.ttf);
}
html,
body {
height: 100%;
margin: 0;
background: url("/assets/images/mbg.png");
backdrop-filter: blur(10px);
background-size: cover;
background-repeat: no-repeat;
}
.showcase span,
a,
h1,
h2,
h3,
h4,
h5,
p,
li {
font-family: myFirstFont;
font-variant: normal;
color: black;
}
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 {
color: white;
align-self: center;
position: relative;
width: 40%;
}
.navbar {
background-image: url("/assets/images/osxbar.png");
width: 100%;
height: 25px;
display: inline-block;
position: fixed;
z-index: 3;
}
.navbar a {
font-weight: lighter;
font-family: myFirstFont;
text-decoration: none;
margin-left: 20px;
color: black;
}
.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;
}
.div-hidden {
display: none;
}
@-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: black;
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 {}
.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 image {
display: inline-block;
}
.contact p {
padding-left: 10px;
position: absolute;
display: inline-block;
color: white;
line-height: 10px;
vertical-align: baseline;
}
.contact a {
display: block;
text-decoration: none;
}
.smalimages {
align-self: center;
position: relative;
image-rendering: pixelated;
background: #EEEEEE;
padding: 20px;
border-radius: 0px 0px 5px 5px;
width: 50%;
margin-top: 50px;
text-align: center;
}
.smalimages img:not(.windowbar img) {
width: 88px;
height: 31px;
display: inline-block;
transition: all 0.2s ease;
}
.smalimages img:hover:not(.windowbar img) {
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 {
user-select: none;
}
.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%;
border-radius: 0px 0px 5px 5px;
margin-left: auto;
right: 0;
top: 4%;
transition: ease 0.2s all;
background: #EEEEEE;
}
.settings p {
display: inline-block;
transform: translateY(-11px);
}
.gear {
filter: invert(100);
float: right;
width: 20px;
margin-top: 2px;
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 {
background: linear-gradient(#D9D2D9, #9B9B9B);
height: 27px;
color: black;
font-weight: lighter;
vertical-align: middle;
font-size: large;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
width: 100%;
}
.windowbar img {
width: 70px;
float: left;
padding: 5px;
}
.dropdown {
text-align: center;
cursor: pointer;
user-select: none;
font-family: myFirstFont;
}
.gallery {
margin-top: -16px;
align-self: center;
position: relative;
width: 40%;
backdrop-filter: blur(50px);
padding: 10px;
background: #EEEEEE;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
.gallery p {
color: black;
}
.banner{
display: none;
}
.bnav {
background: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 1, 12, 0.9)), url("/assets/images/bring.jpg");
background-size: 100%;
margin-top: 20px;
text-align: center;
align-items: center;
width: 150px;
padding: 0px;
animation-name: move-bg;
}
.bnav a{
color: a;
vertical-align: sub;
font-size: 25px;
text-decoration: none;
}
#left,#right{
transition: all 0.2s ease;
}
#left:hover{
margin-right: 4px;
}
#right:hover{
margin-left: 4px;
}