1kcoinsA / static /css /style.css
Sergidev's picture
Create static/css/style.css
6d0e66b verified
raw
history blame
1.42 kB
body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
height: 100vh;
margin: 0;
padding: 20px;
box-sizing: border-box;
}
#stats {
display: flex;
justify-content: space-between;
width: 100%;
font-size: 18px;
}
#game-area {
display: flex;
flex-direction: column;
align-items: center;
}
#coin {
width: 100px;
height: 100px;
border-radius: 50%;
background-color: #CD7F32;
margin: 20px;
cursor: pointer;
transition: transform 0.3s;
}
#coin:hover {
transform: scale(1.1);
}
#shop {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}
.shop-coin {
width: 50px;
height: 50px;
border-radius: 50%;
margin: 0 10px;
cursor: pointer;
transition: transform 0.3s;
}
.shop-coin:hover {
transform: scale(1.1);
}
.shop-coin.selected {
border: 2px solid #000;
}
#mint-button {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
}
#game-over {
display: none;
flex-direction: column;
align-items: center;
}
#leaderboard {
margin-top: 20px;
}
#leaderboard table {
border-collapse: collapse;
}
#leaderboard th, #leaderboard td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
#leaderboard th {
background-color: #f2f2f2;
}