dao-game / react-multiplayer / files / src / react / Status.css
Branch react-multiplayer · default branch · all branches
Status.css
417dc266 2022-03-23 Pavel Safronov | 1 | @import url('./Base.css'); |
| 2 | ||
| 3 | .status { | |
| 4 | font-family: var(--font-family); | |
| 5 | font-size: 55px; | |
| 6 | border-radius: 10px; | |
| 7 | padding: 10px; | |
| 8 | max-width: var(--max-width); | |
| 9 | display: flex; | |
| 10 | margin: auto; | |
| 11 | } | |
| 12 | ||
| 13 | .p1-turn, | |
| 14 | .p2-turn { | |
| 15 | text-align: center; | |
| 16 | color: lightgray; | |
| 17 | background-color: white; | |
| 18 | border-radius: 10px; | |
| 19 | padding: 10px; | |
| 20 | -ms-user-select: none; | |
| 21 | -webkit-user-select: none; | |
| 22 | user-select: none; | |
| 23 | margin: auto; | |
| 24 | } | |
| 25 | ||
| 26 | .active { | |
| 27 | color: white; | |
| 28 | } | |
| 29 | .p1-turn.active { | |
| 30 | background-color: red; | |
| 31 | } | |
| 32 | .p2-turn.active { | |
| 33 | background-color: blue; | |
| 34 | } |