283 lines
4.6 KiB
CSS
283 lines
4.6 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Karla:wght@400;600&display=swap');
|
|
|
|
:root {
|
|
--ink: #1b1513;
|
|
--muted: #5f5a5a;
|
|
--sand: #f4efe8;
|
|
--blush: #f2b4c4;
|
|
--clay: #e58aa1;
|
|
--sun: #f3c6a8;
|
|
--sky: #b8dbf0;
|
|
--mint: #bfe6d1;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Karla', sans-serif;
|
|
color: var(--ink);
|
|
background: radial-gradient(circle at top left, #f2fbff 0%, #f4f1ea 35%, #f8e5e7 100%);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.title,
|
|
.navbar-item.brand {
|
|
font-family: 'Fraunces', serif;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.navbar {
|
|
border-bottom: 1px solid rgba(90, 77, 69, 0.12);
|
|
box-shadow: 0 6px 30px rgba(60, 40, 20, 0.06);
|
|
}
|
|
|
|
.navbar-item.brand {
|
|
font-size: 1.3rem;
|
|
color: var(--clay);
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.brand-logo {
|
|
width: 52px;
|
|
height: 52px;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.back-button {
|
|
background: var(--sky);
|
|
border-color: var(--sky);
|
|
color: var(--ink);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.back-button:hover {
|
|
background: #c7e3f5;
|
|
border-color: #c7e3f5;
|
|
}
|
|
|
|
.pad-hero {
|
|
background: linear-gradient(120deg, #cbe8f7 0%, #f2c0cf 55%, #f5d3c0 100%);
|
|
border-radius: 18px;
|
|
margin-bottom: 2rem;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.pad-card {
|
|
border-radius: 16px;
|
|
border: 1px solid rgba(90, 77, 69, 0.12);
|
|
background: #fff;
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.pad-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 16px 30px rgba(60, 40, 20, 0.12);
|
|
}
|
|
|
|
.pad-header {
|
|
display: grid;
|
|
gap: 1rem;
|
|
padding: 1.5rem;
|
|
border-radius: 18px;
|
|
background: #fffaf6;
|
|
border: 1px solid rgba(90, 77, 69, 0.12);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.pad-description {
|
|
color: var(--muted);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.eyebrow {
|
|
text-transform: uppercase;
|
|
font-size: 0.75rem;
|
|
letter-spacing: 1px;
|
|
color: var(--clay);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.review-card {
|
|
border-left: 6px solid var(--clay);
|
|
}
|
|
|
|
.review-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.review-scores {
|
|
font-size: 0.9rem;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.review-overall {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin: 0.75rem 0 0.5rem;
|
|
}
|
|
|
|
.star-display {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.15rem;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.star-display .star {
|
|
color: #d0c4ba;
|
|
}
|
|
|
|
.star-display .star.is-filled {
|
|
color: var(--clay);
|
|
}
|
|
|
|
.photo-actions {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.photo-action-row {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.icon-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.6rem 0.9rem;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(90, 77, 69, 0.2);
|
|
background: #fffaf6;
|
|
color: var(--ink);
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: transform 0.15s ease, box-shadow 0.15s ease;
|
|
}
|
|
|
|
.icon-button:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 10px 18px rgba(60, 40, 20, 0.12);
|
|
}
|
|
|
|
.icon-button .icon {
|
|
display: inline-flex;
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.icon-button svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.icon-label {
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
border: 0;
|
|
}
|
|
|
|
.star-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.star-rating {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
justify-content: flex-end;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.star-rating input {
|
|
position: absolute;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.star-rating label {
|
|
cursor: pointer;
|
|
font-size: 1.4rem;
|
|
color: #d0c4ba;
|
|
transition: color 0.15s ease;
|
|
}
|
|
|
|
.star-rating label::before {
|
|
content: "★";
|
|
}
|
|
|
|
.star-rating input:checked ~ label,
|
|
.star-rating label:hover,
|
|
.star-rating label:hover ~ label {
|
|
color: var(--clay);
|
|
}
|
|
|
|
.star-rating input:focus-visible + label {
|
|
outline: 2px solid rgba(193, 127, 89, 0.5);
|
|
outline-offset: 2px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.photo-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.photo-grid img {
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(90, 77, 69, 0.2);
|
|
object-fit: cover;
|
|
width: 100%;
|
|
height: 140px;
|
|
}
|
|
|
|
.photo-card {
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.pending-box {
|
|
background: #fff6f8;
|
|
border-left: 6px solid var(--clay);
|
|
}
|
|
|
|
.button.is-primary {
|
|
background-color: var(--clay);
|
|
border-color: var(--clay);
|
|
}
|
|
|
|
.button.is-link {
|
|
background-color: var(--sky);
|
|
border-color: var(--sky);
|
|
color: var(--ink);
|
|
}
|
|
|
|
.notification.is-warning {
|
|
background: #fde9ee;
|
|
color: var(--ink);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.pad-hero {
|
|
padding: 1.5rem 1rem;
|
|
}
|
|
|
|
.photo-grid img {
|
|
height: 120px;
|
|
}
|
|
}
|