Files
pingu-concerts/app/static/style.css
T

275 lines
4.2 KiB
CSS

* {
box-sizing: border-box;
}
body {
margin: 0;
background: #0d1117;
color: #e6edf3;
font-family: Arial, Helvetica, sans-serif;
}
.container {
width: min(1100px, 92%);
margin: 0 auto;
padding: 30px 0 60px;
}
a {
color: inherit;
}
.back-link {
display: inline-block;
margin-bottom: 25px;
color: #9da7b3;
text-decoration: none;
}
.back-link:hover {
color: #ffffff;
}
.detail-actions {
margin-top: 30px;
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.detail-actions form {
margin: 0;
}
.concert-action {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 42px;
padding: 10px 16px;
color: #ffffff;
border: 0;
border-radius: 10px;
font: inherit;
font-weight: bold;
line-height: 1;
text-decoration: none;
cursor: pointer;
transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.concert-action:hover {
transform: translateY(-1px);
box-shadow: 0 5px 16px rgba(0, 0, 0, 0.25);
}
.concert-action-edit {
background: #238636;
}
.concert-action-edit:hover {
background: #2ea043;
}
.concert-action-delete {
background: #b42318;
}
.concert-action-delete:hover {
background: #dc2626;
}
.concert-detail {
background: #161b22;
border: 1px solid #30363d;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.flyer-container {
width: 100%;
background: #0a0d12;
display: flex;
justify-content: center;
padding: 25px;
}
.concert-flyer {
display: block;
max-width: 100%;
max-height: 700px;
object-fit: contain;
border-radius: 10px;
}
.concert-content {
padding: 35px;
}
.concert-content h1 {
margin-top: 0;
margin-bottom: 30px;
font-size: clamp(2rem, 5vw, 3.5rem);
line-height: 1.1;
}
.concert-info {
display: grid;
grid-template-columns: repeat(
auto-fit,
minmax(220px, 1fr)
);
gap: 15px;
}
.info-item {
display: flex;
gap: 14px;
align-items: flex-start;
padding: 18px;
background: #0d1117;
border: 1px solid #30363d;
border-radius: 12px;
}
.info-icon {
font-size: 1.5rem;
}
.info-item strong {
color: #ffffff;
}
.description {
margin-top: 35px;
padding-top: 30px;
border-top: 1px solid #30363d;
}
.description h2,
.coming-soon h2 {
margin-top: 0;
}
.description p {
color: #b8c1cc;
line-height: 1.7;
white-space: pre-wrap;
}
.ticket-button-container {
margin-top: 30px;
}
.ticket-button {
display: inline-block;
padding: 13px 22px;
background: #238636;
color: white;
text-decoration: none;
border-radius: 10px;
font-weight: bold;
}
.ticket-button:hover {
background: #2ea043;
}
.coming-soon {
margin-top: 35px;
padding: 25px;
background: #0d1117;
border: 1px dashed #30363d;
border-radius: 12px;
}
.coming-soon p {
color: #8b949e;
}
.attendance-section {
margin-top: 35px;
padding: 25px;
background: #0d1117;
border: 1px solid #30363d;
border-radius: 12px;
}
.attendance-section h2 {
margin-top: 0;
}
.attendance-section > p {
color: #8b949e;
}
.attendance-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 18px;
}
.attendance-actions form {
margin: 0;
}
.attendance-option {
padding: 10px 14px;
background: #161b22;
border: 1px solid #3d4856;
border-radius: 9px;
color: #e6edf3;
font: inherit;
font-weight: bold;
cursor: pointer;
}
.attendance-option:hover,
.attendance-option.is-selected {
border-color: #58a6ff;
background: #1b3554;
}
.attendance-option.is-selected {
color: #ffffff;
}
.attendance-list {
margin-top: 20px;
color: #b8c1cc;
}
.attendance-list summary {
color: #58a6ff;
font-weight: bold;
cursor: pointer;
}
.attendance-list ul {
margin: 12px 0 0;
padding-left: 22px;
}
@media (max-width: 600px) {
.container {
width: 94%;
padding-top: 20px;
}
.concert-content {
padding: 22px;
}
.flyer-container {
padding: 12px;
}
.concert-flyer {
max-height: 600px;
}
}