yew/examples/function_memory_game/scss/game_progress.scss
Howard.Zuo fff1ffaab8
Example of function memory game (#2255)
* example of function memory game

* refactor: remove unnecessary manual PartialEq implementation

* refactor: remove unnecessary license note

* refactor: update implementation and doc with suggestions

* refactor: fix format and lint issues
2022-01-12 18:40:38 +05:00

49 lines
713 B
SCSS

.game-progress {
width: 120px;
height: 100px;
padding: 10px;
background-color: #bbada0;
border-radius: 5px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
color: #eae0d1;
span {
font-size: 19px;
font-weight: bold;
display: block;
width: 100%;
text-align: center;
}
h2 {
color: #fff;
}
}
@media screen and (max-width: 450px) {
.game-progress {
width: 105px;
span {
font-size: 17px;
}
}
}
@media screen and (max-width: 380px) {
.game-progress {
width: 95px;
}
}
@media screen and (max-width: 360px) {
.game-progress {
width: 90px;
span {
font-size: 15px;
}
}
}