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>
41 lines
559 B
CSS
41 lines
559 B
CSS
.split {
|
|
display: grid;
|
|
gap: 40px;
|
|
align-items: center;
|
|
}
|
|
|
|
@media (min-width: 860px) {
|
|
.split {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
.art {
|
|
order: 2;
|
|
}
|
|
}
|
|
|
|
.split > div:not(.art) {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.split h2 {
|
|
font-size: 28px;
|
|
margin: 6px 0 16px;
|
|
}
|
|
|
|
.split h3 {
|
|
font-size: 20px;
|
|
}
|
|
|
|
/* push the section CTA to the left edge of the text column */
|
|
.split :global(.btn) {
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.art img {
|
|
width: 100%;
|
|
height: auto;
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-md);
|
|
}
|