Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,132 +1,116 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
font-family: "Segoe UI", system-ui, sans-serif;
|
| 6 |
}
|
| 7 |
|
| 8 |
-
|
| 9 |
-
body {
|
| 10 |
-
min-height: 100vh;
|
| 11 |
background:
|
| 12 |
-
radial-gradient(circle at
|
| 13 |
-
radial-gradient(circle at
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
padding: 50px 16px;
|
| 18 |
}
|
| 19 |
|
| 20 |
-
/*
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
backdrop-filter: blur(20px); /* 👈 GLASS */
|
| 29 |
-
-webkit-backdrop-filter: blur(20px);
|
| 30 |
-
|
| 31 |
-
border: 1px solid rgba(255, 255, 255, 0.35);
|
| 32 |
-
box-shadow:
|
| 33 |
-
0 30px 80px rgba(0, 0, 0, 0.7),
|
| 34 |
-
inset 0 0 1px rgba(255,255,255,0.6);
|
| 35 |
-
|
| 36 |
-
transition: all 0.4s ease;
|
| 37 |
-
}
|
| 38 |
-
|
| 39 |
-
/* hover = more glass */
|
| 40 |
-
.glass:hover {
|
| 41 |
-
background: rgba(255, 255, 255, 0.25);
|
| 42 |
-
transform: translateY(-6px);
|
| 43 |
}
|
| 44 |
|
| 45 |
-
/*
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
}
|
| 53 |
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
margin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
}
|
| 59 |
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
color: #e0f2fe;
|
| 64 |
}
|
| 65 |
|
| 66 |
-
|
| 67 |
-
font-size:
|
| 68 |
-
|
| 69 |
-
|
|
|
|
| 70 |
}
|
| 71 |
|
| 72 |
-
|
| 73 |
-
.btn {
|
| 74 |
-
display: inline-block;
|
| 75 |
-
margin-top: 18px;
|
| 76 |
-
padding: 12px 28px;
|
| 77 |
-
border-radius: 999px;
|
| 78 |
-
|
| 79 |
-
background: linear-gradient(90deg, #00f5d4, #c77dff);
|
| 80 |
-
color: #020617;
|
| 81 |
-
font-weight: 600;
|
| 82 |
-
text-decoration: none;
|
| 83 |
|
| 84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
}
|
| 86 |
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
}
|
| 91 |
|
| 92 |
-
/*
|
| 93 |
-
.
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
|
|
|
|
|
|
| 97 |
}
|
| 98 |
|
| 99 |
-
.
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
.
|
| 112 |
-
margin-top: 24px;
|
| 113 |
-
padding: 26px;
|
| 114 |
-
border-radius: 22px;
|
| 115 |
-
|
| 116 |
-
background: rgba(255, 255, 255, 0.22);
|
| 117 |
-
backdrop-filter: blur(16px);
|
| 118 |
-
|
| 119 |
-
border: 1px solid rgba(255, 255, 255, 0.4);
|
| 120 |
}
|
| 121 |
|
| 122 |
-
.project
|
| 123 |
-
|
| 124 |
-
|
| 125 |
}
|
| 126 |
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
opacity: 0.7;
|
| 132 |
}
|
|
|
|
| 1 |
+
:root {
|
| 2 |
+
--accent1:#00f5d4;
|
| 3 |
+
--accent2:#c77dff;
|
| 4 |
+
--glass:rgba(255,255,255,0.18);
|
|
|
|
| 5 |
}
|
| 6 |
|
| 7 |
+
body.dark {
|
|
|
|
|
|
|
| 8 |
background:
|
| 9 |
+
radial-gradient(circle at 15% 20%, #00f5d420, transparent 40%),
|
| 10 |
+
radial-gradient(circle at 85% 30%, #c77dff25, transparent 45%),
|
| 11 |
+
linear-gradient(180deg,#040814,#040814);
|
| 12 |
+
color:#f8fafc;
|
| 13 |
+
font-family:"Segoe UI",system-ui,sans-serif;
|
|
|
|
| 14 |
}
|
| 15 |
|
| 16 |
+
/* particles */
|
| 17 |
+
#particles{
|
| 18 |
+
position:fixed;
|
| 19 |
+
inset:0;
|
| 20 |
+
background:
|
| 21 |
+
radial-gradient(circle at 10% 30%, #00f5d430, transparent 35%),
|
| 22 |
+
radial-gradient(circle at 80% 60%, #c77dff30, transparent 40%);
|
| 23 |
+
z-index:-1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
+
/* toggle */
|
| 27 |
+
#themeToggle{
|
| 28 |
+
position:fixed;
|
| 29 |
+
top:18px;
|
| 30 |
+
right:18px;
|
| 31 |
+
border:none;
|
| 32 |
+
border-radius:50%;
|
| 33 |
+
padding:12px;
|
| 34 |
+
cursor:pointer;
|
| 35 |
+
background:#111;
|
| 36 |
+
color:white;
|
| 37 |
}
|
| 38 |
|
| 39 |
+
/* glass card */
|
| 40 |
+
.glass{
|
| 41 |
+
max-width:900px;
|
| 42 |
+
margin:70px auto;
|
| 43 |
+
padding:42px;
|
| 44 |
+
border-radius:28px;
|
| 45 |
+
background:var(--glass);
|
| 46 |
+
backdrop-filter:blur(26px);
|
| 47 |
+
border:1px solid rgba(255,255,255,0.35);
|
| 48 |
+
box-shadow:0 40px 90px rgba(0,0,0,0.8);
|
| 49 |
+
transition:0.4s ease;
|
| 50 |
}
|
| 51 |
|
| 52 |
+
.glass:hover{
|
| 53 |
+
background:rgba(255,255,255,0.26);
|
| 54 |
+
transform:translateY(-6px);
|
|
|
|
| 55 |
}
|
| 56 |
|
| 57 |
+
.hero h1{
|
| 58 |
+
font-size:40px;
|
| 59 |
+
background:linear-gradient(90deg,var(--accent1),var(--accent2));
|
| 60 |
+
-webkit-background-clip:text;
|
| 61 |
+
-webkit-text-fill-color:transparent;
|
| 62 |
}
|
| 63 |
|
| 64 |
+
.subtitle{opacity:.85;margin-bottom:16px;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
+
.links a{
|
| 67 |
+
margin-right:18px;
|
| 68 |
+
text-decoration:none;
|
| 69 |
+
color:#e5e7eb;
|
| 70 |
+
font-weight:600;
|
| 71 |
}
|
| 72 |
|
| 73 |
+
/* skills */
|
| 74 |
+
.skills span{
|
| 75 |
+
display:inline-block;
|
| 76 |
+
margin:8px 8px 0 0;
|
| 77 |
+
padding:9px 18px;
|
| 78 |
+
border-radius:999px;
|
| 79 |
+
background:rgba(255,255,255,0.25);
|
| 80 |
+
backdrop-filter:blur(10px);
|
| 81 |
}
|
| 82 |
|
| 83 |
+
/* projects */
|
| 84 |
+
.project{
|
| 85 |
+
margin-top:26px;
|
| 86 |
+
padding:28px;
|
| 87 |
+
border-radius:24px;
|
| 88 |
+
background:rgba(255,255,255,0.22);
|
| 89 |
+
border:1px solid rgba(255,255,255,0.4);
|
| 90 |
}
|
| 91 |
|
| 92 |
+
.project h3{margin-bottom:6px;}
|
| 93 |
+
|
| 94 |
+
.project-btn{
|
| 95 |
+
display:inline-block;
|
| 96 |
+
margin-top:14px;
|
| 97 |
+
padding:12px 28px;
|
| 98 |
+
border-radius:999px;
|
| 99 |
+
background:linear-gradient(90deg,var(--accent1),var(--accent2));
|
| 100 |
+
color:#020617;
|
| 101 |
+
font-weight:700;
|
| 102 |
+
text-decoration:none;
|
| 103 |
+
letter-spacing:1px;
|
| 104 |
+
transition:0.3s;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
}
|
| 106 |
|
| 107 |
+
.project-btn:hover{
|
| 108 |
+
box-shadow:0 0 40px var(--accent1);
|
| 109 |
+
transform:scale(1.08);
|
| 110 |
}
|
| 111 |
|
| 112 |
+
footer{
|
| 113 |
+
text-align:center;
|
| 114 |
+
opacity:.7;
|
| 115 |
+
margin-bottom:30px;
|
|
|
|
| 116 |
}
|