sticky ad for articles on mobile
This commit is contained in:
parent
3bab359677
commit
8e1f10c142
30
style.css
30
style.css
@ -700,6 +700,7 @@ SECTIONS
|
|||||||
top: 85px;
|
top: 85px;
|
||||||
left: 0;
|
left: 0;
|
||||||
align-self: start;
|
align-self: start;
|
||||||
|
z-index: -1000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -750,7 +751,26 @@ SECTIONS
|
|||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.st-ad-section-long-post-end a,
|
||||||
|
.st-ad-section-long-post-end img,
|
||||||
|
.st-ad-section-long-post-end video {
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.st-ad-section-long-post-end {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.st-ad-section-long-post-end video,
|
||||||
|
.st-ad-section-long-post-end img,
|
||||||
|
.st-ad-section-long-post-end a {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: 760px) {
|
@media (min-width: 760px) {
|
||||||
.st-ad-section {
|
.st-ad-section {
|
||||||
@ -772,7 +792,9 @@ SECTIONS
|
|||||||
}
|
}
|
||||||
|
|
||||||
.st-ad-section-long-post-end {
|
.st-ad-section-long-post-end {
|
||||||
|
position: relative;
|
||||||
grid-column: 1 / span 4 !important;
|
grid-column: 1 / span 4 !important;
|
||||||
|
z-index: -1000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -825,13 +847,7 @@ SECTIONS
|
|||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.st-ad-section-long-post-end a,
|
|
||||||
.st-ad-section-long-post-end img,
|
|
||||||
.st-ad-section-long-post-end video {
|
|
||||||
width: 100%;
|
|
||||||
height: auto;
|
|
||||||
margin-bottom: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
============================
|
============================
|
||||||
|
Loading…
Reference in New Issue
Block a user