mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-23 00:20:40 +07:00
fix scroll indicator and download button
This commit is contained in:
1 parent
a783791513
commit
f1d249061e
2 files changed
+8
-7
No files matched your search
+7
-6
@@ -208,6 +208,7 @@
|
|||||||
.btn-primary {
|
.btn-primary {
|
||||||
background: linear-gradient(135deg, #1d4ed8, #2563eb, #60a5fa);
|
background: linear-gradient(135deg, #1d4ed8, #2563eb, #60a5fa);
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
border: 1px solid transparent;
|
||||||
box-shadow: 0 4px 20px rgba(96, 165, 250, 0.3);
|
box-shadow: 0 4px 20px rgba(96, 165, 250, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -641,24 +642,24 @@
|
|||||||
.scroll-indicator {
|
.scroll-indicator {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 20px;
|
bottom: 20px;
|
||||||
left: 50%;
|
left: 40px;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
color: #ffffff;
|
color: var(--text-primary);
|
||||||
}
|
}
|
||||||
.scroll-mouse {
|
.scroll-mouse {
|
||||||
border-color: rgba(255, 255, 255, 0.5);
|
border-color: var(--text-muted);
|
||||||
}
|
}
|
||||||
.hero .scroll-indicator span {
|
.hero .scroll-indicator span {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
color: #ffffff !important;
|
color: var(--text-primary) !important;
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
}
|
}
|
||||||
.social-links {
|
.social-links {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
.social-link {
|
.social-link {
|
||||||
color: #ffffff;
|
color: var(--text-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -697,7 +698,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
padding: 12px 24px;
|
padding: 14px 24px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ const ThemeContext = createContext<ThemeContextValue | undefined>(undefined)
|
|||||||
const STORAGE_KEY = 'portfolio-theme'
|
const STORAGE_KEY = 'portfolio-theme'
|
||||||
|
|
||||||
function getSystemTheme(): 'dark' | 'light' {
|
function getSystemTheme(): 'dark' | 'light' {
|
||||||
return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'
|
return window.matchMedia('(prefers-color-scheme: light)').matches ? 'dark' : 'light'
|
||||||
}
|
}
|
||||||
|
|
||||||
function getStoredTheme(): Theme {
|
function getStoredTheme(): Theme {
|
||||||
|
|||||||
Reference in new issue
Block a user