mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-04 14:22:06 +00:00
26190da566
Compile CSS using webpack GitOrigin-RevId: 489834038667dde572ea5d9b4b9392b362259a09
27 lines
No EOL
609 B
Text
27 lines
No EOL
609 B
Text
//
|
|
// Accessibility
|
|
// --------------------------------------------------
|
|
|
|
// For improving accessibility.
|
|
// If possible, add accessibiity styling to stylesheet where selector is
|
|
// defined. Otherwise, add here.
|
|
|
|
// <del> styling taken from:
|
|
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del#Accessibility_concerns
|
|
del::before,
|
|
del::after {
|
|
clip-path: inset(100%);
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
height: 1px;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
white-space: nowrap;
|
|
width: 1px;
|
|
}
|
|
del::before {
|
|
content: " [deletion start] ";
|
|
}
|
|
|
|
del::after {
|
|
content: " [deletion end] ";
|
|
} |