mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 19:06:49 -04:00
Nudge the placeholder ribbon left 2px, past the border
This commit is contained in:
parent
7df973bea2
commit
4b0c38ae97
1 changed files with 9 additions and 0 deletions
|
@ -3278,6 +3278,15 @@ ol.ebooks-list > li[property="schema:hasPart"][value].ribbon a::after{
|
||||||
top: calc(.25rem + 3px + 2rem + 4px);
|
top: calc(.25rem + 3px + 2rem + 4px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ol.ebooks-list > li.ribbon .placeholder-cover::before, /* Ribbon */
|
||||||
|
ol.ebooks-list > li.ribbon .placeholder-cover::after{ /* Ribbon bottom wrap-around */
|
||||||
|
left: calc(-.5rem - 2px); /* Subtract 2px from the rules above to account for the placeholder's border. */
|
||||||
|
}
|
||||||
|
|
||||||
|
ol.ebooks-list > li.ribbon a:has(.placeholder-cover)::after { /* Ribbon shadow */
|
||||||
|
left: calc(-.5rem + 2px); /* Subtract 2px from the rule above (-.5rem + 4px) to account for the placeholder's border. */
|
||||||
|
}
|
||||||
|
|
||||||
ol.ebooks-list > li.ribbon.wanted .placeholder-cover::before,
|
ol.ebooks-list > li.ribbon.wanted .placeholder-cover::before,
|
||||||
ol.ebooks-list > li.ribbon.wanted .placeholder-cover::after{
|
ol.ebooks-list > li.ribbon.wanted .placeholder-cover::after{
|
||||||
background: #383760;
|
background: #383760;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue