Files
jianghu/public/style.css
2025-03-11 18:09:23 +08:00

74 lines
1.3 KiB
CSS

body {
margin: 0;
padding: 0;
color: rgba(255, 255, 255, 0.87);
background-color: #000000;
font-family: Arial, Helvetica, sans-serif;
}
#app {
width: 100%;
height: 100vh;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}
.spritePosition {
margin: 10px 0 0 10px;
font-size: 0.8em;
}
.button {
width: 140px;
margin: 10px;
padding: 10px;
background-color: #000000;
color: rgba(255, 255, 255, 0.87);
border: 1px solid rgba(255, 255, 255, 0.87);
cursor: pointer;
transition: all 0.3s;
&:hover {
border: 1px solid #0ec3c9;
color: #0ec3c9;
}
&:active {
background-color: #0ec3c9;
}
/* Disabled styles */
&:disabled {
cursor: not-allowed;
border: 1px solid rgba(255, 255, 255, 0.3);
color: rgba(255, 255, 255, 0.3);
}
}
/* 全局字体 */
@font-face {
font-family: 'MainFont';
src: url('/assets/fonts/unifont-16.0.01.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
.full-loading {
position: fixed;
z-index: 999999;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: #cecece;
color: #eaeaea;
text-align: center;
font-size: 64px;
line-height: 100vh;
}
#game-container {
/* cursor: none; */
}