also text stroke acab
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending approval

This commit is contained in:
Mylloon 2024-05-30 09:58:58 +02:00
parent 2efe4ce47f
commit afb1e72adf
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -13,6 +13,8 @@ window.addEventListener("load", () => {
color: transparent; color: transparent;
`; `;
const text_stroke = "-webkit-text-stroke: 0.2px var(--font-color);";
const tags = [ const tags = [
new Tag("Comment ça marche un PC 😵‍💫"), new Tag("Comment ça marche un PC 😵‍💫"),
new Tag("Idiot certifié"), new Tag("Idiot certifié"),
@ -25,6 +27,7 @@ window.addEventListener("load", () => {
` `
background: linear-gradient(to bottom right, red 0%, red 50%, black 50%); background: linear-gradient(to bottom right, red 0%, red 50%, black 50%);
${clipping_text} ${clipping_text}
${text_stroke}
` `
), ),
new Tag("Nul en CSS", "font-family: 'Comic Sans MS', cursive"), new Tag("Nul en CSS", "font-family: 'Comic Sans MS', cursive"),
@ -43,7 +46,7 @@ window.addEventListener("load", () => {
background: conic-gradient(at 30% 60%, transparent 230deg, red 0, red 310deg, transparent 0), background: conic-gradient(at 30% 60%, transparent 230deg, red 0, red 310deg, transparent 0),
linear-gradient(to bottom, black 45%, white 45%, white 67%, DarkGreen 67%); linear-gradient(to bottom, black 45%, white 45%, white 67%, DarkGreen 67%);
${clipping_text} ${clipping_text}
-webkit-text-stroke: 0.2px var(--font-color); ${text_stroke}
` `
), ),
]; ];