2026-04-06 20:40:42 +08:00
|
|
|
@layer theme, base, antd, components, utilities;
|
|
|
|
|
|
|
|
|
|
@import 'tailwindcss';
|
2026-04-02 09:23:57 +08:00
|
|
|
|
|
|
|
|
html, body {
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#root {
|
|
|
|
|
width: 100%;
|
2026-04-06 17:57:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mod-codes-grid {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (min-width: 640px) {
|
|
|
|
|
.mod-codes-grid {
|
|
|
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (min-width: 1024px) {
|
|
|
|
|
.mod-codes-grid {
|
|
|
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (min-width: 1280px) {
|
|
|
|
|
.mod-codes-grid {
|
|
|
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
|
|
|
}
|
2026-05-07 18:50:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nav-item {
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nav-item::after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
height: 0;
|
|
|
|
|
background: linear-gradient(to top, #22ffa7, transparent);
|
|
|
|
|
transition: height 0.2s ease-in-out;
|
|
|
|
|
opacity: 0.35;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nav-item:hover::after,
|
|
|
|
|
.nav-item.active::after {
|
|
|
|
|
height: 80%; /* 向上打光的高度,可以调整 */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nav-item:hover,
|
|
|
|
|
.nav-item.active {
|
|
|
|
|
color: white;
|
2026-04-02 09:23:57 +08:00
|
|
|
}
|