Drop CSS vendor prefixes and compat workarounds now obsolete in modern browsers (#4421)

This commit is contained in:
Keavon Chambers
2026-08-07 19:40:29 -07:00
committed by GitHub
parent c6e17a789b
commit e68735f98e
7 changed files with 0 additions and 41 deletions

View File

@@ -457,7 +457,6 @@ p {
margin: 0;
text-align: justify;
text-justify: inter-character; // Only supported in Firefox
-webkit-hyphens: auto;
hyphens: auto;
code {
@@ -566,7 +565,6 @@ code {
background: var(--color-fog);
padding: 0 4px;
overflow-wrap: anywhere;
-webkit-hyphens: none;
hyphens: none;
a & {

View File

@@ -46,26 +46,20 @@
top: 0;
z-index: -1;
// Torn edge mask
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-size: contain;
mask-size: contain;
&.left {
padding-left: 160px;
margin-left: -160px;
-webkit-mask-image: url("https://static.graphite.art/textures/torn-edge-left__2.png");
mask-image: url("https://static.graphite.art/textures/torn-edge-left__2.png");
-webkit-mask-position: top left;
mask-position: top left;
}
&.right {
padding-right: 160px;
margin-right: -160px;
-webkit-mask-image: url("https://static.graphite.art/textures/torn-edge-right__2.png");
mask-image: url("https://static.graphite.art/textures/torn-edge-right__2.png");
-webkit-mask-position: top right;
mask-position: top right;
}
}

View File

@@ -98,7 +98,6 @@
gap: 20px;
text-align: justify;
text-justify: inter-character; // Only supported in Firefox
-webkit-hyphens: auto;
hyphens: auto;
overflow: hidden;
text-overflow: ellipsis;

View File

@@ -440,7 +440,6 @@
gap: 20px;
text-align: justify;
text-justify: inter-character; // Only supported in Firefox
-webkit-hyphens: auto;
hyphens: auto;
overflow: hidden;
text-overflow: ellipsis;