mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-23 00:20:40 +07:00
fix(hero): improve mobile text readability
- Increase overlay opacity from 0.55 to 0.75 - Use brighter text colors on mobile: #ffffff for name, #e0e0e0 for title/tagline
This commit is contained in:
1 parent
76679922fe
commit
20dfbe9125
1 file changed
+8
-1
+8
-1
@@ -463,11 +463,18 @@
|
|||||||
.hero-content {
|
.hero-content {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
background: rgba(0, 0, 0, 0.55);
|
background: rgba(0, 0, 0, 0.75);
|
||||||
padding: 32px 24px;
|
padding: 32px 24px;
|
||||||
backdrop-filter: blur(4px);
|
backdrop-filter: blur(4px);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
.hero-name {
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
.hero-title,
|
||||||
|
.hero-tagline {
|
||||||
|
color: #e0e0e0;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user