Files
EmailBill/Web/src/assets/main.css
孙诚 319f8f7d7b
Some checks failed
Docker Build & Deploy / Build Docker Image (push) Failing after 1m10s
Docker Build & Deploy / Deploy to Production (push) Has been skipped
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s
大量的代码格式化
2026-01-16 11:15:44 +08:00

68 lines
1.1 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@import './base.css';
/* 禁用页面弹性缩放和橡皮筋效果 */
html,
body {
overscroll-behavior: none;
overscroll-behavior-y: none;
-webkit-overflow-scrolling: touch;
touch-action: pan-y;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden; /* 禁止 body 滚动 */
/* 移除 position: fixed因为它会导致 PWA 底部出现空白 */
}
body {
-webkit-user-select: none;
-webkit-touch-callout: none;
-webkit-tap-highlight-color: transparent;
}
#app {
max-width: 1280px;
margin: 0 auto;
font-weight: normal;
width: 100%;
height: 100%;
overflow: hidden; /* 禁止 app 容器滚动 */
-webkit-overflow-scrolling: touch;
}
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;
}
}
html,
body,
#app {
margin: 0;
padding: 0;
height: 100%;
}