Files
burg-stett-king-arth-web/src/style.css
T

254 lines
3.5 KiB
CSS

:root {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
color: #1f2937;
background: #f3f4f6;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
}
#app {
min-height: 100vh;
display: grid;
place-items: center;
padding: 24px;
}
.app {
width: 100%;
max-width: 680px;
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 24px;
}
h1 {
margin: 0 0 16px;
font-size: 28px;
}
h2 {
margin: 0 0 12px;
font-size: 20px;
}
.nav {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 20px;
}
.nav-link {
text-decoration: none;
color: #111827;
border: 1px solid #d1d5db;
border-radius: 8px;
padding: 8px 10px;
font-size: 14px;
}
.nav-link.active {
background: #111827;
color: #ffffff;
border-color: #111827;
}
.page-content {
border: 1px solid #e5e7eb;
border-radius: 10px;
padding: 16px;
}
.row {
display: flex;
gap: 8px;
margin-bottom: 12px;
}
input,
button {
font: inherit;
}
input {
flex: 1;
border: 1px solid #d1d5db;
border-radius: 8px;
padding: 8px 10px;
}
button {
border: 1px solid #111827;
background: #111827;
color: #ffffff;
border-radius: 8px;
padding: 8px 14px;
cursor: pointer;
}
#selected-name {
margin-top: 12px;
font-size: 18px;
font-weight: 600;
}
.home-content {
text-align: center;
}
.home-content h1 {
margin: 0 0 16px;
font-size: 32px;
}
.home-content p {
margin: 0 0 24px;
line-height: 1.6;
color: #4b5563;
}
.info-section {
display: flex;
gap: 16px;
margin: 32px 0;
justify-content: center;
}
.info-box {
flex: 1;
max-width: 200px;
border: 1px solid #e5e7eb;
border-radius: 8px;
padding: 16px;
background: #f9fafb;
}
.info-box h3 {
margin: 0 0 8px;
font-size: 14px;
color: #6b7280;
text-transform: uppercase;
}
.info-box p {
margin: 0;
font-size: 18px;
font-weight: 600;
color: #111827;
}
.home-nav {
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: center;
margin-top: 32px;
}
.nav-button {
text-decoration: none;
color: #ffffff;
background: #111827;
border: 1px solid #111827;
border-radius: 8px;
padding: 12px 24px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: background 0.2s, border-color 0.2s;
}
.nav-button:hover {
background: #374151;
border-color: #374151;
}
.player-list {
margin: 0;
padding: 0;
list-style: none;
}
.player-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px;
margin: 8px 0;
background: #f9fafb;
border: 1px solid #e5e7eb;
border-radius: 6px;
}
.player-name {
flex: 1;
font-weight: 500;
color: #111827;
}
.delete-btn {
background: #ef4444;
border: 1px solid #ef4444;
color: #ffffff;
padding: 6px 10px;
border-radius: 4px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s, border-color 0.2s;
}
.delete-btn:hover {
background: #dc2626;
border-color: #dc2626;
}
.trash-icon {
width: 16px;
height: 16px;
}
.players-actions {
display: flex;
gap: 12px;
margin-top: 16px;
justify-content: flex-end;
}
.btn-primary,
.btn-secondary {
padding: 10px 16px;
border-radius: 6px;
border: none;
cursor: pointer;
font-weight: 500;
transition: background 0.2s;
}
.btn-primary {
background: #111827;
color: #ffffff;
}
.btn-primary:hover {
background: #1f2937;
}
.btn-secondary {
background: #e5e7eb;
color: #111827;
border: 1px solid #d1d5db;
}
.btn-secondary:hover {
background: #d1d5db;
}