Update code

This commit is contained in:
UltraLionFr
2025-08-20 14:14:33 +02:00
parent 174cf5ef60
commit 0c1a0d74d7
53 changed files with 3830 additions and 373 deletions
+18 -38
View File
@@ -1,42 +1,22 @@
:root {
--background: #ffffff;
--foreground: #171717;
@import "tailwindcss";
.hljs,
code[class*="language-"],
pre[class*="language-"] {
background: transparent !important;
}
@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
}
html,
body {
max-width: 100vw;
overflow-x: hidden;
}
body {
color: var(--foreground);
background: var(--background);
font-family: Arial, Helvetica, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
a {
color: inherit;
text-decoration: none;
}
@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
/* ➡️ Hors du @layer */
code[class*="language-"],
pre[class*="language-"] {
white-space: pre-wrap !important;
word-break: break-word !important;
}
@layer utilities {
.neon-border {
box-shadow:
0 0 0 1.5px oklch(0.65 0.2 250 / 0.5),
0 0 10px oklch(0.65 0.2 250 / 0.2);
}
}