127 lines
2.3 KiB
CSS
127 lines
2.3 KiB
CSS
.notice-hero .container {
|
|
min-height: 420px;
|
|
padding-top: 74px;
|
|
padding-bottom: 74px;
|
|
}
|
|
|
|
.hero-copy {
|
|
position: relative;
|
|
padding-left: 28px;
|
|
}
|
|
|
|
.hero-copy:before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 58px;
|
|
width: 4px;
|
|
height: 132px;
|
|
border-radius: 999px;
|
|
background: linear-gradient(180deg, var(--red), var(--gold));
|
|
}
|
|
|
|
.article-meta {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-top: 28px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.article-meta span {
|
|
padding: 10px 14px;
|
|
border: 1px solid rgba(224, 211, 189, .78);
|
|
border-radius: 999px;
|
|
color: #6d766f;
|
|
background: rgba(255,253,248,.74);
|
|
font-weight: 800;
|
|
}
|
|
|
|
.notice-card {
|
|
display: grid;
|
|
place-items: center;
|
|
text-align: center;
|
|
color: #fff;
|
|
background: linear-gradient(145deg, var(--green-dark), var(--green));
|
|
}
|
|
|
|
.notice-card span {
|
|
width: 88px;
|
|
height: 88px;
|
|
border-radius: 50%;
|
|
display: grid;
|
|
place-items: center;
|
|
color: var(--red);
|
|
background: rgba(255,253,248,.94);
|
|
font-family: "SimSun", "Songti SC", serif;
|
|
font-size: 42px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.notice-card p {
|
|
margin: 18px 0 0;
|
|
color: rgba(255,255,255,.88);
|
|
font-size: 22px;
|
|
}
|
|
|
|
.notice-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 820px) 300px;
|
|
gap: 28px;
|
|
align-items: start;
|
|
}
|
|
|
|
.notice-content,
|
|
.notice-side {
|
|
border: 1px solid var(--line);
|
|
border-radius: 18px;
|
|
background: rgba(255,253,248,.82);
|
|
box-shadow: 0 20px 54px rgba(57, 48, 36, .08);
|
|
}
|
|
|
|
.notice-content {
|
|
padding: 42px;
|
|
}
|
|
|
|
.notice-content p {
|
|
color: #5f665f;
|
|
font-size: 18px;
|
|
line-height: 2;
|
|
}
|
|
|
|
.notice-side {
|
|
padding: 24px;
|
|
}
|
|
|
|
.notice-side a {
|
|
display: block;
|
|
margin-top: 12px;
|
|
padding: 14px 16px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 14px;
|
|
color: #6f4a37;
|
|
background: #fbf7ed;
|
|
transition: transform .22s ease, color .22s ease, background .22s ease;
|
|
}
|
|
|
|
.notice-side a:hover {
|
|
color: #fff;
|
|
background: var(--green);
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
.tilt-card {
|
|
transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0));
|
|
transition: transform .18s ease, box-shadow .24s ease, border-color .24s ease;
|
|
}
|
|
|
|
.tilt-card:hover { --lift: -6px; }
|
|
|
|
@media (max-width: 900px) {
|
|
.notice-layout { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.hero-copy { padding-left: 0; }
|
|
.hero-copy:before { display: none; }
|
|
}
|