Refine mobile CTA spacing
This commit is contained in:
18
css/ncue.css
18
css/ncue.css
@@ -343,23 +343,31 @@ section.callaction.callaction-home .row{
|
|||||||
padding-bottom: 14px;
|
padding-bottom: 14px;
|
||||||
}
|
}
|
||||||
section.callaction.callaction-home .big-cta .cta-text{
|
section.callaction.callaction-home .big-cta .cta-text{
|
||||||
padding: 18px 16px 14px;
|
/* Use a consistent spacing rhythm instead of per-paragraph inline margins */
|
||||||
|
padding: 22px 18px 18px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
}
|
}
|
||||||
section.callaction.callaction-home .big-cta .cta-text h2{
|
section.callaction.callaction-home .big-cta .cta-text h2{
|
||||||
margin: 0 0 10px;
|
margin: 0;
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
line-height: 1.18;
|
line-height: 1.18;
|
||||||
letter-spacing: -0.8px;
|
letter-spacing: -0.8px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
max-width: 22ch;
|
||||||
}
|
}
|
||||||
section.callaction.callaction-home .big-cta .cta-text p{
|
section.callaction.callaction-home .big-cta .cta-text p{
|
||||||
margin: 10px 0 0;
|
margin: 0 !important; /* override inline styles in index.html */
|
||||||
line-height: 1.7;
|
line-height: 1.7;
|
||||||
text-align: left;
|
text-align: center;
|
||||||
color: rgba(15, 23, 42, 0.86);
|
color: rgba(15, 23, 42, 0.86);
|
||||||
|
max-width: 38ch;
|
||||||
}
|
}
|
||||||
section.callaction.callaction-home .big-cta .cta-text p:last-of-type{
|
section.callaction.callaction-home .big-cta .cta-text p:last-of-type{
|
||||||
margin-top: 14px;
|
margin: 6px 0 0 !important;
|
||||||
|
max-width: none;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
|
|||||||
Reference in New Issue
Block a user