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;
|
||||
left: 0;
|
||||
align-self: start;
|
||||
z-index: -1000;
|
||||
}
|
||||
}
|
||||
|
||||
@ -750,7 +751,26 @@ SECTIONS
|
||||
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) {
|
||||
.st-ad-section {
|
||||
@ -772,7 +792,9 @@ SECTIONS
|
||||
}
|
||||
|
||||
.st-ad-section-long-post-end {
|
||||
position: relative;
|
||||
grid-column: 1 / span 4 !important;
|
||||
z-index: -1000;
|
||||
}
|
||||
}
|
||||
|
||||
@ -825,13 +847,7 @@ SECTIONS
|
||||
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