Next.js (App Router) clone of negindentalclinic.ir, wired to the Meshkee Website API (blog, contact form, favicon), with on-page SEO and a scroll-reveal animation sequence on the homepage. See context.md for full project context. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
120 lines
1.7 KiB
CSS
120 lines
1.7 KiB
CSS
.empty {
|
|
max-width: 620px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.empty h2 {
|
|
font-size: 28px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.empty p {
|
|
color: var(--muted);
|
|
margin-bottom: 28px;
|
|
text-align: center;
|
|
text-align-last: center;
|
|
}
|
|
|
|
.card {
|
|
background: #fff;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-6px);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.cardArt {
|
|
display: block;
|
|
aspect-ratio: 16 / 10;
|
|
background: var(--bg-tint);
|
|
}
|
|
|
|
.cardArt img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.cardArtFallback {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(135deg, var(--brand), var(--cyan));
|
|
opacity: 0.16;
|
|
}
|
|
|
|
.cardBody {
|
|
padding: 22px 24px 26px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
flex: 1;
|
|
}
|
|
|
|
.cardDate {
|
|
font-size: 12px;
|
|
color: var(--cyan-deep);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.cardBody h3 {
|
|
font-size: 18px;
|
|
margin: 0;
|
|
}
|
|
|
|
.cardBody p {
|
|
color: var(--muted);
|
|
font-size: 14px;
|
|
margin: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.cardMore {
|
|
margin-top: 6px;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: var(--brand);
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.cardMore::after {
|
|
content: " ←";
|
|
}
|
|
|
|
.pager {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
margin-top: 50px;
|
|
}
|
|
|
|
.pagerLink {
|
|
min-width: 38px;
|
|
padding: 8px 12px;
|
|
text-align: center;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--border);
|
|
color: var(--heading);
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.pagerLink:hover {
|
|
border-color: var(--brand);
|
|
color: var(--brand);
|
|
}
|
|
|
|
.pagerLinkActive {
|
|
background: var(--brand);
|
|
border-color: var(--brand);
|
|
color: #fff;
|
|
}
|