I forgot that Jekyll and SCSS are very outdated at this point.

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2024-05-16 12:25:01 +02:00
parent ae4921fbb9
commit 1d4ff95891
+14 -14
View File
@@ -8,9 +8,9 @@ alert.block {
padding-left: 4em; padding-left: 4em;
min-height: 4em; min-height: 4em;
border: 2px solid hsl($theme-hue 30% 40%); border: 2px solid hsl($theme-hue, 30%, 40%);
border-radius: 0.2rem; border-radius: 0.2rem;
background: hsl($theme-hue 20% 30%); background: hsl($theme-hue, 20%, 30%);
box-shadow: 0px 0px 2px 2px rgb(0, 0, 0); box-shadow: 0px 0px 2px 2px rgb(0, 0, 0);
overflow: hidden; overflow: hidden;
} }
@@ -38,48 +38,48 @@ alert::before {
} }
alert.block[data-type*="good"] { alert.block[data-type*="good"] {
border-color: oklch(75.52% 0.1158 150.35); border-color: oklch(75.52%, 0.1158, 150.35);
background: oklch(54.45% 0.1158 150.35); background: oklch(54.45%, 0.1158, 150.35);
} }
alert[data-type*="good"]::before { alert[data-type*="good"]::before {
content: "👍"; content: "👍";
} }
alert.block[data-type*="bad"] { alert.block[data-type*="bad"] {
border-color: oklch(62.8% 0.2568 29.234); border-color: oklch(62.8%, 0.2568, 29.234);
background: oklch(52.37% 0.1576 29.234); background: oklch(52.37%, 0.1576, 29.234);
} }
alert[data-type*="bad"]::before { alert[data-type*="bad"]::before {
content: "👎"; content: "👎";
} }
alert.block[data-type*="hint"] { alert.block[data-type*="hint"] {
border-color: oklch(69.41% 0.138 238.24); border-color: oklch(69.41%, 0.138, 238.24);
background: oklch(49.11% 0.0785 238.24); background: oklch(49.11%, 0.0785, 238.24);
} }
alert[data-type*="hint"]::before { alert[data-type*="hint"]::before {
content: ""; content: "";
} }
alert.block[data-type*="notice"] { alert.block[data-type*="notice"] {
border-color: oklch(69.41% 0.138 238.24); border-color: oklch(69.41%, 0.138, 238.24);
background: oklch(49.11% 0.0785 238.24); background: oklch(49.11%, 0.0785, 238.24);
} }
alert[data-type*="notice"]::before { alert[data-type*="notice"]::before {
content: "🔍"; content: "🔍";
} }
alert.block[data-type*="warning"] { alert.block[data-type*="warning"] {
border-color: oklch(71.76% 0.187 49.76); border-color: oklch(71.76%, 0.187, 49.76);
background: oklch(52.65% 0.113 49.76); background: oklch(52.65%, 0.113, 49.76);
} }
alert[data-type*="warning"]::before { alert[data-type*="warning"]::before {
content: ""; content: "";
} }
alert.block[data-type*="error"] { alert.block[data-type*="error"] {
border-color: oklch(62.8% 0.2568 29.234); border-color: oklch(62.8%, 0.2568, 29.234);
background: oklch(52.37% 0.1576 29.234); background: oklch(52.37%, 0.1576, 29.234);
} }
alert[data-type*="error"]::before { alert[data-type*="error"]::before {
content: ""; content: "";