Updated the navbar, andded a project page
This commit is contained in:
@@ -6,45 +6,38 @@
|
||||
*/
|
||||
|
||||
@font-face {
|
||||
font-family: "Clockopia";
|
||||
src: url("../fonts/Clockopia.ttf") format("truetype");
|
||||
font-family: "Clockopia";
|
||||
src: url("../fonts/Clockopia.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "LuxiSans";
|
||||
src: url("../fonts/luxisr.ttf") format("truetype");
|
||||
font-family: "LuxiSans";
|
||||
src: url("../fonts/luxisr.ttf") format("truetype");
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
background-color: #0e0016;
|
||||
color: white;
|
||||
font-family: "system-ui", sans-serif;
|
||||
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;
|
||||
}
|
||||
|
||||
/* === NAVBAR ON THE RIGHT === */
|
||||
.navbar {
|
||||
width: 140px;
|
||||
background-color: #3c1a4d;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
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;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-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;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
padding-top: 2rem;
|
||||
padding-bottom: 2rem;
|
||||
position: fixed;
|
||||
@@ -52,8 +45,8 @@ body {
|
||||
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;
|
||||
@@ -73,12 +66,9 @@ body {
|
||||
text-align: center;
|
||||
padding: 0.75rem 0;
|
||||
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;
|
||||
}
|
||||
|
||||
/* === Full-width divider lines === */
|
||||
.navbar a::before,
|
||||
.navbar a::after {
|
||||
content: "";
|
||||
@@ -88,8 +78,6 @@ body {
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -111,144 +99,156 @@ body {
|
||||
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;
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding: 1rem 0;
|
||||
text-align: center;
|
||||
font-family: IBMWeb, "Liberation Mono", monospace;
|
||||
color: #fff;
|
||||
background: transparent;
|
||||
z-index: 100;
|
||||
margin-top: auto;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
/* === LINKS === */
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #447fc6;
|
||||
text-decoration: none;
|
||||
color: #447fc6;
|
||||
}
|
||||
|
||||
::-moz-selection {
|
||||
color: #000000;
|
||||
background: #a57ae9
|
||||
background: #a57ae9;
|
||||
}
|
||||
|
||||
::selection {
|
||||
color: #000000;
|
||||
background: #a57ae9
|
||||
background: #a57ae9;
|
||||
}
|
||||
|
||||
a::-moz-selection {
|
||||
color: #000;
|
||||
background: #447fc6
|
||||
background: #447fc6;
|
||||
}
|
||||
|
||||
a::selection {
|
||||
color: #000;
|
||||
background: #447fc6
|
||||
}
|
||||
|
||||
a:not(:has(img)):hover {
|
||||
text-decoration: underline
|
||||
background: #447fc6;
|
||||
}
|
||||
|
||||
a:not(:has(img)):hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* === MAIN CONTENT === */
|
||||
.content {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
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%;
|
||||
gap: 5%;
|
||||
z-index: 10;
|
||||
position: relative;
|
||||
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;
|
||||
}
|
||||
|
||||
/* === LEFT SIDE (UZI IMAGE) === */
|
||||
.left {
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.uzi {
|
||||
width: 90%;
|
||||
max-width: 650px;
|
||||
height: auto;
|
||||
pointer-events: none;
|
||||
width: 90%;
|
||||
max-width: 650px;
|
||||
height: auto;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* === MIDDLE SECTION (TEXT + BADGES) === */
|
||||
.middle {
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-orient: vertical;
|
||||
-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;
|
||||
z-index: 10;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
text-align: left;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.middle h1 {
|
||||
font-family: "Clockopia", sans-serif;
|
||||
font-size: 3.5rem;
|
||||
margin-bottom: 1rem;
|
||||
color: #fff5a8;
|
||||
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;
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.7;
|
||||
margin-bottom: 1rem;
|
||||
max-width: 550px;
|
||||
}
|
||||
|
||||
.buttons {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-ms-flex-wrap: wrap;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin-top: 1.5rem;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
.buttons img {
|
||||
width: 88px;
|
||||
height: 31px;
|
||||
border: none;
|
||||
-ms-interpolation-mode: nearest-neighbor;
|
||||
image-rendering: -webkit-optimize-contrast;
|
||||
image-rendering: -moz-crisp-edges;
|
||||
image-rendering: -o-pixelated;
|
||||
image-rendering: pixelated;
|
||||
width: 88px;
|
||||
height: 31px;
|
||||
border: none;
|
||||
image-rendering: -webkit-optimize-contrast;
|
||||
image-rendering: -moz-crisp-edges;
|
||||
image-rendering: -o-pixelated;
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
|
||||
/* === BACKGROUND CANVAS === */
|
||||
@@ -278,49 +278,112 @@ a:not(:has(img)):hover {
|
||||
height: auto;
|
||||
display: block;
|
||||
opacity: 0.5;
|
||||
-webkit-filter: blur(1px);
|
||||
filter: blur(1px);
|
||||
filter: blur(1px);
|
||||
}
|
||||
|
||||
/* === PROJECT PAGE === */
|
||||
.project-page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: left;
|
||||
padding: 5rem 2rem 8rem 2rem;
|
||||
color: #fff;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.project-page h1,
|
||||
.project-page h2,
|
||||
.project-page h3 {
|
||||
font-family: "Clockopia", sans-serif;
|
||||
color: #fff5a8;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.project-page a {
|
||||
color: #fff5a8;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.project-page a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.project-page ul {
|
||||
list-style: disc;
|
||||
margin-left: 2rem;
|
||||
margin-bottom: 1.5rem;
|
||||
color: #ccc;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.project-page p {
|
||||
max-width: 700px;
|
||||
line-height: 1.8;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
/* === RESPONSIVE FIXES === */
|
||||
@media (max-width: 900px) {
|
||||
body {
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
}
|
||||
body {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
-webkit-box-orient: horizontal;
|
||||
-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;
|
||||
}
|
||||
.navbar {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
padding: 0.5rem 0;
|
||||
}
|
||||
|
||||
.navbar ul {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
}
|
||||
.navbar ul {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.content {
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
padding: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
.content {
|
||||
flex-direction: column;
|
||||
padding: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.middle {
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.uzi {
|
||||
width: 70%;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.footer {
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
.navbar-top-icons {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.navbar-top-icons img {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.navbar-top-icons {
|
||||
gap: 10px;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.icon-item img {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.icon-label {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
.uzi {
|
||||
width: 70%;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user