All checks were successful
Deploy / Deploy website via rsync over SSH (push) Successful in 5s
438 lines
6.7 KiB
CSS
438 lines
6.7 KiB
CSS
/*
|
|
* Prefixed by:
|
|
* PostCSS: v7.0.29,
|
|
* Autoprefixer: v9.7.6
|
|
* Browsers: last 4 version
|
|
*/
|
|
|
|
@font-face {
|
|
font-family: "Clockopia";
|
|
src: url("../fonts/Clockopia.ttf") format("truetype");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "LuxiSans";
|
|
src: url("../fonts/luxisr.ttf") format("truetype");
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
background-color: #0e0016;
|
|
color: white;
|
|
font-family: "system-ui", sans-serif;
|
|
overflow-x: hidden;
|
|
padding-right: 140px;
|
|
}
|
|
|
|
.navbar {
|
|
width: 140px;
|
|
background: rgba(60, 26, 77, 0.55);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border-left: 1px solid rgba(255, 255, 255, 0.05);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
padding-top: 2rem;
|
|
padding-bottom: 2rem;
|
|
position: fixed;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
z-index: 20;
|
|
box-shadow: -2px 0 10px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.navbar ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.navbar li {
|
|
width: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.navbar a {
|
|
display: block;
|
|
color: white;
|
|
text-decoration: none;
|
|
text-align: center;
|
|
padding: 0.75rem 0;
|
|
position: relative;
|
|
transition: background 0.2s ease, color 0.2s ease;
|
|
}
|
|
|
|
.navbar a::before,
|
|
.navbar a::after {
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 1px;
|
|
background-color: rgba(255, 255, 255, 0.25);
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.navbar a::before { top: 0; }
|
|
.navbar a::after { bottom: 0; }
|
|
|
|
.navbar a:hover {
|
|
background-color: #5e2b7a;
|
|
color: #fff5a8;
|
|
}
|
|
|
|
.navbar a:hover::before,
|
|
.navbar a:hover::after {
|
|
background-color: #fff5a8;
|
|
}
|
|
|
|
.navbar-top-icons {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.icon-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.icon-item img {
|
|
width: 32px;
|
|
height: 32px;
|
|
object-fit: contain;
|
|
transition: transform 0.2s ease, opacity 0.2s ease;
|
|
}
|
|
|
|
.icon-item img:hover {
|
|
transform: scale(1.1);
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.icon-label {
|
|
font-family: "Clockopia", sans-serif;
|
|
font-size: 0.8rem;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.tor-label { color: #6e2b9e; }
|
|
.ygg-label { color: #92ffb3; }
|
|
|
|
.mobile-nav-toggle {
|
|
display: none;
|
|
position: fixed;
|
|
top: 12px;
|
|
right: 12px;
|
|
z-index: 50;
|
|
background: rgba(60, 26, 77, 0.6);
|
|
color: #fff;
|
|
font-size: 1.8rem;
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
border-radius: 6px;
|
|
padding: 4px 10px;
|
|
cursor: pointer;
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
}
|
|
|
|
.footer {
|
|
position: relative;
|
|
width: 100%;
|
|
padding: 1rem 0;
|
|
text-align: center;
|
|
font-family: IBMWeb, "Liberation Mono", monospace;
|
|
color: #fff;
|
|
background: transparent;
|
|
margin-top: auto;
|
|
z-index: 10;
|
|
}
|
|
|
|
a { text-decoration: none; color: #447fc6; }
|
|
|
|
::-moz-selection { color: #000000; background: #a57ae9; }
|
|
::selection { color: #000000; background: #a57ae9; }
|
|
a::-moz-selection { color: #000; background: #447fc6; }
|
|
a::selection { color: #000; background: #447fc6; }
|
|
a:not(:has(img)):hover { text-decoration: underline; }
|
|
|
|
.content {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 1;
|
|
padding: 4rem 10%;
|
|
gap: 5%;
|
|
z-index: 10;
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
flex-wrap: wrap;
|
|
max-width: calc(100% - 140px);
|
|
}
|
|
|
|
.left {
|
|
flex: 1;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.uzi {
|
|
width: 90%;
|
|
max-width: 650px;
|
|
height: auto;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.middle {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
text-align: left;
|
|
z-index: 10;
|
|
max-width: 800px;
|
|
}
|
|
|
|
.middle h1 {
|
|
font-family: "Clockopia", sans-serif;
|
|
font-size: 3.5rem;
|
|
margin-bottom: 1rem;
|
|
color: #fff5a8;
|
|
}
|
|
|
|
.middle p {
|
|
font-size: 1.1rem;
|
|
line-height: 1.7;
|
|
margin-bottom: 1rem;
|
|
max-width: 550px;
|
|
}
|
|
|
|
.buttons {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.buttons img {
|
|
width: 88px;
|
|
height: 31px;
|
|
border: none;
|
|
image-rendering: pixelated;
|
|
}
|
|
|
|
/* Background */
|
|
#night {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #0e0016;
|
|
z-index: -9999;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.clouds {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: auto;
|
|
z-index: -5;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.clouds img {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
opacity: 0.5;
|
|
filter: blur(1px);
|
|
}
|
|
|
|
/* Project Page */
|
|
.project-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
max-width: calc(100% - 140px);
|
|
margin: 0 auto;
|
|
padding: 5rem 2rem 8rem;
|
|
}
|
|
|
|
.project-page h1,
|
|
.project-page h2,
|
|
.project-page h3 {
|
|
font-family: "Clockopia", sans-serif;
|
|
color: #fff5a8;
|
|
}
|
|
|
|
.project-page a {
|
|
color: #fff5a8;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.project-page a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.project-page ul {
|
|
text-align: left;
|
|
margin: auto;
|
|
max-width: 600px;
|
|
}
|
|
|
|
.project-page p {
|
|
max-width: 700px;
|
|
line-height: 1.5;
|
|
margin-bottom: auto;
|
|
}
|
|
|
|
/*Shit to make it not terrible for mobile users.*/
|
|
@media (max-width: 1200px) {
|
|
.content {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
padding: 3rem 2rem;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.left, .middle {
|
|
flex: unset;
|
|
width: 100%;
|
|
}
|
|
|
|
.uzi {
|
|
width: 60%;
|
|
max-width: 600px;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.middle {
|
|
text-align: center;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
/* Full mobile mode */
|
|
@media (max-width: 900px) {
|
|
body {
|
|
padding-right: 0;
|
|
}
|
|
|
|
.navbar {
|
|
position: relative;
|
|
width: 100%;
|
|
height: auto;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
padding: 0.5rem 0;
|
|
border-left: none;
|
|
border-right: none;
|
|
}
|
|
|
|
.navbar ul {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.content,
|
|
.project-page {
|
|
max-width: 100%;
|
|
flex-direction: column;
|
|
padding: 2rem 1.5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.middle {
|
|
text-align: center;
|
|
align-items: center;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.uzi {
|
|
width: 70%;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.footer {
|
|
padding-bottom: 2rem;
|
|
}
|
|
|
|
.navbar-top-icons {
|
|
margin-bottom: 0.5rem;
|
|
gap: 10px;
|
|
}
|
|
|
|
.icon-item img {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.icon-label {
|
|
font-size: 0.7rem;
|
|
}
|
|
}
|
|
.mobile-nav-toggle {
|
|
display: none;
|
|
position: fixed;
|
|
top: 12px;
|
|
right: 12px;
|
|
z-index: 50;
|
|
background: rgba(60, 26, 77, 0.6);
|
|
color: #fff;
|
|
font-size: 1.8rem;
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
border-radius: 6px;
|
|
padding: 4px 10px;
|
|
cursor: pointer;
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.mobile-nav-toggle {
|
|
display: block;
|
|
}
|
|
|
|
.navbar {
|
|
position: fixed;
|
|
right: -100%;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 200px;
|
|
padding-top: 3.5rem;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
transition: right 0.3s ease;
|
|
}
|
|
|
|
.navbar.open {
|
|
right: 0;
|
|
}
|
|
|
|
.navbar ul {
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
|
|
body {
|
|
padding-right: 0;
|
|
}
|
|
} |