Add CSS
This commit is contained in:
+90
-81
@@ -11,28 +11,94 @@ body {
|
||||
background-color: var(--bg-color);
|
||||
background-image: radial-gradient(at 10% 10%, rgba(10, 25, 47, 0.8) 0px, transparent 50%), radial-gradient(at 90% 90%, rgba(62, 202, 248, 0.15) 0px, transparent 50%), linear-gradient(135deg, #050b16 0%, #1a3c6f 100%);
|
||||
color: #e6f1ff;
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
/* Containers */
|
||||
.container {
|
||||
background: rgba(10, 25, 47, 0.08);
|
||||
backdrop-filter: blur(20px) saturate(180%);
|
||||
border-radius: 30px;
|
||||
border: 1px solid var(--glass-border);
|
||||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
|
||||
position: relative;
|
||||
width: 80%;
|
||||
margin: 40px auto;
|
||||
padding: 40px;
|
||||
}
|
||||
|
||||
/* Video */
|
||||
.video-container {
|
||||
hr {
|
||||
border: none;
|
||||
height: 2px;
|
||||
width: 80%;
|
||||
margin: 40px auto;
|
||||
background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
hr::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 12px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
backdrop-filter: blur(10px);
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.social-links, .projects {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 20px;
|
||||
justify-content: center;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.social-links a {
|
||||
background: var(--glass-light);
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid var(--glass-border);
|
||||
padding: 15px;
|
||||
border-radius: 20px;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.social-links a:hover {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
|
||||
.social-links img {
|
||||
width: 40px;
|
||||
}
|
||||
|
||||
.project {
|
||||
background: var(--glass-light);
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: 25px;
|
||||
padding: 20px;
|
||||
width: 300px;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.project:hover {
|
||||
background: rgba(255, 255, 255, 0.12);
|
||||
border-color: var(--accent-yellow);
|
||||
}
|
||||
|
||||
.project img {
|
||||
width: 100%;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.video-container {
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
@@ -50,19 +116,30 @@ body {
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Header & Logo */
|
||||
header {
|
||||
text-align: left;
|
||||
margin-bottom: 40px;
|
||||
padding-left: 10%;
|
||||
.nav a {
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
padding: 15px 35px;
|
||||
margin: 0 10px;
|
||||
border-radius: 50px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid var(--glass-border);
|
||||
transition: 0.3s;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.nav a:hover {
|
||||
background-color: var(--accent-yellow);
|
||||
color: var(--deep-blue);
|
||||
border-color: var(--accent-yellow);
|
||||
box-shadow: 0 0 20px var(--accent-yellow);
|
||||
}
|
||||
|
||||
.logo {
|
||||
height: 128px;
|
||||
width: 128px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin-right: 20px;
|
||||
background: var(--glass-light);
|
||||
backdrop-filter: blur(10px);
|
||||
border-radius: 25px;
|
||||
@@ -76,33 +153,8 @@ header {
|
||||
line-height: 128px;
|
||||
vertical-align: middle;
|
||||
color: #fff;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
/* Navigation Buttons */
|
||||
.nav a {
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
padding: 15px 35px;
|
||||
margin: 0 10px;
|
||||
border-radius: 50px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid var(--glass-border);
|
||||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
|
||||
transition: all 0.3s ease;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.nav a:hover {
|
||||
background-color: var(--accent-yellow);
|
||||
color: var(--deep-blue);
|
||||
border-color: var(--accent-yellow);
|
||||
box-shadow: 0 0 20px var(--accent-yellow);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
div.footer {
|
||||
background: rgba(10, 25, 47, 0.2);
|
||||
backdrop-filter: blur(10px);
|
||||
@@ -111,48 +163,5 @@ div.footer {
|
||||
width: 80%;
|
||||
margin: 40px auto;
|
||||
padding: 20px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Flash Image */
|
||||
img.flash {
|
||||
display: inline-block;
|
||||
width: 128px;
|
||||
transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
|
||||
border-radius: 15px;
|
||||
filter: drop-shadow(0 0 0px var(--accent-yellow));
|
||||
}
|
||||
|
||||
img.flash:hover {
|
||||
width: 800px;
|
||||
filter: drop-shadow(0 10px 30px var(--accent-yellow));
|
||||
}
|
||||
|
||||
hr {
|
||||
border: none;
|
||||
height: 2px;
|
||||
width: 80%;
|
||||
margin: 40px auto;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
transparent 0%,
|
||||
rgba(255, 255, 255, 0.2) 50%,
|
||||
transparent 100%
|
||||
);
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
hr::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 12px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
backdrop-filter: blur(10px);
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
|
||||
text-align: center;
|
||||
}
|
||||
Reference in New Issue
Block a user