增加小程序,修改游戏前端
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
|
||||
.display-area {
|
||||
flex: 1;
|
||||
background-color: #fff;
|
||||
padding: 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.chain-text {
|
||||
font-size: 18px;
|
||||
color: #666;
|
||||
margin-bottom: 20px;
|
||||
word-break: break-all;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.result-text {
|
||||
font-size: 32px;
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.control-area {
|
||||
background-color: #e0e0e0;
|
||||
padding: 10px;
|
||||
padding-bottom: 40px; /* Safe area for some phones */
|
||||
}
|
||||
|
||||
.action-bar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.action-btn {
|
||||
background-color: #f8f8f8;
|
||||
color: #f00;
|
||||
width: 48%;
|
||||
}
|
||||
|
||||
.grid-keyboard {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, 1fr);
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.key-btn {
|
||||
background-color: #fff;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
border-radius: 5px;
|
||||
padding: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user