10,120
edits
Jules Carry (talk | contribs) m (Tweaks.) |
(Del and Ins for LJ.) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 51: | Line 51: | ||
code, pre, samp, kbd, tt, .example-mono, .userlinks-username, .monospaced, .keyboard-key, .button, .plaincode { | code, pre, samp, kbd, tt, .example-mono, .userlinks-username, .monospaced, .keyboard-key, .button, .plaincode { | ||
font-family: "Overpass Mono", monospace !important; | font-family: "Overpass Mono", monospace !important; | ||
} | |||
/* Added <del> and <ins> formatting for Lipton's Journal */ | |||
:root { | |||
--del-color: #ff92bf; | |||
--ins-color: #ddff92; | |||
} | |||
del { | |||
--color: var(--del-color, red); | |||
text-decoration: none; | |||
padding: 0 .5em; | |||
background-repeat: no-repeat; | |||
background-image: | |||
linear-gradient(to left, rgba(255, 255, 255, .5), transparent), | |||
linear-gradient(2deg, var(--color) 50%, transparent 50%), | |||
linear-gradient(-.9deg, var(--color) 50%, transparent 50%), | |||
linear-gradient(-60deg, var(--color) 50%, transparent 50%), | |||
linear-gradient(120deg, var(--color) 50%, transparent 50%); | |||
background-size: | |||
30% 1.5px, | |||
calc(100% - 20px) 10px, | |||
calc(100% - 20px) 10px, | |||
10px 10px, | |||
8px 8px; | |||
background-position: | |||
100% calc(50% + 2px), | |||
center center, | |||
center center, | |||
2px 50%, | |||
calc(100% - 3px) calc(50% + 1px); | |||
} | |||
ins { | |||
background: var(--ins-color, green); | |||
text-decoration: none; | |||
} | } | ||