integrated handling for new thumbnail field from api response
This commit is contained in:
1 parent
36501d3096
commit
3def7a9936
12 files changed
+182
-46
No files matched your search
@@ -24,6 +24,7 @@
|
||||
}
|
||||
|
||||
h1 {
|
||||
position: relative;
|
||||
font-size: 2.5rem;
|
||||
background: linear-gradient(to top, #a0eddb 0%, #ffffff 100%);
|
||||
-webkit-background-clip: text;
|
||||
@@ -32,6 +33,7 @@ h1 {
|
||||
margin-top: 120px;
|
||||
margin-bottom: 40px;
|
||||
font-weight: 600;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.article-content {
|
||||
@@ -51,6 +53,39 @@ h1 {
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.article-thumb {
|
||||
width: 70%;
|
||||
aspect-ratio: 2.5 / 1;
|
||||
object-fit: cover;
|
||||
border-radius: 25px 25px 0 0;
|
||||
margin: 67px auto -200px auto;
|
||||
z-index: -100;
|
||||
|
||||
-webkit-mask-image: linear-gradient(
|
||||
to bottom,
|
||||
black 0%,
|
||||
rgba(0, 0, 0, 0.95) 50%,
|
||||
rgba(0, 0, 0, 0.7) 70%,
|
||||
rgba(0, 0, 0, 0.3) 85%,
|
||||
transparent 100%
|
||||
);
|
||||
mask-image: linear-gradient(
|
||||
to bottom,
|
||||
black 0%,
|
||||
rgba(0, 0, 0, 0.95) 50%,
|
||||
rgba(0, 0, 0, 0.7) 70%,
|
||||
rgba(0, 0, 0, 0.3) 85%,
|
||||
transparent 100%
|
||||
);
|
||||
|
||||
filter: brightness(0.9);
|
||||
}
|
||||
|
||||
.article-thumb.narrow {
|
||||
width: 100%;
|
||||
margin: 50px auto -160px auto;
|
||||
}
|
||||
|
||||
.article-meta {
|
||||
font-size: 1rem;
|
||||
color: #D6DAEFBD;
|
||||
|
||||
Reference in new issue
Block a user