模板:GuidePortal/styles.css
来自MUC Wiki
更多操作
.guide-portal {
display: grid;
gap: .95rem;
margin: 1.15rem 0;
padding: 1rem;
border: 1px solid #d9e1ec;
border-radius: 14px;
background: #f5f8fc;
box-shadow: 0 14px 38px rgba(37, 55, 82, .06);
}
.guide-portal__header {
display: grid;
gap: .35rem;
}
.guide-portal__eyebrow {
width: max-content;
max-width: 100%;
margin: 0;
padding: .22rem .58rem;
border: 1px solid #bfd0e6;
border-radius: 999px;
background: #eef5ff;
color: #315f9e;
font-size: .84rem;
font-weight: 800;
line-height: 1.2;
}
.guide-portal h2 {
margin: 0;
padding: 0;
border: 0;
color: #0f172a;
font-size: 1.32rem;
font-weight: 800;
line-height: 1.25;
}
.guide-portal p {
margin: 0;
color: #536070;
line-height: 1.65;
}
.guide-portal__grid,
.guide-portal-links {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: .72rem;
}
.guide-portal__grid > *,
.guide-portal-links > * {
min-width: 0;
padding: .85rem .95rem;
border: 1px solid #d9e1ec;
border-radius: 12px;
background: #fff;
box-shadow: 0 8px 24px rgba(37, 55, 82, .045);
}
.guide-portal__grid a,
.guide-portal-links a {
font-weight: 800;
}
@media (max-width: 720px) {
.guide-portal {
padding: .9rem;
border-radius: 12px;
}
.guide-portal__grid,
.guide-portal-links {
grid-template-columns: 1fr;
}
}