style: service icons inline with headings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfmHGGiYUjNcvJoyzdf
This commit is contained in:
1 parent
c2ebee08df
commit
a0cb0f01a3
1 file changed
+6
-3
+6
-3
@@ -103,12 +103,15 @@
|
|||||||
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
|
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
|
||||||
.svc { border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
|
.svc { border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
|
||||||
.svc:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16,41,74,.1); border-color: #cfd6de; }
|
.svc:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16,41,74,.1); border-color: #cfd6de; }
|
||||||
.svc .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--midnight); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
|
.svc { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; align-content: start; }
|
||||||
.svc .icon svg { width: 24px; height: 24px; }
|
.svc .icon { color: var(--gold-ink); grid-row: 1; align-self: center; display: flex; }
|
||||||
|
.svc .icon svg { width: 26px; height: 26px; }
|
||||||
|
.svc h3 { grid-column: 2; grid-row: 1; margin: 0; }
|
||||||
|
.svc p { grid-column: 1 / -1; }
|
||||||
.svc h3 { color: var(--navy); margin-bottom: .35em; }
|
.svc h3 { color: var(--navy); margin-bottom: .35em; }
|
||||||
.svc .tag { font-size: .8rem; color: var(--muted); margin-bottom: .6em; }
|
.svc .tag { font-size: .8rem; color: var(--muted); margin-bottom: .6em; }
|
||||||
.svc p { color: var(--muted); font-size: .95rem; margin: 0; }
|
.svc p { color: var(--muted); font-size: .95rem; margin: 0; }
|
||||||
.svc p.tag { margin-bottom: .6em; }
|
.svc p.tag { margin: .5em 0 .6em; }
|
||||||
|
|
||||||
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
|
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
|
||||||
.steps li { counter-increment: s; position: relative; padding: 56px 24px 0 0; }
|
.steps li { counter-increment: s; position: relative; padding: 56px 24px 0 0; }
|
||||||
|
|||||||
Reference in new issue
Block a user