mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Comprehensive review changes
This commit is contained in:
parent
3aa8c654cc
commit
6074d9d6e4
143 changed files with 2661 additions and 1535 deletions
66
webclient/src/containers/Player/Player.css
Normal file
66
webclient/src/containers/Player/Player.css
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
.player-view {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.player-view__card {
|
||||
width: 100%;
|
||||
max-width: 640px;
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.player-view__avatar-wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.player-view__avatar {
|
||||
width: 160px;
|
||||
height: 160px;
|
||||
border-radius: 8px;
|
||||
object-fit: cover;
|
||||
background-color: var(--bg-subtle, #eee);
|
||||
}
|
||||
|
||||
.player-view__name {
|
||||
text-align: center;
|
||||
margin: 0 0 8px;
|
||||
}
|
||||
|
||||
.player-view__level-badge {
|
||||
text-align: center;
|
||||
margin-bottom: 16px;
|
||||
color: var(--text-muted, #666);
|
||||
}
|
||||
|
||||
.player-view__details {
|
||||
display: grid;
|
||||
grid-template-columns: max-content 1fr;
|
||||
gap: 8px 16px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.player-view__label {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.player-view__country-flag {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin-right: 8px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.player-view__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.player-view__empty {
|
||||
text-align: center;
|
||||
color: var(--text-muted, #666);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue