1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 11:34:21 +00:00
bluelib/dist/classic.root.css

182 lines
6.4 KiB
CSS
Raw Normal View History

2022-10-11 14:48:22 +00:00
/*
* Bluelib Classic
* by <me@steffo.eu>
*/
:where(body) {
2022-10-11 14:48:22 +00:00
--b-border-radius: 8px;
--b-outer-shadow: 2px 2px 4px hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
2022-10-11 14:48:22 +00:00
}
:where(body),
:where(body) * {
2022-10-11 14:48:22 +00:00
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.15);
}
:where(body) h1,
:where(body) h2,
:where(body) h3,
:where(body) h4,
:where(body) h5,
:where(body) h6 {
text-shadow: var(--b-outer-shadow);
2022-10-11 14:48:22 +00:00
}
:where(body) .panel h1,
:where(body) .panel h2,
:where(body) .panel h3,
:where(body) .panel h4,
:where(body) .panel h5,
:where(body) .panel h6 {
2022-10-11 14:48:22 +00:00
text-shadow: none;
}
:where(body) .panel,
:where(body) table.panel > caption {
2022-10-11 14:48:22 +00:00
border-radius: var(--b-border-radius);
box-shadow: var(--b-outer-shadow);
2022-10-11 14:48:22 +00:00
}
:where(body) .panel .panel,
:where(body) table.panel > caption .panel {
2022-10-12 13:41:04 +00:00
background-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.075);
2022-10-11 14:48:22 +00:00
backdrop-filter: none;
box-shadow: none;
}
:where(body) .mark,
:where(body) mark,
:where(body) .panel.mark {
2022-10-11 14:48:22 +00:00
background-color: hsl(var(--bhsl-mark-background-hue) var(--bhsl-mark-background-saturation) var(--bhsl-mark-background-lightness));
}
:where(body) .mark .mark,
:where(body) mark .mark,
:where(body) .panel.mark .mark,
:where(body) .mark mark,
:where(body) mark mark,
:where(body) .panel.mark mark,
:where(body) .mark .panel.mark,
:where(body) mark .panel.mark,
:where(body) .panel.mark .panel.mark {
2022-10-11 14:48:22 +00:00
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
}
:where(body) .mark .mark .mark,
:where(body) mark .mark .mark,
:where(body) .panel.mark .mark .mark,
:where(body) .mark mark .mark,
:where(body) mark mark .mark,
:where(body) .panel.mark mark .mark,
:where(body) .mark .panel.mark .mark,
:where(body) mark .panel.mark .mark,
:where(body) .panel.mark .panel.mark .mark,
:where(body) .mark .mark mark,
:where(body) mark .mark mark,
:where(body) .panel.mark .mark mark,
:where(body) .mark mark mark,
:where(body) mark mark mark,
:where(body) .panel.mark mark mark,
:where(body) .mark .panel.mark mark,
:where(body) mark .panel.mark mark,
:where(body) .panel.mark .panel.mark mark,
:where(body) .mark .mark .panel.mark,
:where(body) mark .mark .panel.mark,
:where(body) .panel.mark .mark .panel.mark,
:where(body) .mark mark .panel.mark,
:where(body) mark mark .panel.mark,
:where(body) .panel.mark mark .panel.mark,
:where(body) .mark .panel.mark .panel.mark,
:where(body) mark .panel.mark .panel.mark,
:where(body) .panel.mark .panel.mark .panel.mark {
2022-10-11 14:48:22 +00:00
background-color: hsl(var(--bhsl-mark-background-hue) var(--bhsl-mark-background-saturation) var(--bhsl-mark-background-lightness));
}
:where(body) .todo,
:where(body) .panel.todo {
2022-10-11 14:48:22 +00:00
background-color: hsl(var(--bhsl-todo-background-hue) var(--bhsl-todo-background-saturation) var(--bhsl-todo-background-lightness));
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
}
:where(body) .todo .panel,
:where(body) .panel.todo .panel {
2022-10-11 14:48:22 +00:00
background-color: hsl(var(--bhsl-todo-background-hue) var(--bhsl-todo-background-saturation) var(--bhsl-todo-background-lightness));
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
}
:where(body) table.panel {
2022-10-11 14:48:22 +00:00
border-radius: 0;
}
:where(body) table.panel > caption {
2022-10-11 14:48:22 +00:00
border-radius: 0;
box-shadow: var(--b-outer-shadow);
2022-10-11 14:48:22 +00:00
}
:where(body) table.dialog > caption {
2022-10-11 14:48:22 +00:00
border-bottom-width: 2px;
}
:where(body) input,
:where(body) textarea,
:where(body) select,
:where(body) button {
2022-10-11 14:48:22 +00:00
background-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.025);
}
:where(body) input:hover,
:where(body) textarea:hover,
:where(body) select:hover,
:where(body) button:hover {
2022-10-11 14:48:22 +00:00
background-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.05);
}
:where(body) input:active,
:where(body) textarea:active,
:where(body) select:active,
:where(body) button:active {
2022-10-11 14:48:22 +00:00
background-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.075);
}
:where(body) input[type="text"],
:where(body) input[type="password"],
:where(body) input[type="email"],
:where(body) input[type="number"],
:where(body) input[type="search"],
:where(body) input[type="tel"],
:where(body) input[type="datetime-local"],
:where(body) input[type="date"],
:where(body) input[type="time"],
:where(body) select:not([multiple]) {
2022-10-11 14:48:22 +00:00
border-radius: var(--b-border-radius) var(--b-border-radius) 0 0;
}
:where(body) textarea,
:where(body) select[multiple] {
2022-10-11 14:48:22 +00:00
border-radius: 0 var(--b-border-radius) var(--b-border-radius) 0;
}
:where(body) input[type="button"],
:where(body) button {
2022-10-11 14:48:22 +00:00
border-radius: var(--b-border-radius);
}
:where(body) ul > *::marker,
:where(body) ol > *::marker {
2022-10-11 14:48:22 +00:00
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.5);
}
:where(body) summary {
2022-10-11 14:48:22 +00:00
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
}
:where(body) summary::marker {
2022-10-11 14:48:22 +00:00
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.5);
}
:where(body) summary:hover {
2022-10-11 14:48:22 +00:00
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
}
:where(body) summary:hover::marker {
2022-10-11 14:48:22 +00:00
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
}
:where(body) summary:active::marker {
2022-10-11 14:48:22 +00:00
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
}
:where(body) a:hover {
2022-10-11 14:48:22 +00:00
color: hsl(calc(var(--bhsl-link-hue) + 0deg) calc(var(--bhsl-link-saturation) + 0%) calc(var(--bhsl-link-lightness) + 20%) / 1);
}
:where(body) a:active {
2022-10-11 14:48:22 +00:00
color: hsl(calc(var(--bhsl-link-hue) + 0deg) calc(var(--bhsl-link-saturation) + 0%) calc(var(--bhsl-link-lightness) + 40%) / 1);
}
:where(body) kbd,
:where(body) samp {
2022-10-11 14:48:22 +00:00
border-radius: calc(var(--b-border-radius) / 4);
}
:where(body) var {
2022-10-11 14:48:22 +00:00
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
}
:where(body) q::before,
:where(body) q::after {
2022-10-11 14:48:22 +00:00
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
}
:where(body) rt {
2022-10-11 14:48:22 +00:00
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
}