mirror of
git://f0xx.org/ac/ac-platform-web
synced 2026-08-09 20:59:36 +03:00
FOR SALE ribbon: single continuous strip behind letters.
Remove outer center borders; one ::before band spans letter area and extensions so text sits on ribbon, not a separate box. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2517,36 +2517,35 @@ button.report-tag--filter:hover {
|
||||
display: block;
|
||||
position: relative;
|
||||
background: transparent;
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
border-left: 2px solid #c00;
|
||||
border-right: 2px solid #c00;
|
||||
box-shadow: inset 3px 0 0 0 #c00, inset -3px 0 0 0 #c00;
|
||||
padding: 1px;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
padding: 0;
|
||||
overflow: visible;
|
||||
}
|
||||
/* Extend band both ways from letter block — layout box unchanged, center stays put. */
|
||||
.platform-for-sale-badge__outer::before,
|
||||
.platform-for-sale-badge__outer::after {
|
||||
/* One continuous strip (incl. letter area) — no separate bordered center box. */
|
||||
.platform-for-sale-badge__outer::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 100vmax;
|
||||
top: 50%;
|
||||
height: 200vmax;
|
||||
transform: translateY(-50%);
|
||||
background: #fff;
|
||||
border-left: 2px solid #c00;
|
||||
border-right: 2px solid #c00;
|
||||
box-shadow: inset 3px 0 0 0 #c00, inset -3px 0 0 0 #c00;
|
||||
pointer-events: none;
|
||||
}
|
||||
.platform-for-sale-badge__outer::before {
|
||||
bottom: 100%;
|
||||
z-index: 0;
|
||||
}
|
||||
.platform-for-sale-badge__outer::after {
|
||||
top: 100%;
|
||||
content: none;
|
||||
display: none;
|
||||
}
|
||||
.platform-for-sale-badge__inner {
|
||||
display: block;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
background: transparent;
|
||||
border: none;
|
||||
/* padding-inline = strip height when band runs horizontally (2×). */
|
||||
|
||||
Reference in New Issue
Block a user