css upd
This commit is contained in:
parent
112c317b0e
commit
c9d7c9f00a
|
|
@ -52,6 +52,13 @@
|
|||
font-size: 1.7rem;
|
||||
line-height: 2.5rem;
|
||||
}
|
||||
|
||||
p {
|
||||
img {
|
||||
max-height: 55rem;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.article-links {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
gap: 1.5rem;
|
||||
//
|
||||
display: grid;
|
||||
grid-template-columns: 71% auto;
|
||||
grid-template-columns: 75% auto;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
|
|
@ -34,8 +34,8 @@
|
|||
left: 0;
|
||||
background: linear-gradient(
|
||||
180deg,
|
||||
rgba(0, 0, 0, 0) 0%,
|
||||
rgba(0, 0, 0, 0.7) 100%
|
||||
rgba(0, 0, 0, 0) 70%,
|
||||
rgba(0, 0, 0, 0.7) 95%
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -109,15 +109,19 @@
|
|||
padding: 0 1.2rem;
|
||||
left: 0;
|
||||
bottom: 0.7rem;
|
||||
display: block;
|
||||
// font-size: 1.2rem;
|
||||
font-size: 1.5rem;
|
||||
// line-height: 1.6rem;
|
||||
line-height: 2rem;
|
||||
color: $base-white;
|
||||
z-index: 2;
|
||||
font-weight: bold;
|
||||
// font-weight: bold;
|
||||
text-shadow: 0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.mainNewsSwiper {
|
||||
|
|
|
|||
|
|
@ -728,7 +728,7 @@ a {
|
|||
.main-news-inner {
|
||||
gap: 1.5rem;
|
||||
display: grid;
|
||||
grid-template-columns: 71% auto;
|
||||
grid-template-columns: 75% auto;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
|
|
@ -769,7 +769,7 @@ a {
|
|||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
|
||||
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.7) 95%);
|
||||
}
|
||||
|
||||
.main-news-info {
|
||||
|
|
@ -847,13 +847,16 @@ a {
|
|||
padding: 0 1.2rem;
|
||||
left: 0;
|
||||
bottom: 0.7rem;
|
||||
display: block;
|
||||
font-size: 1.5rem;
|
||||
line-height: 2rem;
|
||||
color: rgb(255, 255, 255);
|
||||
z-index: 2;
|
||||
font-weight: bold;
|
||||
text-shadow: 0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.mainNewsSwiper {
|
||||
|
|
@ -2430,6 +2433,11 @@ a {
|
|||
font-size: 1.7rem;
|
||||
line-height: 2.5rem;
|
||||
}
|
||||
.article-desc p img {
|
||||
max-height: 55rem;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.article-links {
|
||||
padding-top: 2.8rem;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -28,7 +28,7 @@ random = 0
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<!-- {% partial 'snowfall' %} -->
|
||||
|
||||
|
||||
{% partial 'new/mobile-search' %}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue