feat: thông tin liên hệ chính thức + lớp nghệ thuật (grain, marquee), bỏ em-dash
- Thông tin liên hệ thật: Thôn Đình Dù, Xã Như Quỳnh, tỉnh Hưng Yên · ĐT 02213 985 074 · cổng nhuquynh.hungyen.gov.vn (1 nguồn dữ liệu `contact`, dùng ở footer + liên hệ + bản đồ) - Thêm lớp nhiễu hạt phim cố định (chiều sâu cao cấp) + dải tên di tích chạy ngang (1 dải/trang) - Thay toàn bộ em-dash trong nội dung hiển thị bằng dấu câu chuẩn Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1399,3 +1399,47 @@ a {
|
||||
filter: saturate(1.08) brightness(1.03);
|
||||
}
|
||||
}
|
||||
|
||||
/* Lớp nhiễu hạt phim cố định — tạo chiều sâu, chất liệu cao cấp cho nền tối. */
|
||||
.site-grain {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 60;
|
||||
pointer-events: none;
|
||||
opacity: 0.05;
|
||||
mix-blend-mode: overlay;
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
|
||||
background-size: 160px 160px;
|
||||
}
|
||||
|
||||
/* Dải tên di tích chạy ngang — gợi bề dày hệ thống di sản. Một dải/trang. */
|
||||
.heritage-marquee {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
|
||||
-webkit-mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
|
||||
}
|
||||
|
||||
.heritage-marquee-track {
|
||||
display: inline-flex;
|
||||
width: max-content;
|
||||
align-items: center;
|
||||
white-space: nowrap;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.heritage-marquee-track {
|
||||
animation: heritage-marquee 46s linear infinite;
|
||||
}
|
||||
|
||||
.heritage-marquee:hover .heritage-marquee-track {
|
||||
animation-play-state: paused;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes heritage-marquee {
|
||||
to {
|
||||
transform: translate3d(-50%, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user