User:Kofirs2634/global.css

/* WhileYouWereAway */ .wywa-mark { border-bottom: 3px var(--theme-accent-color) solid; position: relative; } .wywa-submark { display: none; height: 3px; background: var(--theme-accent-color); } .wywa-mark:after, .wywa-submark:after { content: 'Новые правки'; color: #FFF; background: var(--theme-accent-color); padding-inline-start: 1em; padding-inline-end: 0.5em; position: absolute; } .wywa-mark:after { top: 1px; right: 0; transform: translate(0, -50%); } .wywa-submark:after { transform: translate(-3px, calc(-50% + 2px)) } [dir="ltr"] .wywa-mark:after, [dir="ltr"] .wywa-submark:after { clip-path: polygon(1em 0, 100% 0, 100% 100%, 1em 100%, 0 50%) } [dir="rtl"] .wywa-mark:after, [dir="rtl"] .wywa-submark:after { clip-path: polygon(0 0, calc(100% - 1em) 0, 100% 50%, calc(100% - 1em) 100%, 0 100%) }