sentimeter / css /support.css
rhmnsae's picture
add
04b72bb
.support-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
margin: 32px 0 0;
}
.support-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--r3);
padding: 24px 20px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
box-shadow: var(--shadow-sm);
width: 100%;
}
.support-card:hover {
box-shadow: var(--shadow-md);
}
.sup-icon-box {
width: 44px; /* Slightly smaller icon box */
height: 44px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 18px;
}
.sup-icon-box svg {
width: 20px; /* Slightly smaller icon */
height: 20px;
}
.sup-title {
font-size: 16px; /* Slightly smaller title */
font-weight: 800;
color: var(--tx1);
margin-bottom: 8px;
letter-spacing: -0.2px;
}
.sup-desc {
font-size: 11.5px; /* Slightly smaller */
color: var(--tx3);
line-height: 1.5;
margin-bottom: 24px;
max-width: 280px;
}
.sup-btn {
width: fit-content;
min-width: 170px; /* Tighter button */
justify-content: center;
font-size: 11.5px;
height: 38px; /* Standard premium height */
font-weight: 700;
padding: 0 24px;
border-radius: 10px;
}
.sup-links {
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
align-items: center;
}
.sup-link-item {
display: flex;
align-items: center;
gap: 10px;
height: 38px;
padding: 0 20px;
background: var(--bg-card);
border: none;
border-radius: 10px;
color: var(--tx2);
font-size: 11.5px;
font-weight: 600;
transition: all 0.3s ease;
width: fit-content;
min-width: 170px;
}
.sup-link-item:hover {
background: var(--nav-hover-bg);
color: var(--tx1);
}
.sup-link-icon {
display: flex;
opacity: 0.9;
}
/* GitHub Brand Style */
.sup-link-github {
background: #24292e;
color: #ffffff;
border-color: #24292e;
}
.sup-link-github .sup-link-icon { color: #ffffff; }
.sup-link-github:hover {
background: #1b1f23;
color: #ffffff;
}
/* Instagram Brand Style */
.sup-link-insta {
background: #fdf2f8;
color: #be185d;
border-color: #fce7f3;
}
.sup-link-insta .sup-link-icon { color: #db2777; }
.sup-link-insta:hover {
background: #fce7f3;
color: #9d174d;
}
.wa-num {
margin-top: 8px;
font-size: 11px;
color: var(--tx3);
font-weight: 600;
letter-spacing: 0.5px;
}
@media (max-width: 900px) {
.support-grid {
grid-template-columns: 1fr;
max-width: 450px;
}
}