init
This commit is contained in:
BIN
public/assets/bg.png
Normal file
BIN
public/assets/bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 296 KiB |
1
public/assets/cursor/default.svg
Normal file
1
public/assets/cursor/default.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 24 24"><path fill="currentColor" d="m16.574 19.2l-3.938-3.938l-1.203 1.202c-1.23 1.232-1.846 1.847-2.508 1.702s-.963-.963-1.565-2.596l-2.007-5.45C4.152 6.861 3.55 5.232 4.39 4.392s2.47-.24 5.73.962l5.45 2.006c1.633.602 2.45.903 2.596 1.565s-.47 1.277-1.702 2.508l-1.202 1.203l3.938 3.938c.408.408.612.612.706.84c.125.303.125.643 0 .947c-.094.227-.298.431-.706.839s-.612.612-.84.706a1.24 1.24 0 0 1-.947 0c-.227-.094-.43-.298-.839-.706"/></svg>
|
||||
|
After Width: | Height: | Size: 521 B |
BIN
public/assets/fonts/unifont-16.0.01.otf
Normal file
BIN
public/assets/fonts/unifont-16.0.01.otf
Normal file
Binary file not shown.
BIN
public/assets/logo.png
Normal file
BIN
public/assets/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
BIN
public/assets/star.png
Normal file
BIN
public/assets/star.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.1 KiB |
BIN
public/favicon.png
Normal file
BIN
public/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 354 B |
74
public/style.css
Normal file
74
public/style.css
Normal file
@@ -0,0 +1,74 @@
|
||||
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; */
|
||||
}
|
||||
Reference in New Issue
Block a user