Spaces:
Running
Running
improve the download cv button not aligned. Also the white theme isnt visible enough, text are mostly white and background too.
Browse files- index.html +4 -5
- style.css +69 -1
index.html
CHANGED
|
@@ -53,7 +53,7 @@
|
|
| 53 |
</div>
|
| 54 |
|
| 55 |
<!-- Header -->
|
| 56 |
-
<header class="fixed top-0 inset-x-0 z-50 border-b border-white/5 bg-[color:rgb(var(--bg)_/_0.6)] backdrop-blur supports-[backdrop-filter]:bg-[color:rgb(var(--bg)_/_0.5)]">
|
| 57 |
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
| 58 |
<div class="flex h-16 items-center justify-between">
|
| 59 |
<a href="#" class="flex items-center gap-2 group">
|
|
@@ -62,8 +62,7 @@
|
|
| 62 |
</span>
|
| 63 |
<span class="text-sm font-semibold tracking-tight text-zinc-100">CoolDev</span>
|
| 64 |
</a>
|
| 65 |
-
|
| 66 |
-
<nav class="hidden md:flex items-center gap-1">
|
| 67 |
<a href="#about" class="nav-link">About</a>
|
| 68 |
<a href="#projects" class="nav-link">Projects</a>
|
| 69 |
<a href="#experience" class="nav-link">Experience</a>
|
|
@@ -113,12 +112,12 @@
|
|
| 113 |
</p>
|
| 114 |
<div class="mt-8 flex flex-wrap items-center gap-3">
|
| 115 |
<a href="#projects" class="btn-primary">View Projects</a>
|
| 116 |
-
<a href="#" class="btn-ghost" id="download-cv">
|
| 117 |
<i data-feather="download-cloud"></i>
|
| 118 |
Download CV
|
| 119 |
</a>
|
| 120 |
</div>
|
| 121 |
-
|
| 122 |
<span class="px-2 py-1 rounded-md bg-white/5 border border-white/10">React</span>
|
| 123 |
<span class="px-2 py-1 rounded-md bg-white/5 border border-white/10">Next.js</span>
|
| 124 |
<span class="px-2 py-1 rounded-md bg-white/5 border border-white/10">Vue</span>
|
|
|
|
| 53 |
</div>
|
| 54 |
|
| 55 |
<!-- Header -->
|
| 56 |
+
<header class="fixed top-0 inset-x-0 z-50 border-b border-white/5 bg-[color:rgb(var(--bg)_/_0.6)] backdrop-blur supports-[backdrop-filter]:bg-[color:rgb(var(--bg)_/_0.5)]" style="background-image: radial-gradient(circle, rgba(var(--color-primary-500), 0.1) 1px, transparent 1px); background-size: 20px 20px;">
|
| 57 |
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
| 58 |
<div class="flex h-16 items-center justify-between">
|
| 59 |
<a href="#" class="flex items-center gap-2 group">
|
|
|
|
| 62 |
</span>
|
| 63 |
<span class="text-sm font-semibold tracking-tight text-zinc-100">CoolDev</span>
|
| 64 |
</a>
|
| 65 |
+
<nav class="hidden md:flex items-center gap-1">
|
|
|
|
| 66 |
<a href="#about" class="nav-link">About</a>
|
| 67 |
<a href="#projects" class="nav-link">Projects</a>
|
| 68 |
<a href="#experience" class="nav-link">Experience</a>
|
|
|
|
| 112 |
</p>
|
| 113 |
<div class="mt-8 flex flex-wrap items-center gap-3">
|
| 114 |
<a href="#projects" class="btn-primary">View Projects</a>
|
| 115 |
+
<a href="#" class="btn-ghost inline-flex items-center gap-2" id="download-cv">
|
| 116 |
<i data-feather="download-cloud"></i>
|
| 117 |
Download CV
|
| 118 |
</a>
|
| 119 |
</div>
|
| 120 |
+
<div class="mt-8 flex flex-wrap items-center gap-2 text-sm text-zinc-400">
|
| 121 |
<span class="px-2 py-1 rounded-md bg-white/5 border border-white/10">React</span>
|
| 122 |
<span class="px-2 py-1 rounded-md bg-white/5 border border-white/10">Next.js</span>
|
| 123 |
<span class="px-2 py-1 rounded-md bg-white/5 border border-white/10">Vue</span>
|
style.css
CHANGED
|
@@ -12,13 +12,81 @@
|
|
| 12 |
--primary: var(--color-primary-500);
|
| 13 |
--secondary: var(--color-secondary-500);
|
| 14 |
}
|
| 15 |
-
|
| 16 |
/* Light theme overrides */
|
| 17 |
html.light {
|
| 18 |
--bg: 250 250 250;
|
| 19 |
--fg: 15 23 42;
|
| 20 |
}
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
* { -webkit-tap-highlight-color: transparent; }
|
| 23 |
|
| 24 |
html, body {
|
|
|
|
| 12 |
--primary: var(--color-primary-500);
|
| 13 |
--secondary: var(--color-secondary-500);
|
| 14 |
}
|
|
|
|
| 15 |
/* Light theme overrides */
|
| 16 |
html.light {
|
| 17 |
--bg: 250 250 250;
|
| 18 |
--fg: 15 23 42;
|
| 19 |
}
|
| 20 |
|
| 21 |
+
/* Light theme specific adjustments */
|
| 22 |
+
html.light .glass-card {
|
| 23 |
+
background: rgba(255, 255, 255, 0.8);
|
| 24 |
+
border-color: rgba(15, 23, 42, 0.1);
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
html.light .text-zinc-100 {
|
| 28 |
+
color: rgb(15, 23, 42);
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
html.light .text-zinc-200 {
|
| 32 |
+
color: rgb(30, 41, 59);
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
html.light .text-zinc-300 {
|
| 36 |
+
color: rgb(71, 85, 105);
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
html.light .text-zinc-400 {
|
| 40 |
+
color: rgb(100, 116, 139);
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
html.light .border-white\/10 {
|
| 44 |
+
border-color: rgba(15, 23, 42, 0.1);
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
html.light .bg-white\/5 {
|
| 48 |
+
background: rgba(15, 23, 42, 0.05);
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
html.light .bg-white\/10 {
|
| 52 |
+
background: rgba(15, 23, 42, 0.1);
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
html.light .nav-link {
|
| 56 |
+
color: rgb(71, 85, 105);
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
html.light .nav-link:hover {
|
| 60 |
+
color: rgb(15, 23, 42);
|
| 61 |
+
background: rgba(15, 23, 42, 0.05);
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
html.light .mobile-link {
|
| 65 |
+
color: rgb(71, 85, 105);
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
html.light .mobile-link:hover {
|
| 69 |
+
color: rgb(15, 23, 42);
|
| 70 |
+
background: rgba(15, 23, 42, 0.05);
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
html.light input,
|
| 74 |
+
html.light textarea {
|
| 75 |
+
background: rgba(15, 23, 42, 0.05);
|
| 76 |
+
border-color: rgba(15, 23, 42, 0.15);
|
| 77 |
+
color: rgb(15, 23, 42);
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
html.light input::placeholder,
|
| 81 |
+
html.light textarea::placeholder {
|
| 82 |
+
color: rgb(100, 116, 139);
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
html.light .chip {
|
| 86 |
+
background: rgba(15, 23, 42, 0.05);
|
| 87 |
+
border-color: rgba(15, 23, 42, 0.1);
|
| 88 |
+
color: rgb(71, 85, 105);
|
| 89 |
+
}
|
| 90 |
* { -webkit-tap-highlight-color: transparent; }
|
| 91 |
|
| 92 |
html, body {
|