This repository has been archived on 2025-11-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
i2cs-webgame/BreadFight/sources/game.css
蓝冰记忆 97c8f6e38b 初始化
翻到了就再上传一下吧,于我而言意义不大了但或许有人需要呢
2025-11-09 13:49:27 +08:00

114 lines
1.8 KiB
CSS

a {
cursor: pointer;
}
#intro {
position: fixed;
transition: .5s all ease-in-out;
text-align: center;
width: 600px;
height: 300px;
padding: 20px;
margin: auto;
left: 0;
right: 0;
top: 0;
bottom: 0;
border: 2px #000 solid;
border-radius: 20px;
}
#intro p {
margin: 30px;
}
#intro a {
transition: .2s all ease-in-out;
padding: 5px 10px;
border: 2px #000 solid;
border-radius: 5px;
}
#intro a:hover {
color: #fff;
background-color: #000;
}
#Control {
transition: .2s all ease-in-out;
position: fixed;
top: 10px;
left: 10px;
}
#Control a, #GameMode a {
transition: .2s all ease-in-out;
font-size: 2em;
display: inline-block;
text-align: center;
padding: 10px;
margin: 10px;
width: 40px;
height: 40px;
border: 3px #000 solid;
border-radius: 100%;
}
#Control a:hover, #GameMode a:hover {
color: deepskyblue;
border: 3px deepskyblue solid;
}
#CountDown {
text-align: center;
position: fixed;
font-size: 5em;
font-family: 'Comic Sans MS';
margin: auto;
width: 600px;
top: 10px;
left: 0;
right: 0;
}
#GameMode {
position: fixed;
bottom: 10px;
right: 10px;
}
#status {
transition: .2s all ease-in-out;
opacity: 0;
position: fixed;
text-align: center;
font-size: 5em;
font-family: 'Comic Sans MS';
width: 600px;
height: 100px;
margin: auto;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
#scoreBoard {
position: fixed;
right: 10px;
top: 10px;
font-family: 'Comic Sans MS';
font-size: 3em;
}
#gameBoard .eaters, #gameBoard .breads {
position: fixed;
opacity: 1;
}
#gameBoard .eaters.getBread {
transition: .3s all ease-in-out;
opacity: 1;
}