135 lines
3.2 KiB
CSS
135 lines
3.2 KiB
CSS
body {
|
|
background: #fff;
|
|
}
|
|
|
|
.news-detail-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.news-detail-container .container-main {
|
|
flex: 1;
|
|
}
|
|
|
|
.news-detail-container .container-main .main-nav {
|
|
padding: 1.125rem 0;
|
|
background: #F8F8F8;
|
|
}
|
|
|
|
.news-detail-container .container-main .main-nav span,
|
|
.news-detail-container .container-main .main-nav a {
|
|
color: #666;
|
|
font-size: .875rem;
|
|
line-height: 1.25rem;
|
|
margin-left: .25rem;
|
|
}
|
|
|
|
.news-detail-container .container-main .main-nav a {
|
|
cursor: pointer;
|
|
transition: color .3s;
|
|
}
|
|
|
|
.news-detail-container .container-main .main-nav a:hover {
|
|
color: var(--main-color);
|
|
}
|
|
|
|
.news-detail-container .container-main .main-content {
|
|
padding: 2.5rem 0;
|
|
}
|
|
|
|
.news-detail-container .container-main .main-content .title {
|
|
color: #333;
|
|
font-size: 1.5rem;
|
|
line-height: 2.125rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.news-detail-container .container-main .main-content .info {
|
|
margin-top: 1.5rem;
|
|
padding-bottom: 2rem;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.news-detail-container .container-main .main-content .info .info-tag {
|
|
color: #909090;
|
|
font-size: 1.125rem;
|
|
line-height: 1.5rem;
|
|
margin: 0 .75rem;
|
|
}
|
|
|
|
.news-detail-container .container-main .main-content .content {
|
|
color: #909090;
|
|
font-size: 1rem;
|
|
line-height: 1.875rem;
|
|
padding: 1.5rem 0;
|
|
}
|
|
|
|
.news-detail-container .container-main .main-content .navigation {
|
|
padding-top: 1.5rem;
|
|
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.news-detail-container .container-main .main-content .navigation a {
|
|
display: flex;
|
|
text-decoration: none;
|
|
max-width: 49%;
|
|
}
|
|
|
|
.news-detail-container .container-main .main-content .navigation a .title {
|
|
color: #909090;
|
|
font-size: .875rem;
|
|
line-height: 1.25rem;
|
|
}
|
|
|
|
.news-detail-container .container-main .main-content .navigation a span {
|
|
color: #333;
|
|
font-size: .875rem;
|
|
line-height: 1.25rem;
|
|
margin-left: .5rem;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
flex: 1;
|
|
transition: color .3s;
|
|
}
|
|
|
|
.news-detail-container .container-main .main-content .navigation a:hover span {
|
|
color: var(--main-color);
|
|
}
|
|
|
|
.news-detail-container .container-main .main-content .navigation a.empty {
|
|
cursor: no-drop;
|
|
}
|
|
|
|
.news-detail-container .container-main .main-content .navigation a.empty span {
|
|
color: #909090;
|
|
}
|
|
|
|
@media screen and (max-width: 767px) {
|
|
.news-detail-container .container-main .main-nav {
|
|
padding: 1rem 0;
|
|
}
|
|
.news-detail-container .container-main .main-content {
|
|
padding: 1.25rem 0;
|
|
}
|
|
.news-detail-container .container-main .main-content .title {
|
|
font-size: 1.125rem;
|
|
font-weight: 600;
|
|
}
|
|
.news-detail-container .container-main .main-content .info {
|
|
margin-top: .5rem;
|
|
padding-bottom: .875rem;
|
|
}
|
|
.news-detail-container .container-main .main-content .info .info-tag {
|
|
font-size: .875rem;
|
|
line-height: 1.25rem;
|
|
}
|
|
.news-detail-container .container-main .main-content .content {
|
|
padding: .875rem 0;
|
|
}
|
|
.news-detail-container .container-main .main-content .navigation {
|
|
padding-top: 1.25rem;
|
|
}
|
|
}
|