2025-12-25 11:20:56 +08:00
|
|
|
@import './base.css';
|
|
|
|
|
|
2025-12-25 14:15:43 +08:00
|
|
|
/* 禁用页面弹性缩放和橡皮筋效果 */
|
|
|
|
|
html, body {
|
|
|
|
|
overscroll-behavior: none;
|
|
|
|
|
overscroll-behavior-y: none;
|
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
|
touch-action: pan-y;
|
|
|
|
|
position: fixed;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
-webkit-user-select: none;
|
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
2025-12-25 11:20:56 +08:00
|
|
|
#app {
|
|
|
|
|
max-width: 1280px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
font-weight: normal;
|
2025-12-25 14:15:43 +08:00
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
-webkit-overflow-scrolling: touch;
|
2025-12-25 11:20:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a,
|
|
|
|
|
.green {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
color: hsla(160, 100%, 37%, 1);
|
|
|
|
|
transition: 0.4s;
|
|
|
|
|
padding: 3px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (hover: hover) {
|
|
|
|
|
a:hover {
|
|
|
|
|
background-color: hsla(160, 100%, 37%, 0.2);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (min-width: 1024px) {
|
|
|
|
|
body {
|
|
|
|
|
display: flex;
|
|
|
|
|
place-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#app {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
|
padding: 0 2rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-12-25 17:12:19 +08:00
|
|
|
|
|
|
|
|
html, body, #app {
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|