Run CSS Autoprefixer on the styleshit

This commit is contained in:
2025-10-30 18:00:40 +01:00
parent 4937f6c391
commit eb82362a61

View File

@@ -1,3 +1,10 @@
/*
* Prefixed by:
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/
@font-face { @font-face {
font-family: "Clockopia"; font-family: "Clockopia";
src: url("../fonts/Clockopia.ttf") format("truetype"); src: url("../fonts/Clockopia.ttf") format("truetype");
@@ -11,6 +18,8 @@
body { body {
margin: 0; margin: 0;
padding: 0; padding: 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex; display: flex;
height: 100vh; height: 100vh;
overflow: hidden; overflow: hidden;
@@ -23,10 +32,19 @@ body {
.navbar { .navbar {
width: 140px; width: 140px;
background-color: #3c1a4d; background-color: #3c1a4d;
display: -webkit-box;
display: -ms-flexbox;
display: flex; display: flex;
flex-direction: column; -webkit-box-orient: vertical;
justify-content: flex-start; -webkit-box-direction: normal;
align-items: center; -ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding-top: 2rem; padding-top: 2rem;
padding-bottom: 2rem; padding-bottom: 2rem;
position: fixed; position: fixed;
@@ -55,6 +73,8 @@ body {
text-align: center; text-align: center;
padding: 0.75rem 0; padding: 0.75rem 0;
position: relative; position: relative;
-webkit-transition: background 0.2s ease, color 0.2s ease;
-o-transition: background 0.2s ease, color 0.2s ease;
transition: background 0.2s ease, color 0.2s ease; transition: background 0.2s ease, color 0.2s ease;
} }
@@ -68,6 +88,8 @@ body {
width: 100%; width: 100%;
height: 1px; height: 1px;
background-color: rgba(255, 255, 255, 0.25); background-color: rgba(255, 255, 255, 0.25);
-webkit-transition: background-color 0.2s ease;
-o-transition: background-color 0.2s ease;
transition: background-color 0.2s ease; transition: background-color 0.2s ease;
} }
@@ -107,11 +129,21 @@ a {
color: #447fc6; color: #447fc6;
} }
::-moz-selection {
color: #000000;
background: #a57ae9
}
::selection { ::selection {
color: #000000; color: #000000;
background: #a57ae9 background: #a57ae9
} }
a::-moz-selection {
color: #000;
background: #447fc6
}
a::selection { a::selection {
color: #000; color: #000;
background: #447fc6 background: #447fc6
@@ -124,10 +156,18 @@ a:not(:has(img)):hover {
/* === MAIN CONTENT === */ /* === MAIN CONTENT === */
.content { .content {
display: -webkit-box;
display: -ms-flexbox;
display: flex; display: flex;
align-items: center; -webkit-box-align: center;
justify-content: center; -ms-flex-align: center;
flex: 1; align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
padding: 0 10% 0 10%; padding: 0 10% 0 10%;
gap: 5%; gap: 5%;
z-index: 10; z-index: 10;
@@ -136,10 +176,18 @@ a:not(:has(img)):hover {
/* === LEFT SIDE (UZI IMAGE) === */ /* === LEFT SIDE (UZI IMAGE) === */
.left { .left {
flex: 1; -webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
display: -webkit-box;
display: -ms-flexbox;
display: flex; display: flex;
justify-content: center; -webkit-box-pack: center;
align-items: center; -ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
} }
.uzi { .uzi {
@@ -151,10 +199,19 @@ a:not(:has(img)):hover {
/* === MIDDLE SECTION (TEXT + BADGES) === */ /* === MIDDLE SECTION (TEXT + BADGES) === */
.middle { .middle {
flex: 1; -webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
display: -webkit-box;
display: -ms-flexbox;
display: flex; display: flex;
flex-direction: column; -webkit-box-orient: vertical;
justify-content: center; -webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
text-align: left; text-align: left;
z-index: 10; z-index: 10;
} }
@@ -174,8 +231,11 @@ a:not(:has(img)):hover {
} }
.buttons { .buttons {
display: -webkit-box;
display: -ms-flexbox;
display: flex; display: flex;
flex-wrap: wrap; -ms-flex-wrap: wrap;
flex-wrap: wrap;
gap: 6px; gap: 6px;
margin-top: 1.5rem; margin-top: 1.5rem;
} }
@@ -184,7 +244,11 @@ a:not(:has(img)):hover {
width: 88px; width: 88px;
height: 31px; height: 31px;
border: none; border: none;
image-rendering: pixelated; -ms-interpolation-mode: nearest-neighbor;
image-rendering: -webkit-optimize-contrast;
image-rendering: -moz-crisp-edges;
image-rendering: -o-pixelated;
image-rendering: pixelated;
} }
/* === BACKGROUND CANVAS === */ /* === BACKGROUND CANVAS === */
@@ -196,7 +260,7 @@ a:not(:has(img)):hover {
height: 100%; height: 100%;
background: #0e0016; background: #0e0016;
z-index: -9999; z-index: -9999;
pointer-events: none; /* allow clicks above */ pointer-events: none;
} }
.clouds { .clouds {
@@ -206,38 +270,52 @@ a:not(:has(img)):hover {
width: 100%; width: 100%;
height: auto; height: auto;
z-index: -5; z-index: -5;
pointer-events: none; /* allow clicks above */ pointer-events: none;
} }
.clouds img { .clouds img {
width: 100%; width: 100%;
height: auto; height: auto;
display: block; display: block;
opacity: 0.5; /* soften the layer */ opacity: 0.5;
filter: blur(1px); -webkit-filter: blur(1px);
filter: blur(1px);
} }
@media (max-width: 900px) { @media (max-width: 900px) {
body { body {
flex-direction: column; -webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
} }
.navbar { .navbar {
position: relative; position: relative;
width: 100%; width: 100%;
height: auto; height: auto;
flex-direction: row; -webkit-box-orient: horizontal;
justify-content: center; -webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
padding: 0.5rem 0; padding: 0.5rem 0;
} }
.navbar ul { .navbar ul {
display: -webkit-box;
display: -ms-flexbox;
display: flex; display: flex;
gap: 1rem; gap: 1rem;
} }
.content { .content {
flex-direction: column; -webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
padding: 2rem; padding: 2rem;
text-align: center; text-align: center;
} }