1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-21 11:14:19 +00:00

Compile Bluelib 5.0.0 CSS

This commit is contained in:
Steffo 2022-10-11 14:48:22 +00:00 committed by GitHub
parent 26f63371cc
commit e1b61ce18f
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 2717 additions and 3 deletions

3
dist/.gitignore vendored
View file

@ -1,3 +0,0 @@
# TODO: Remove this before merging
*.css
*.css.map

779
dist/base.module.css vendored Normal file
View file

@ -0,0 +1,779 @@
/*
* Bluelib Base
* by <me@steffo.eu>
*/
.bluelib {
--bhsl-current-hue: var(--bhsl-foreground-hue);
--bhsl-current-saturation: var(--bhsl-foreground-saturation);
--bhsl-current-lightness: var(--bhsl-foreground-lightness);
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
width: 100%;
height: 100%;
margin: 0;
font-style: var(--bfont-text-style);
font-variant: var(--bfont-text-variant);
font-weight: var(--bfont-text-weight);
font-stretch: var(--bfont-text-stretch);
line-height: var(--bfont-text-height);
font-family: var(--bfont-text-family);
}
.bluelib,
.bluelib * {
margin: 0;
padding: 0;
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
border-width: 0;
border-style: solid;
scrollbar-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness)) hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
}
.bluelib,
.bluelib *,
.bluelib::before,
.bluelib *::before,
.bluelib::after,
.bluelib *::after {
box-sizing: border-box;
}
.bluelib:focus-visible,
.bluelib *:focus-visible {
outline-width: 4px;
outline-style: solid;
outline-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.3);
}
.bluelib .page-footer {
margin: 1rem 0;
text-align: center;
font-size: x-small;
}
.bluelib .float-top {
margin-bottom: auto;
}
.bluelib .float-right {
margin-left: auto;
}
.bluelib .float-bottom {
margin-top: auto;
}
.bluelib .float-left {
margin-right: auto;
}
.bluelib .float-hcenter {
margin-left: auto;
margin-right: auto;
}
.bluelib .float-vcenter {
margin-top: auto;
margin-bottom: auto;
}
.bluelib .header-1 {
font-size: 2.5em;
}
.bluelib .header-2 {
font-size: 1.75em;
}
.bluelib .header-1,
.bluelib .header-2,
.bluelib .header-3,
.bluelib .header-4,
.bluelib .header-5,
.bluelib .header-6 {
text-align: center;
--bhsl-current-hue: var(--bhsl-primary-hue);
--bhsl-current-saturation: var(--bhsl-primary-saturation);
--bhsl-current-lightness: var(--bhsl-primary-lightness);
font-style: var(--bfont-header-style);
font-variant: var(--bfont-header-variant);
font-weight: var(--bfont-header-weight);
font-stretch: var(--bfont-header-stretch);
line-height: var(--bfont-header-height);
font-family: var(--bfont-header-family);
}
.bluelib .panel {
padding-top: 0.5em;
padding-right: 0.5em;
padding-left: 0.5em;
padding-bottom: 0.5em;
border-width: 0;
border-style: solid;
width: 100%;
display: flex;
flex-direction: column;
gap: 8px;
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
}
.bluelib .panel.border-top,
.bluelib .panel.panel-box {
border-top-width: 2px;
padding-top: calc(0.5em - 2px);
}
.bluelib .panel.border-right,
.bluelib .panel.panel-box {
border-right-width: 2px;
padding-right: calc(0.5em - 2px);
}
.bluelib .panel.border-left,
.bluelib .panel.panel-box,
.bluelib .panel.panel-dialog {
border-left-width: 2px;
padding-left: calc(0.5em - 2px);
}
.bluelib .panel.border-bottom,
.bluelib .panel.panel-box {
border-bottom-width: 2px;
padding-bottom: calc(0.5em - 2px);
}
.bluelib .panel.panel-parenthesis {
font-size: smaller;
}
.bluelib .chapter-0,
.bluelib .chapter-1,
.bluelib .chapter-2,
.bluelib .chapter-3,
.bluelib .chapter-4,
.bluelib .chapter-5,
.bluelib .chapter-6,
.bluelib .chapter-7,
.bluelib .chapter-8,
.bluelib .chapter-9 {
display: flex;
flex-wrap: wrap;
flex-direction: row;
gap: 0.5em;
justify-content: stretch;
align-items: stretch;
margin: 0.5em;
}
.bluelib .chapter-0 > *,
.bluelib .chapter-1 > *,
.bluelib .chapter-2 > *,
.bluelib .chapter-3 > *,
.bluelib .chapter-4 > *,
.bluelib .chapter-5 > *,
.bluelib .chapter-6 > *,
.bluelib .chapter-7 > *,
.bluelib .chapter-8 > *,
.bluelib .chapter-9 > * {
flex-grow: 1;
flex-shrink: 0;
}
.bluelib .chapter-0 > .header-1,
.bluelib .chapter-1 > .header-1,
.bluelib .chapter-2 > .header-1,
.bluelib .chapter-3 > .header-1,
.bluelib .chapter-4 > .header-1,
.bluelib .chapter-5 > .header-1,
.bluelib .chapter-6 > .header-1,
.bluelib .chapter-7 > .header-1,
.bluelib .chapter-8 > .header-1,
.bluelib .chapter-9 > .header-1,
.bluelib .chapter-0 > .header-2,
.bluelib .chapter-1 > .header-2,
.bluelib .chapter-2 > .header-2,
.bluelib .chapter-3 > .header-2,
.bluelib .chapter-4 > .header-2,
.bluelib .chapter-5 > .header-2,
.bluelib .chapter-6 > .header-2,
.bluelib .chapter-7 > .header-2,
.bluelib .chapter-8 > .header-2,
.bluelib .chapter-9 > .header-2,
.bluelib .chapter-0 > .header-3,
.bluelib .chapter-1 > .header-3,
.bluelib .chapter-2 > .header-3,
.bluelib .chapter-3 > .header-3,
.bluelib .chapter-4 > .header-3,
.bluelib .chapter-5 > .header-3,
.bluelib .chapter-6 > .header-3,
.bluelib .chapter-7 > .header-3,
.bluelib .chapter-8 > .header-3,
.bluelib .chapter-9 > .header-3,
.bluelib .chapter-0 > .header-4,
.bluelib .chapter-1 > .header-4,
.bluelib .chapter-2 > .header-4,
.bluelib .chapter-3 > .header-4,
.bluelib .chapter-4 > .header-4,
.bluelib .chapter-5 > .header-4,
.bluelib .chapter-6 > .header-4,
.bluelib .chapter-7 > .header-4,
.bluelib .chapter-8 > .header-4,
.bluelib .chapter-9 > .header-4,
.bluelib .chapter-0 > .header-5,
.bluelib .chapter-1 > .header-5,
.bluelib .chapter-2 > .header-5,
.bluelib .chapter-3 > .header-5,
.bluelib .chapter-4 > .header-5,
.bluelib .chapter-5 > .header-5,
.bluelib .chapter-6 > .header-5,
.bluelib .chapter-7 > .header-5,
.bluelib .chapter-8 > .header-5,
.bluelib .chapter-9 > .header-5,
.bluelib .chapter-0 > .header-6,
.bluelib .chapter-1 > .header-6,
.bluelib .chapter-2 > .header-6,
.bluelib .chapter-3 > .header-6,
.bluelib .chapter-4 > .header-6,
.bluelib .chapter-5 > .header-6,
.bluelib .chapter-6 > .header-6,
.bluelib .chapter-7 > .header-6,
.bluelib .chapter-8 > .header-6,
.bluelib .chapter-9 > .header-6 {
flex-basis: 100%;
margin-top: 1.2em;
}
.bluelib .chapter-0 {
flex-wrap: nowrap;
}
.bluelib .chapter-0 > * {
flex-shrink: 1;
}
.bluelib .chapter-1 > * {
flex-basis: calc(100% / 2);
}
.bluelib .chapter-2 > * {
flex-basis: calc(100% / 3);
}
.bluelib .chapter-3 > * {
flex-basis: calc(100% / 4);
}
.bluelib .chapter-4 > * {
flex-basis: calc(100% / 5);
}
.bluelib .chapter-5 > * {
flex-basis: calc(100% / 6);
}
.bluelib .chapter-6 > * {
flex-basis: calc(100% / 7);
}
.bluelib .chapter-7 > * {
flex-basis: calc(100% / 8);
}
.bluelib .chapter-8 > * {
flex-basis: calc(100% / 9);
}
.bluelib .chapter-9 > * {
flex-basis: calc(100% / 10);
}
.bluelib .separator {
border-width: 1px;
border-style: dashed;
}
.bluelib .separator-light {
border-style: dotted;
}
.bluelib .separator-heavy {
border-style: solid;
}
.bluelib .image {
display: block;
max-width: 100%;
object-fit: contain;
}
.bluelib .image-limit-half {
max-height: max(28.2vw, 50vh);
}
.bluelib .image-limit-quarter {
max-height: max(14.1vw, 25vh);
}
.bluelib .table {
border-collapse: collapse;
}
.bluelib .table .table-head,
.bluelib .table .table-data {
padding: 3px 7px;
border-width: 1px;
}
.bluelib .table .table-caption {
border-width: 1px;
font-style: var(--bfont-caption-style);
font-variant: var(--bfont-caption-variant);
font-weight: var(--bfont-caption-weight);
font-stretch: var(--bfont-caption-stretch);
line-height: var(--bfont-caption-height);
font-family: var(--bfont-caption-family);
}
.bluelib .table .table-caption.table-caption-top {
caption-side: top;
border-bottom-width: 0;
}
.bluelib .table .table-caption.table-caption-bottom {
caption-side: bottom;
border-top-width: 0;
}
.bluelib .table.panel {
display: table;
}
.bluelib .table.panel .table-head,
.bluelib .table.panel .table-data {
padding: 8px;
}
.bluelib .table.panel .table-caption {
text-align: inherit;
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
padding: 8px;
}
.bluelib .table.panel .table-caption * {
margin-top: 8px;
margin-bottom: 8px;
}
.bluelib .table.panel .table-caption *:first-child {
margin-top: 0;
}
.bluelib .table.panel .table-caption *:last-child {
margin-bottom: 0;
}
.bluelib .table.panel-box .table-row {
border-width: 1px;
}
.bluelib .table.panel-box .table-head,
.bluelib .table.panel-box .table-data {
border-width: 1px;
padding: 7px;
}
.bluelib .table.panel-box .table-caption {
border-width: 2px;
padding: 6px;
}
.bluelib .table.panel-box .table-caption.table-caption-top {
border-bottom-width: 0;
}
.bluelib .table.panel-box .table-caption.table-caption-bottom {
border-top-width: 0;
}
.bluelib .table.panel-dialog .table-header > .table-row {
border-bottom-width: 1px;
}
.bluelib .table.panel-dialog .table-body > .table-row {
border-width: 0;
}
.bluelib .table.panel-dialog .table-footer > .table-row {
border-top-width: 1px;
}
.bluelib .table.panel-dialog .table-head,
.bluelib .table.panel-dialog .table-data {
border-width: 0 0 0 1px;
padding: 8px 8px 8px 7px;
}
.bluelib .table.panel-dialog .table-caption {
border-width: 0 0 0 2px;
padding: 8px 8px 8px 6px;
}
.bluelib .panel > .list-unordered,
.bluelib .panel > .list-ordered {
margin-left: 6ex;
}
.bluelib .glossary-term {
margin-top: 0.5em;
padding: 0.2em 0;
--bhsl-current-hue: var(--bhsl-primary-hue);
--bhsl-current-saturation: var(--bhsl-primary-saturation);
--bhsl-current-lightness: var(--bhsl-primary-lightness);
font-style: var(--bfont-term-style);
font-variant: var(--bfont-term-variant);
font-weight: var(--bfont-term-weight);
font-stretch: var(--bfont-term-stretch);
line-height: var(--bfont-term-height);
font-family: var(--bfont-term-family);
}
.bluelib .glossary-description {
margin-left: 4.5ex;
margin-bottom: 0.5em;
}
.bluelib .glossary-details {
margin-left: 4.5ex;
}
.bluelib .glossary-summary {
cursor: pointer;
margin-left: -4ex;
padding: 0.2em 0;
font-style: var(--bfont-summary-style);
font-variant: var(--bfont-summary-variant);
font-weight: var(--bfont-summary-weight);
font-stretch: var(--bfont-summary-stretch);
line-height: var(--bfont-summary-height);
font-family: var(--bfont-summary-family);
user-select: none;
}
.bluelib .modifier-fade {
opacity: 0.3;
}
.bluelib .modifier-mark,
.bluelib .element-mark {
font-style: var(--bfont-mark-style);
font-variant: var(--bfont-mark-variant);
font-weight: var(--bfont-mark-weight);
font-stretch: var(--bfont-mark-stretch);
line-height: var(--bfont-mark-height);
font-family: var(--bfont-mark-family);
background-color: hsl(var(--bhsl-mark-background-hue) var(--bhsl-mark-background-saturation) var(--bhsl-mark-background-lightness));
--bhsl-current-hue: var(--bhsl-mark-foreground-hue);
--bhsl-current-saturation: var(--bhsl-mark-foreground-saturation);
--bhsl-current-lightness: var(--bhsl-mark-foreground-lightness);
}
.bluelib .modifier-mark .modifier-mark,
.bluelib .element-mark .modifier-mark,
.bluelib .modifier-mark .element-mark,
.bluelib .element-mark .element-mark {
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
--bhsl-current-hue: var(--bhsl-foreground-hue);
--bhsl-current-saturation: var(--bhsl-foreground-saturation);
--bhsl-current-lightness: var(--bhsl-foreground-lightness);
}
.bluelib .modifier-mark .modifier-mark .modifier-mark,
.bluelib .element-mark .modifier-mark .modifier-mark,
.bluelib .modifier-mark .element-mark .modifier-mark,
.bluelib .element-mark .element-mark .modifier-mark,
.bluelib .modifier-mark .modifier-mark .element-mark,
.bluelib .element-mark .modifier-mark .element-mark,
.bluelib .modifier-mark .element-mark .element-mark,
.bluelib .element-mark .element-mark .element-mark {
background-color: hsl(var(--bhsl-mark-background-hue) var(--bhsl-mark-background-saturation) var(--bhsl-mark-background-lightness));
--bhsl-current-hue: var(--bhsl-mark-foreground-hue);
--bhsl-current-saturation: var(--bhsl-mark-foreground-saturation);
--bhsl-current-lightness: var(--bhsl-mark-foreground-lightness);
}
.bluelib .modifier-todo {
--bhsl-current-hue: var(--bhsl-todo-foreground-hue);
--bhsl-current-saturation: var(--bhsl-todo-foreground-saturation);
--bhsl-current-lightness: var(--bhsl-todo-foreground-lightness);
}
.bluelib .modifier-todo,
.bluelib .modifier-todo .panel {
border-style: dashed;
background-color: hsl(var(--bhsl-todo-background-hue) var(--bhsl-todo-background-saturation) var(--bhsl-todo-background-lightness));
}
.bluelib .modifier-red {
--bhsl-current-hue: var(--bhsl-red-hue);
--bhsl-current-saturation: var(--bhsl-red-saturation);
--bhsl-current-lightness: var(--bhsl-red-lightness);
}
.bluelib .modifier-yellow {
--bhsl-current-hue: var(--bhsl-yellow-hue);
--bhsl-current-saturation: var(--bhsl-yellow-saturation);
--bhsl-current-lightness: var(--bhsl-yellow-lightness);
}
.bluelib .modifier-green {
--bhsl-current-hue: var(--bhsl-green-hue);
--bhsl-current-saturation: var(--bhsl-green-saturation);
--bhsl-current-lightness: var(--bhsl-green-lightness);
}
.bluelib .modifier-cyan {
--bhsl-current-hue: var(--bhsl-cyan-hue);
--bhsl-current-saturation: var(--bhsl-cyan-saturation);
--bhsl-current-lightness: var(--bhsl-cyan-lightness);
}
.bluelib .modifier-blue {
--bhsl-current-hue: var(--bhsl-blue-hue);
--bhsl-current-saturation: var(--bhsl-blue-saturation);
--bhsl-current-lightness: var(--bhsl-blue-lightness);
}
.bluelib .modifier-magenta {
--bhsl-current-hue: var(--bhsl-magenta-hue);
--bhsl-current-saturation: var(--bhsl-magenta-saturation);
--bhsl-current-lightness: var(--bhsl-magenta-lightness);
}
.bluelib .input {
font: inherit;
cursor: pointer;
background-color: transparent;
padding: 0.125em 0.75ex;
vertical-align: middle;
border-width: 0;
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.4);
}
.bluelib .input::placeholder {
opacity: 1;
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.4);
}
.bluelib .input:hover {
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
}
.bluelib .input:hover::placeholder {
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
}
.bluelib .input:active,
.bluelib .input:focus {
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
}
.bluelib .input-area {
resize: vertical;
}
.bluelib .input-field,
.bluelib .input-select {
border-bottom-width: 2px;
}
.bluelib .input-area,
.bluelib .input-multiselect {
border-left-width: 2px;
}
.bluelib .input-field,
.bluelib .input-area {
cursor: text;
}
.bluelib .input-select,
.bluelib .input-multiselect {
cursor: vertical-text;
}
.bluelib .input-range {
cursor: ew-resize;
}
.bluelib .input-select optgroup,
.bluelib .input-multiselect optgroup {
padding-bottom: 0.25em;
font-style: var(--bfont-header-style);
font-variant: var(--bfont-header-variant);
font-weight: var(--bfont-header-weight);
font-stretch: var(--bfont-header-stretch);
line-height: var(--bfont-header-height);
font-family: var(--bfont-header-family);
}
.bluelib .input-select optgroup option,
.bluelib .input-multiselect optgroup option {
padding: 0.125em 0 0.125em 2ex;
}
.bluelib .input-select option,
.bluelib .input-multiselect option {
font-style: var(--bfont-text-style);
font-variant: var(--bfont-text-variant);
font-weight: var(--bfont-text-weight);
font-stretch: var(--bfont-text-stretch);
line-height: var(--bfont-text-height);
font-family: var(--bfont-text-family);
}
.bluelib .input-radio,
.bluelib .input-checkbox {
appearance: none;
cursor: pointer;
width: 1em;
height: 1em;
padding: 2px;
border-width: 2px;
display: inline-flex;
justify-content: center;
align-items: center;
}
.bluelib .input-radio::before,
.bluelib .input-checkbox::before {
display: block;
content: "";
width: 100%;
height: 100%;
}
.bluelib .input-radio:checked::before,
.bluelib .input-checkbox:checked::before {
background-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
}
.bluelib .input-radio {
border-radius: 100%;
}
.bluelib .input-radio::before {
border-radius: 100%;
}
.bluelib .input-range {
padding: 0;
/*
appearance: none;
&::-moz-range-thumb {
width: 0;
border-radius: 0;
border-style: outset;
border-color: .hsl-group(current)[@c];
border-width: 4px;
background-color: .hsl-group(primary)[@c];
}
&::-moz-range-track {
height: 0.125em;
background-color: .hsl-group(current)[@c];
}
&::-moz-range-progress {
height: 0.5em;
background-color: .hsl-group(current)[@c];
}
*/
}
.bluelib .input-button {
border-width: 2px;
border-style: outset;
}
.bluelib .input-button:active {
border-style: inset;
}
.bluelib .input-file,
.bluelib .input-color {
padding: 0;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
.bluelib .input-field::-webkit-calendar-picker-indicator {
filter: invert(calc(calc(var(--bhsl-current-lightness) - 50%) * 1000));
}
.bluelib .input-select optgroup,
.bluelib .input-select option {
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
}
.bluelib .input-select optgroup::before,
.bluelib .input-select option::before {
content: "";
}
}
.bluelib .form-flex {
display: flex;
flex-direction: column;
justify-content: stretch;
}
.bluelib .form-flex > .element-paragraph {
margin: 0.5em 0;
}
.bluelib .form-flex > .element-label {
display: flex;
gap: 1ex;
}
.bluelib .form-flex > .element-label > .element-span:first-child,
.bluelib .form-flex > .element-label > .element-span:last-child {
margin: auto 0;
flex-basis: 15%;
font-style: var(--bfont-label-style);
font-variant: var(--bfont-label-variant);
font-weight: var(--bfont-label-weight);
font-stretch: var(--bfont-label-stretch);
line-height: var(--bfont-label-height);
font-family: var(--bfont-label-family);
--bhsl-current-hue: var(--bhsl-primary-hue);
--bhsl-current-saturation: var(--bhsl-primary-saturation);
--bhsl-current-lightness: var(--bhsl-primary-lightness);
}
.bluelib .form-flex > .element-label > .element-span:first-child {
text-align: right;
}
.bluelib .form-flex > .element-label > .element-span:last-child {
text-align: left;
}
.bluelib .form-flex > .element-label > .input {
flex-grow: 1;
}
.bluelib .text-anchor {
--bhsl-current-hue: var(--bhsl-link-hue);
--bhsl-current-saturation: var(--bhsl-link-saturation);
--bhsl-current-lightness: var(--bhsl-link-lightness);
}
.bluelib .text-idiomatic {
font-style: var(--bfont-idiomatic-style);
font-variant: var(--bfont-idiomatic-variant);
font-weight: var(--bfont-idiomatic-weight);
font-stretch: var(--bfont-idiomatic-stretch);
line-height: var(--bfont-idiomatic-height);
font-family: var(--bfont-idiomatic-family);
}
.bluelib .text-emphasis {
font-style: var(--bfont-emphasis-style);
font-variant: var(--bfont-emphasis-variant);
font-weight: var(--bfont-emphasis-weight);
font-stretch: var(--bfont-emphasis-stretch);
line-height: var(--bfont-emphasis-height);
font-family: var(--bfont-emphasis-family);
}
.bluelib .text-attention {
font-style: var(--bfont-attention-style);
font-variant: var(--bfont-attention-variant);
font-weight: var(--bfont-attention-weight);
font-stretch: var(--bfont-attention-stretch);
line-height: var(--bfont-attention-height);
font-family: var(--bfont-attention-family);
}
.bluelib .text-strong {
font-style: var(--bfont-strong-style);
font-variant: var(--bfont-strong-variant);
font-weight: var(--bfont-strong-weight);
font-stretch: var(--bfont-strong-stretch);
line-height: var(--bfont-strong-height);
font-family: var(--bfont-strong-family);
}
.bluelib .text-inserted {
--bhsl-current-hue: var(--bhsl-inserted-hue);
--bhsl-current-saturation: var(--bhsl-inserted-saturation);
--bhsl-current-lightness: var(--bhsl-inserted-lightness);
}
.bluelib .text-deleted {
--bhsl-current-hue: var(--bhsl-deleted-hue);
--bhsl-current-saturation: var(--bhsl-deleted-saturation);
--bhsl-current-lightness: var(--bhsl-deleted-lightness);
}
.bluelib .text-code,
.bluelib .text-preformatted,
.bluelib .text-input,
.bluelib .text-output {
font-style: var(--bfont-code-style);
font-variant: var(--bfont-code-variant);
font-weight: var(--bfont-code-weight);
font-stretch: var(--bfont-code-stretch);
line-height: var(--bfont-code-height);
font-family: var(--bfont-code-family);
}
.bluelib .text-preformatted {
overflow-x: scroll;
}
.bluelib .text-input,
.bluelib .text-output {
padding: 0 0.25ex;
}
.bluelib .text-input {
background-color: hsl(var(--bhsl-sample-output-hue) var(--bhsl-sample-output-saturation) var(--bhsl-sample-output-lightness));
--bhsl-current-hue: var(--bhsl-sample-input-hue);
--bhsl-current-saturation: var(--bhsl-sample-input-saturation);
--bhsl-current-lightness: var(--bhsl-sample-input-lightness);
}
.bluelib .text-input .text-input {
font-style: var(--bfont-boldcode-style);
font-variant: var(--bfont-boldcode-variant);
font-weight: var(--bfont-boldcode-weight);
font-stretch: var(--bfont-boldcode-stretch);
line-height: var(--bfont-boldcode-height);
font-family: var(--bfont-boldcode-family);
}
.bluelib .text-output {
background-color: hsl(var(--bhsl-sample-input-hue) var(--bhsl-sample-input-saturation) var(--bhsl-sample-input-lightness));
--bhsl-current-hue: var(--bhsl-sample-output-hue);
--bhsl-current-saturation: var(--bhsl-sample-output-saturation);
--bhsl-current-lightness: var(--bhsl-sample-output-lightness);
}
.bluelib .text-output .text-output {
font-style: var(--bfont-boldcode-style);
font-variant: var(--bfont-boldcode-variant);
font-weight: var(--bfont-boldcode-weight);
font-stretch: var(--bfont-boldcode-stretch);
line-height: var(--bfont-boldcode-height);
font-family: var(--bfont-boldcode-family);
}
.bluelib .text-variable {
font-style: var(--bfont-variable-style);
font-variant: var(--bfont-variable-variant);
font-weight: var(--bfont-variable-weight);
font-stretch: var(--bfont-variable-stretch);
line-height: var(--bfont-variable-height);
font-family: var(--bfont-variable-family);
}
.bluelib .text-citation {
font-style: var(--bfont-citation-style);
font-variant: var(--bfont-citation-variant);
font-weight: var(--bfont-citation-weight);
font-stretch: var(--bfont-citation-stretch);
line-height: var(--bfont-citation-height);
font-family: var(--bfont-citation-family);
}
.bluelib .text-definition {
font-style: var(--bfont-term-style);
font-variant: var(--bfont-term-variant);
font-weight: var(--bfont-term-weight);
font-stretch: var(--bfont-term-stretch);
line-height: var(--bfont-term-height);
font-family: var(--bfont-term-family);
--bhsl-current-hue: var(--bhsl-primary-hue);
--bhsl-current-saturation: var(--bhsl-primary-saturation);
--bhsl-current-lightness: var(--bhsl-primary-lightness);
}
.bluelib .text-abbreviation {
cursor: help;
}

826
dist/base.root.css vendored Normal file
View file

@ -0,0 +1,826 @@
/*
* Bluelib Base
* by <me@steffo.eu>
*/
body {
--bhsl-current-hue: var(--bhsl-foreground-hue);
--bhsl-current-saturation: var(--bhsl-foreground-saturation);
--bhsl-current-lightness: var(--bhsl-foreground-lightness);
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
width: 100%;
height: 100%;
margin: 0;
font-style: var(--bfont-text-style);
font-variant: var(--bfont-text-variant);
font-weight: var(--bfont-text-weight);
font-stretch: var(--bfont-text-stretch);
line-height: var(--bfont-text-height);
font-family: var(--bfont-text-family);
}
body,
body * {
margin: 0;
padding: 0;
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
border-width: 0;
border-style: solid;
scrollbar-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness)) hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
}
body,
body *,
body::before,
body *::before,
body::after,
body *::after {
box-sizing: border-box;
}
body:focus-visible,
body *:focus-visible {
outline-width: 4px;
outline-style: solid;
outline-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.3);
}
body footer {
margin: 1rem 0;
text-align: center;
font-size: x-small;
}
body .float-top {
margin-bottom: auto;
}
body .float-right {
margin-left: auto;
}
body .float-bottom {
margin-top: auto;
}
body .float-left {
margin-right: auto;
}
body .float-hcenter {
margin-left: auto;
margin-right: auto;
}
body .float-vcenter {
margin-top: auto;
margin-bottom: auto;
}
body h1 {
font-size: 2.5em;
}
body h2 {
font-size: 1.75em;
}
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
text-align: center;
--bhsl-current-hue: var(--bhsl-primary-hue);
--bhsl-current-saturation: var(--bhsl-primary-saturation);
--bhsl-current-lightness: var(--bhsl-primary-lightness);
font-style: var(--bfont-header-style);
font-variant: var(--bfont-header-variant);
font-weight: var(--bfont-header-weight);
font-stretch: var(--bfont-header-stretch);
line-height: var(--bfont-header-height);
font-family: var(--bfont-header-family);
}
body .panel {
padding-top: 0.5em;
padding-right: 0.5em;
padding-left: 0.5em;
padding-bottom: 0.5em;
border-width: 0;
border-style: solid;
width: 100%;
display: flex;
flex-direction: column;
gap: 8px;
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
}
body .panel.border-top,
body .panel.panel-box {
border-top-width: 2px;
padding-top: calc(0.5em - 2px);
}
body .panel.border-right,
body .panel.panel-box {
border-right-width: 2px;
padding-right: calc(0.5em - 2px);
}
body .panel.border-left,
body .panel.panel-box,
body .panel.panel-dialog {
border-left-width: 2px;
padding-left: calc(0.5em - 2px);
}
body .panel.border-bottom,
body .panel.panel-box {
border-bottom-width: 2px;
padding-bottom: calc(0.5em - 2px);
}
body .panel.panel-parenthesis {
font-size: smaller;
}
body .chapter-0,
body .chapter-1,
body .chapter-2,
body .chapter-3,
body .chapter-4,
body .chapter-5,
body .chapter-6,
body .chapter-7,
body .chapter-8,
body .chapter-9 {
display: flex;
flex-wrap: wrap;
flex-direction: row;
gap: 0.5em;
justify-content: stretch;
align-items: stretch;
margin: 0.5em;
}
body .chapter-0 > *,
body .chapter-1 > *,
body .chapter-2 > *,
body .chapter-3 > *,
body .chapter-4 > *,
body .chapter-5 > *,
body .chapter-6 > *,
body .chapter-7 > *,
body .chapter-8 > *,
body .chapter-9 > * {
flex-grow: 1;
flex-shrink: 0;
}
body .chapter-0 > h1,
body .chapter-1 > h1,
body .chapter-2 > h1,
body .chapter-3 > h1,
body .chapter-4 > h1,
body .chapter-5 > h1,
body .chapter-6 > h1,
body .chapter-7 > h1,
body .chapter-8 > h1,
body .chapter-9 > h1,
body .chapter-0 > h2,
body .chapter-1 > h2,
body .chapter-2 > h2,
body .chapter-3 > h2,
body .chapter-4 > h2,
body .chapter-5 > h2,
body .chapter-6 > h2,
body .chapter-7 > h2,
body .chapter-8 > h2,
body .chapter-9 > h2,
body .chapter-0 > h3,
body .chapter-1 > h3,
body .chapter-2 > h3,
body .chapter-3 > h3,
body .chapter-4 > h3,
body .chapter-5 > h3,
body .chapter-6 > h3,
body .chapter-7 > h3,
body .chapter-8 > h3,
body .chapter-9 > h3,
body .chapter-0 > h4,
body .chapter-1 > h4,
body .chapter-2 > h4,
body .chapter-3 > h4,
body .chapter-4 > h4,
body .chapter-5 > h4,
body .chapter-6 > h4,
body .chapter-7 > h4,
body .chapter-8 > h4,
body .chapter-9 > h4,
body .chapter-0 > h5,
body .chapter-1 > h5,
body .chapter-2 > h5,
body .chapter-3 > h5,
body .chapter-4 > h5,
body .chapter-5 > h5,
body .chapter-6 > h5,
body .chapter-7 > h5,
body .chapter-8 > h5,
body .chapter-9 > h5,
body .chapter-0 > h6,
body .chapter-1 > h6,
body .chapter-2 > h6,
body .chapter-3 > h6,
body .chapter-4 > h6,
body .chapter-5 > h6,
body .chapter-6 > h6,
body .chapter-7 > h6,
body .chapter-8 > h6,
body .chapter-9 > h6 {
flex-basis: 100%;
margin-top: 1.2em;
}
body .chapter-0 {
flex-wrap: nowrap;
}
body .chapter-0 > * {
flex-shrink: 1;
}
body .chapter-1 > * {
flex-basis: calc(100% / 2);
}
body .chapter-2 > * {
flex-basis: calc(100% / 3);
}
body .chapter-3 > * {
flex-basis: calc(100% / 4);
}
body .chapter-4 > * {
flex-basis: calc(100% / 5);
}
body .chapter-5 > * {
flex-basis: calc(100% / 6);
}
body .chapter-6 > * {
flex-basis: calc(100% / 7);
}
body .chapter-7 > * {
flex-basis: calc(100% / 8);
}
body .chapter-8 > * {
flex-basis: calc(100% / 9);
}
body .chapter-9 > * {
flex-basis: calc(100% / 10);
}
body hr {
border-width: 1px;
border-style: dashed;
}
body .separator-light {
border-style: dotted;
}
body .separator-heavy {
border-style: solid;
}
body img {
display: block;
max-width: 100%;
object-fit: contain;
}
body .image-limit-half {
max-height: max(28.2vw, 50vh);
}
body .image-limit-quarter {
max-height: max(14.1vw, 25vh);
}
body table {
border-collapse: collapse;
}
body table th,
body table td {
padding: 3px 7px;
border-width: 1px;
}
body table caption {
border-width: 1px;
font-style: var(--bfont-caption-style);
font-variant: var(--bfont-caption-variant);
font-weight: var(--bfont-caption-weight);
font-stretch: var(--bfont-caption-stretch);
line-height: var(--bfont-caption-height);
font-family: var(--bfont-caption-family);
}
body table caption.table-caption-top {
caption-side: top;
border-bottom-width: 0;
}
body table caption.table-caption-bottom {
caption-side: bottom;
border-top-width: 0;
}
body table.panel {
display: table;
}
body table.panel th,
body table.panel td {
padding: 8px;
}
body table.panel caption {
text-align: inherit;
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
padding: 8px;
}
body table.panel caption * {
margin-top: 8px;
margin-bottom: 8px;
}
body table.panel caption *:first-child {
margin-top: 0;
}
body table.panel caption *:last-child {
margin-bottom: 0;
}
body table.panel-box tr {
border-width: 1px;
}
body table.panel-box th,
body table.panel-box td {
border-width: 1px;
padding: 7px;
}
body table.panel-box caption {
border-width: 2px;
padding: 6px;
}
body table.panel-box caption.table-caption-top {
border-bottom-width: 0;
}
body table.panel-box caption.table-caption-bottom {
border-top-width: 0;
}
body table.panel-dialog thead > tr {
border-bottom-width: 1px;
}
body table.panel-dialog tbody > tr {
border-width: 0;
}
body table.panel-dialog tfoot > tr {
border-top-width: 1px;
}
body table.panel-dialog th,
body table.panel-dialog td {
border-width: 0 0 0 1px;
padding: 8px 8px 8px 7px;
}
body table.panel-dialog caption {
border-width: 0 0 0 2px;
padding: 8px 8px 8px 6px;
}
body .panel > ul,
body .panel > ol {
margin-left: 6ex;
}
body dt {
margin-top: 0.5em;
padding: 0.2em 0;
--bhsl-current-hue: var(--bhsl-primary-hue);
--bhsl-current-saturation: var(--bhsl-primary-saturation);
--bhsl-current-lightness: var(--bhsl-primary-lightness);
font-style: var(--bfont-term-style);
font-variant: var(--bfont-term-variant);
font-weight: var(--bfont-term-weight);
font-stretch: var(--bfont-term-stretch);
line-height: var(--bfont-term-height);
font-family: var(--bfont-term-family);
}
body dd {
margin-left: 4.5ex;
margin-bottom: 0.5em;
}
body details {
margin-left: 4.5ex;
}
body summary {
cursor: pointer;
margin-left: -4ex;
padding: 0.2em 0;
font-style: var(--bfont-summary-style);
font-variant: var(--bfont-summary-variant);
font-weight: var(--bfont-summary-weight);
font-stretch: var(--bfont-summary-stretch);
line-height: var(--bfont-summary-height);
font-family: var(--bfont-summary-family);
user-select: none;
}
body .fade {
opacity: 0.3;
}
body .mark,
body mark {
font-style: var(--bfont-mark-style);
font-variant: var(--bfont-mark-variant);
font-weight: var(--bfont-mark-weight);
font-stretch: var(--bfont-mark-stretch);
line-height: var(--bfont-mark-height);
font-family: var(--bfont-mark-family);
background-color: hsl(var(--bhsl-mark-background-hue) var(--bhsl-mark-background-saturation) var(--bhsl-mark-background-lightness));
--bhsl-current-hue: var(--bhsl-mark-foreground-hue);
--bhsl-current-saturation: var(--bhsl-mark-foreground-saturation);
--bhsl-current-lightness: var(--bhsl-mark-foreground-lightness);
}
body .mark .mark,
body mark .mark,
body .mark mark,
body mark mark {
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
--bhsl-current-hue: var(--bhsl-foreground-hue);
--bhsl-current-saturation: var(--bhsl-foreground-saturation);
--bhsl-current-lightness: var(--bhsl-foreground-lightness);
}
body .mark .mark .mark,
body mark .mark .mark,
body .mark mark .mark,
body mark mark .mark,
body .mark .mark mark,
body mark .mark mark,
body .mark mark mark,
body mark mark mark {
background-color: hsl(var(--bhsl-mark-background-hue) var(--bhsl-mark-background-saturation) var(--bhsl-mark-background-lightness));
--bhsl-current-hue: var(--bhsl-mark-foreground-hue);
--bhsl-current-saturation: var(--bhsl-mark-foreground-saturation);
--bhsl-current-lightness: var(--bhsl-mark-foreground-lightness);
}
body .todo {
--bhsl-current-hue: var(--bhsl-todo-foreground-hue);
--bhsl-current-saturation: var(--bhsl-todo-foreground-saturation);
--bhsl-current-lightness: var(--bhsl-todo-foreground-lightness);
}
body .todo,
body .todo .panel {
border-style: dashed;
background-color: hsl(var(--bhsl-todo-background-hue) var(--bhsl-todo-background-saturation) var(--bhsl-todo-background-lightness));
}
body .red {
--bhsl-current-hue: var(--bhsl-red-hue);
--bhsl-current-saturation: var(--bhsl-red-saturation);
--bhsl-current-lightness: var(--bhsl-red-lightness);
}
body .yellow {
--bhsl-current-hue: var(--bhsl-yellow-hue);
--bhsl-current-saturation: var(--bhsl-yellow-saturation);
--bhsl-current-lightness: var(--bhsl-yellow-lightness);
}
body .green {
--bhsl-current-hue: var(--bhsl-green-hue);
--bhsl-current-saturation: var(--bhsl-green-saturation);
--bhsl-current-lightness: var(--bhsl-green-lightness);
}
body .cyan {
--bhsl-current-hue: var(--bhsl-cyan-hue);
--bhsl-current-saturation: var(--bhsl-cyan-saturation);
--bhsl-current-lightness: var(--bhsl-cyan-lightness);
}
body .blue {
--bhsl-current-hue: var(--bhsl-blue-hue);
--bhsl-current-saturation: var(--bhsl-blue-saturation);
--bhsl-current-lightness: var(--bhsl-blue-lightness);
}
body .magenta {
--bhsl-current-hue: var(--bhsl-magenta-hue);
--bhsl-current-saturation: var(--bhsl-magenta-saturation);
--bhsl-current-lightness: var(--bhsl-magenta-lightness);
}
body input,
body textarea,
body select,
body button {
font: inherit;
cursor: pointer;
background-color: transparent;
padding: 0.125em 0.75ex;
vertical-align: middle;
border-width: 0;
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.4);
}
body input::placeholder,
body textarea::placeholder,
body select::placeholder,
body button::placeholder {
opacity: 1;
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.4);
}
body input:hover,
body textarea:hover,
body select:hover,
body button:hover {
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
}
body input:hover::placeholder,
body textarea:hover::placeholder,
body select:hover::placeholder,
body button:hover::placeholder {
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
}
body input:active,
body textarea:active,
body select:active,
body button:active,
body input:focus,
body textarea:focus,
body select:focus,
body button:focus {
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
}
body textarea {
resize: vertical;
}
body input[type="text"],
body input[type="password"],
body input[type="email"],
body input[type="number"],
body input[type="search"],
body input[type="tel"],
body input[type="datetime-local"],
body input[type="date"],
body input[type="time"],
body select:not([multiple]) {
border-bottom-width: 2px;
}
body textarea,
body select[multiple] {
border-left-width: 2px;
}
body input[type="text"],
body input[type="password"],
body input[type="email"],
body input[type="number"],
body input[type="search"],
body input[type="tel"],
body input[type="datetime-local"],
body input[type="date"],
body input[type="time"],
body textarea {
cursor: text;
}
body select:not([multiple]),
body select[multiple] {
cursor: vertical-text;
}
body input[type="range"] {
cursor: ew-resize;
}
body select:not([multiple]) optgroup,
body select[multiple] optgroup {
padding-bottom: 0.25em;
font-style: var(--bfont-header-style);
font-variant: var(--bfont-header-variant);
font-weight: var(--bfont-header-weight);
font-stretch: var(--bfont-header-stretch);
line-height: var(--bfont-header-height);
font-family: var(--bfont-header-family);
}
body select:not([multiple]) optgroup option,
body select[multiple] optgroup option {
padding: 0.125em 0 0.125em 2ex;
}
body select:not([multiple]) option,
body select[multiple] option {
font-style: var(--bfont-text-style);
font-variant: var(--bfont-text-variant);
font-weight: var(--bfont-text-weight);
font-stretch: var(--bfont-text-stretch);
line-height: var(--bfont-text-height);
font-family: var(--bfont-text-family);
}
body input[type="radio"],
body input[type="checkbox"] {
appearance: none;
cursor: pointer;
width: 1em;
height: 1em;
padding: 2px;
border-width: 2px;
display: inline-flex;
justify-content: center;
align-items: center;
}
body input[type="radio"]::before,
body input[type="checkbox"]::before {
display: block;
content: "";
width: 100%;
height: 100%;
}
body input[type="radio"]:checked::before,
body input[type="checkbox"]:checked::before {
background-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
}
body input[type="radio"] {
border-radius: 100%;
}
body input[type="radio"]::before {
border-radius: 100%;
}
body input[type="range"] {
padding: 0;
/*
appearance: none;
&::-moz-range-thumb {
width: 0;
border-radius: 0;
border-style: outset;
border-color: .hsl-group(current)[@c];
border-width: 4px;
background-color: .hsl-group(primary)[@c];
}
&::-moz-range-track {
height: 0.125em;
background-color: .hsl-group(current)[@c];
}
&::-moz-range-progress {
height: 0.5em;
background-color: .hsl-group(current)[@c];
}
*/
}
body input[type="button"],
body button {
border-width: 2px;
border-style: outset;
}
body input[type="button"]:active,
body button:active {
border-style: inset;
}
body input[type="file"],
body input[type="color"] {
padding: 0;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
body input[type="text"]::-webkit-calendar-picker-indicator,
body input[type="password"]::-webkit-calendar-picker-indicator,
body input[type="email"]::-webkit-calendar-picker-indicator,
body input[type="number"]::-webkit-calendar-picker-indicator,
body input[type="search"]::-webkit-calendar-picker-indicator,
body input[type="tel"]::-webkit-calendar-picker-indicator,
body input[type="datetime-local"]::-webkit-calendar-picker-indicator,
body input[type="date"]::-webkit-calendar-picker-indicator,
body input[type="time"]::-webkit-calendar-picker-indicator {
filter: invert(calc(calc(var(--bhsl-current-lightness) - 50%) * 1000));
}
body select:not([multiple]) optgroup,
body select:not([multiple]) option {
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
}
body select:not([multiple]) optgroup::before,
body select:not([multiple]) option::before {
content: "";
}
}
body .form-flex {
display: flex;
flex-direction: column;
justify-content: stretch;
}
body .form-flex > p {
margin: 0.5em 0;
}
body .form-flex > label {
display: flex;
gap: 1ex;
}
body .form-flex > label > span:first-child,
body .form-flex > label > span:last-child {
margin: auto 0;
flex-basis: 15%;
font-style: var(--bfont-label-style);
font-variant: var(--bfont-label-variant);
font-weight: var(--bfont-label-weight);
font-stretch: var(--bfont-label-stretch);
line-height: var(--bfont-label-height);
font-family: var(--bfont-label-family);
--bhsl-current-hue: var(--bhsl-primary-hue);
--bhsl-current-saturation: var(--bhsl-primary-saturation);
--bhsl-current-lightness: var(--bhsl-primary-lightness);
}
body .form-flex > label > span:first-child {
text-align: right;
}
body .form-flex > label > span:last-child {
text-align: left;
}
body .form-flex > label > input,
body .form-flex > label textarea,
body .form-flex > label select,
body .form-flex > label button {
flex-grow: 1;
}
body a {
--bhsl-current-hue: var(--bhsl-link-hue);
--bhsl-current-saturation: var(--bhsl-link-saturation);
--bhsl-current-lightness: var(--bhsl-link-lightness);
}
body i {
font-style: var(--bfont-idiomatic-style);
font-variant: var(--bfont-idiomatic-variant);
font-weight: var(--bfont-idiomatic-weight);
font-stretch: var(--bfont-idiomatic-stretch);
line-height: var(--bfont-idiomatic-height);
font-family: var(--bfont-idiomatic-family);
}
body em {
font-style: var(--bfont-emphasis-style);
font-variant: var(--bfont-emphasis-variant);
font-weight: var(--bfont-emphasis-weight);
font-stretch: var(--bfont-emphasis-stretch);
line-height: var(--bfont-emphasis-height);
font-family: var(--bfont-emphasis-family);
}
body b {
font-style: var(--bfont-attention-style);
font-variant: var(--bfont-attention-variant);
font-weight: var(--bfont-attention-weight);
font-stretch: var(--bfont-attention-stretch);
line-height: var(--bfont-attention-height);
font-family: var(--bfont-attention-family);
}
body strong {
font-style: var(--bfont-strong-style);
font-variant: var(--bfont-strong-variant);
font-weight: var(--bfont-strong-weight);
font-stretch: var(--bfont-strong-stretch);
line-height: var(--bfont-strong-height);
font-family: var(--bfont-strong-family);
}
body ins {
--bhsl-current-hue: var(--bhsl-inserted-hue);
--bhsl-current-saturation: var(--bhsl-inserted-saturation);
--bhsl-current-lightness: var(--bhsl-inserted-lightness);
}
body del {
--bhsl-current-hue: var(--bhsl-deleted-hue);
--bhsl-current-saturation: var(--bhsl-deleted-saturation);
--bhsl-current-lightness: var(--bhsl-deleted-lightness);
}
body code,
body pre,
body kbd,
body samp {
font-style: var(--bfont-code-style);
font-variant: var(--bfont-code-variant);
font-weight: var(--bfont-code-weight);
font-stretch: var(--bfont-code-stretch);
line-height: var(--bfont-code-height);
font-family: var(--bfont-code-family);
}
body pre {
overflow-x: scroll;
}
body kbd,
body samp {
padding: 0 0.25ex;
}
body kbd {
background-color: hsl(var(--bhsl-sample-output-hue) var(--bhsl-sample-output-saturation) var(--bhsl-sample-output-lightness));
--bhsl-current-hue: var(--bhsl-sample-input-hue);
--bhsl-current-saturation: var(--bhsl-sample-input-saturation);
--bhsl-current-lightness: var(--bhsl-sample-input-lightness);
}
body kbd kbd {
font-style: var(--bfont-boldcode-style);
font-variant: var(--bfont-boldcode-variant);
font-weight: var(--bfont-boldcode-weight);
font-stretch: var(--bfont-boldcode-stretch);
line-height: var(--bfont-boldcode-height);
font-family: var(--bfont-boldcode-family);
}
body samp {
background-color: hsl(var(--bhsl-sample-input-hue) var(--bhsl-sample-input-saturation) var(--bhsl-sample-input-lightness));
--bhsl-current-hue: var(--bhsl-sample-output-hue);
--bhsl-current-saturation: var(--bhsl-sample-output-saturation);
--bhsl-current-lightness: var(--bhsl-sample-output-lightness);
}
body samp samp {
font-style: var(--bfont-boldcode-style);
font-variant: var(--bfont-boldcode-variant);
font-weight: var(--bfont-boldcode-weight);
font-stretch: var(--bfont-boldcode-stretch);
line-height: var(--bfont-boldcode-height);
font-family: var(--bfont-boldcode-family);
}
body var {
font-style: var(--bfont-variable-style);
font-variant: var(--bfont-variable-variant);
font-weight: var(--bfont-variable-weight);
font-stretch: var(--bfont-variable-stretch);
line-height: var(--bfont-variable-height);
font-family: var(--bfont-variable-family);
}
body cite {
font-style: var(--bfont-citation-style);
font-variant: var(--bfont-citation-variant);
font-weight: var(--bfont-citation-weight);
font-stretch: var(--bfont-citation-stretch);
line-height: var(--bfont-citation-height);
font-family: var(--bfont-citation-family);
}
body dfn {
font-style: var(--bfont-term-style);
font-variant: var(--bfont-term-variant);
font-weight: var(--bfont-term-weight);
font-stretch: var(--bfont-term-stretch);
line-height: var(--bfont-term-height);
font-family: var(--bfont-term-family);
--bhsl-current-hue: var(--bhsl-primary-hue);
--bhsl-current-saturation: var(--bhsl-primary-saturation);
--bhsl-current-lightness: var(--bhsl-primary-lightness);
}
body abbr {
cursor: help;
}

162
dist/classic.module.css vendored Normal file
View file

@ -0,0 +1,162 @@
/*
* Bluelib Classic
* by <me@steffo.eu>
*/
.bluelib {
--b-border-radius: 8px;
}
.bluelib,
.bluelib * {
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.15);
}
.bluelib .header-1,
.bluelib .header-2,
.bluelib .header-3,
.bluelib .header-4,
.bluelib .header-5,
.bluelib .header-6 {
text-shadow: 2px 2px 4px hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
}
.bluelib .panel .header-1,
.bluelib .panel .header-2,
.bluelib .panel .header-3,
.bluelib .panel .header-4,
.bluelib .panel .header-5,
.bluelib .panel .header-6 {
text-shadow: none;
}
.bluelib .panel,
.bluelib .table.panel > .table-caption {
border-radius: var(--b-border-radius);
box-shadow: 2px 2px 4px hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
}
.bluelib .panel .panel,
.bluelib .table.panel > .table-caption .panel {
background-color: hsl(var(--bhsl-foreground-hue) var(--bhsl-foreground-saturation) var(--bhsl-foreground-lightness) / 0.075);
backdrop-filter: none;
box-shadow: none;
}
.bluelib .modifier-mark,
.bluelib .element-mark,
.bluelib .panel.modifier-mark {
background-color: hsl(var(--bhsl-mark-background-hue) var(--bhsl-mark-background-saturation) var(--bhsl-mark-background-lightness));
}
.bluelib .modifier-mark .modifier-mark,
.bluelib .element-mark .modifier-mark,
.bluelib .panel.modifier-mark .modifier-mark,
.bluelib .modifier-mark .element-mark,
.bluelib .element-mark .element-mark,
.bluelib .panel.modifier-mark .element-mark,
.bluelib .modifier-mark .panel.modifier-mark,
.bluelib .element-mark .panel.modifier-mark,
.bluelib .panel.modifier-mark .panel.modifier-mark {
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
}
.bluelib .modifier-mark .modifier-mark .modifier-mark,
.bluelib .element-mark .modifier-mark .modifier-mark,
.bluelib .panel.modifier-mark .modifier-mark .modifier-mark,
.bluelib .modifier-mark .element-mark .modifier-mark,
.bluelib .element-mark .element-mark .modifier-mark,
.bluelib .panel.modifier-mark .element-mark .modifier-mark,
.bluelib .modifier-mark .panel.modifier-mark .modifier-mark,
.bluelib .element-mark .panel.modifier-mark .modifier-mark,
.bluelib .panel.modifier-mark .panel.modifier-mark .modifier-mark,
.bluelib .modifier-mark .modifier-mark .element-mark,
.bluelib .element-mark .modifier-mark .element-mark,
.bluelib .panel.modifier-mark .modifier-mark .element-mark,
.bluelib .modifier-mark .element-mark .element-mark,
.bluelib .element-mark .element-mark .element-mark,
.bluelib .panel.modifier-mark .element-mark .element-mark,
.bluelib .modifier-mark .panel.modifier-mark .element-mark,
.bluelib .element-mark .panel.modifier-mark .element-mark,
.bluelib .panel.modifier-mark .panel.modifier-mark .element-mark,
.bluelib .modifier-mark .modifier-mark .panel.modifier-mark,
.bluelib .element-mark .modifier-mark .panel.modifier-mark,
.bluelib .panel.modifier-mark .modifier-mark .panel.modifier-mark,
.bluelib .modifier-mark .element-mark .panel.modifier-mark,
.bluelib .element-mark .element-mark .panel.modifier-mark,
.bluelib .panel.modifier-mark .element-mark .panel.modifier-mark,
.bluelib .modifier-mark .panel.modifier-mark .panel.modifier-mark,
.bluelib .element-mark .panel.modifier-mark .panel.modifier-mark,
.bluelib .panel.modifier-mark .panel.modifier-mark .panel.modifier-mark {
background-color: hsl(var(--bhsl-mark-background-hue) var(--bhsl-mark-background-saturation) var(--bhsl-mark-background-lightness));
}
.bluelib .modifier-todo,
.bluelib .panel.modifier-todo {
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));
}
.bluelib .modifier-todo .panel,
.bluelib .panel.modifier-todo .panel {
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));
}
.bluelib .table.panel {
border-radius: 0;
}
.bluelib .table.panel > .table-caption {
border-radius: 0;
box-shadow: 0.0625em 0 0.25em hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
}
.bluelib .table.panel-dialog > .table-caption {
border-bottom-width: 2px;
}
.bluelib .input {
background-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.025);
}
.bluelib .input:hover {
background-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.05);
}
.bluelib .input:active {
background-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.075);
}
.bluelib .input-field,
.bluelib .input-select {
border-radius: var(--b-border-radius) var(--b-border-radius) 0 0;
}
.bluelib .input-area,
.bluelib .input-multiselect {
border-radius: 0 var(--b-border-radius) var(--b-border-radius) 0;
}
.bluelib .input-button {
border-radius: var(--b-border-radius);
}
.bluelib .list-unordered > *::marker,
.bluelib .list-ordered > *::marker {
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.5);
}
.bluelib .glossary-summary {
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
}
.bluelib .glossary-summary::marker {
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.5);
}
.bluelib .glossary-summary:hover {
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
}
.bluelib .glossary-summary:hover::marker {
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
}
.bluelib .glossary-summary:active::marker {
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
}
.bluelib .text-anchor:hover {
color: hsl(calc(var(--bhsl-link-hue) + 0deg) calc(var(--bhsl-link-saturation) + 0%) calc(var(--bhsl-link-lightness) + 20%) / 1);
}
.bluelib .text-anchor:active {
color: hsl(calc(var(--bhsl-link-hue) + 0deg) calc(var(--bhsl-link-saturation) + 0%) calc(var(--bhsl-link-lightness) + 40%) / 1);
}
.bluelib .text-input,
.bluelib .text-output {
border-radius: calc(var(--b-border-radius) / 4);
}
.bluelib .text-variable {
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
}
.bluelib .text-quote::before,
.bluelib .text-quote::after {
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
}
.bluelib .text-ruby-annotation {
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
}

180
dist/classic.root.css vendored Normal file
View file

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

60
dist/colors-royalblue.module.css vendored Normal file
View file

@ -0,0 +1,60 @@
/*
* Bluelib Royal Blue Colors
* by <me@steffo.eu>
*/
.bluelib {
--bhsl-background-hue: 224deg;
--bhsl-background-saturation: 64%;
--bhsl-background-lightness: 14%;
--bhsl-foreground-hue: 212deg;
--bhsl-foreground-saturation: 100%;
--bhsl-foreground-lightness: 81%;
--bhsl-primary-hue: 0deg;
--bhsl-primary-saturation: 0%;
--bhsl-primary-lightness: 100%;
--bhsl-link-hue: 180deg;
--bhsl-link-saturation: 100%;
--bhsl-link-lightness: 40%;
--bhsl-mark-foreground-hue: 32deg;
--bhsl-mark-foreground-saturation: 64%;
--bhsl-mark-foreground-lightness: 14%;
--bhsl-mark-background-hue: 32deg;
--bhsl-mark-background-saturation: 100%;
--bhsl-mark-background-lightness: 81%;
--bhsl-todo-foreground-hue: 43deg;
--bhsl-todo-foreground-saturation: 100%;
--bhsl-todo-foreground-lightness: 65%;
--bhsl-todo-background-hue: 204deg;
--bhsl-todo-background-saturation: 11%;
--bhsl-todo-background-lightness: 18%;
--bhsl-sample-input-hue: 0deg;
--bhsl-sample-input-saturation: 100%;
--bhsl-sample-input-lightness: 0%;
--bhsl-sample-output-hue: 0deg;
--bhsl-sample-output-saturation: 100%;
--bhsl-sample-output-lightness: 100%;
--bhsl-red-hue: 0deg;
--bhsl-red-saturation: 100%;
--bhsl-red-lightness: 75%;
--bhsl-yellow-hue: 60deg;
--bhsl-yellow-saturation: 100%;
--bhsl-yellow-lightness: 75%;
--bhsl-green-hue: 120deg;
--bhsl-green-saturation: 100%;
--bhsl-green-lightness: 75%;
--bhsl-cyan-hue: 180deg;
--bhsl-cyan-saturation: 100%;
--bhsl-cyan-lightness: 75%;
--bhsl-blue-hue: 240deg;
--bhsl-blue-saturation: 100%;
--bhsl-blue-lightness: 75%;
--bhsl-magenta-hue: 300deg;
--bhsl-magenta-saturation: 100%;
--bhsl-magenta-lightness: 75%;
--bhsl-inserted-hue: var(--bhsl-green-hue);
--bhsl-inserted-saturation: var(--bhsl-green-saturation);
--bhsl-inserted-lightness: var(--bhsl-green-lightness);
--bhsl-deleted-hue: var(--bhsl-red-hue);
--bhsl-deleted-saturation: var(--bhsl-red-saturation);
--bhsl-deleted-lightness: var(--bhsl-red-lightness);
}

60
dist/colors-royalblue.root.css vendored Normal file
View file

@ -0,0 +1,60 @@
/*
* Bluelib Royal Blue Colors
* by <me@steffo.eu>
*/
body {
--bhsl-background-hue: 224deg;
--bhsl-background-saturation: 64%;
--bhsl-background-lightness: 14%;
--bhsl-foreground-hue: 212deg;
--bhsl-foreground-saturation: 100%;
--bhsl-foreground-lightness: 81%;
--bhsl-primary-hue: 0deg;
--bhsl-primary-saturation: 0%;
--bhsl-primary-lightness: 100%;
--bhsl-link-hue: 180deg;
--bhsl-link-saturation: 100%;
--bhsl-link-lightness: 40%;
--bhsl-mark-foreground-hue: 32deg;
--bhsl-mark-foreground-saturation: 64%;
--bhsl-mark-foreground-lightness: 14%;
--bhsl-mark-background-hue: 32deg;
--bhsl-mark-background-saturation: 100%;
--bhsl-mark-background-lightness: 81%;
--bhsl-todo-foreground-hue: 43deg;
--bhsl-todo-foreground-saturation: 100%;
--bhsl-todo-foreground-lightness: 65%;
--bhsl-todo-background-hue: 204deg;
--bhsl-todo-background-saturation: 11%;
--bhsl-todo-background-lightness: 18%;
--bhsl-sample-input-hue: 0deg;
--bhsl-sample-input-saturation: 100%;
--bhsl-sample-input-lightness: 0%;
--bhsl-sample-output-hue: 0deg;
--bhsl-sample-output-saturation: 100%;
--bhsl-sample-output-lightness: 100%;
--bhsl-red-hue: 0deg;
--bhsl-red-saturation: 100%;
--bhsl-red-lightness: 75%;
--bhsl-yellow-hue: 60deg;
--bhsl-yellow-saturation: 100%;
--bhsl-yellow-lightness: 75%;
--bhsl-green-hue: 120deg;
--bhsl-green-saturation: 100%;
--bhsl-green-lightness: 75%;
--bhsl-cyan-hue: 180deg;
--bhsl-cyan-saturation: 100%;
--bhsl-cyan-lightness: 75%;
--bhsl-blue-hue: 240deg;
--bhsl-blue-saturation: 100%;
--bhsl-blue-lightness: 75%;
--bhsl-magenta-hue: 300deg;
--bhsl-magenta-saturation: 100%;
--bhsl-magenta-lightness: 75%;
--bhsl-inserted-hue: var(--bhsl-green-hue);
--bhsl-inserted-saturation: var(--bhsl-green-saturation);
--bhsl-inserted-lightness: var(--bhsl-green-lightness);
--bhsl-deleted-hue: var(--bhsl-red-hue);
--bhsl-deleted-saturation: var(--bhsl-red-saturation);
--bhsl-deleted-lightness: var(--bhsl-red-lightness);
}

224
dist/fonts-fira-ghpages.module.css vendored Normal file
View file

@ -0,0 +1,224 @@
/*
* Bluelib Fira Sans Font from GitHub Pages
* by <me@steffo.eu>
*/
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Hair.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Hair.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-Hair.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-Hair.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-Hair.ttf') format('truetype');
font-weight: 100;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-HairItalic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-HairItalic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-HairItalic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-HairItalic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-HairItalic.ttf') format('truetype');
font-weight: 100;
font-style: italic;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-UltraLight.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-UltraLight.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-UltraLight.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-UltraLight.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-UltraLight.ttf') format('truetype');
font-weight: 200;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-UltraLightItalic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-UltraLightItalic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-UltraLightItalic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-UltraLightItalic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-UltraLightItalic.ttf') format('truetype');
font-weight: 200;
font-style: italic;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Light.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Light.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-Light.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-Light.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-LightItalic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-LightItalic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-LightItalic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-LightItalic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-LightItalic.ttf') format('truetype');
font-weight: 300;
font-style: italic;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Regular.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Regular.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-Regular.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-Regular.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Italic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Italic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-Italic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-Italic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-Italic.ttf') format('truetype');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Medium.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Medium.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-Medium.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-Medium.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-MediumItalic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-MediumItalic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-MediumItalic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-MediumItalic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-MediumItalic.ttf') format('truetype');
font-weight: 500;
font-style: italic;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-SemiBold.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-SemiBold.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-SemiBold.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-SemiBold.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-SemiBold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-SemiBoldItalic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-SemiBoldItalic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-SemiBoldItalic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-SemiBoldItalic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-SemiBoldItalic.ttf') format('truetype');
font-weight: 600;
font-style: italic;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Bold.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Bold.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-Bold.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-Bold.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-BoldItalic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-BoldItalic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-BoldItalic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-BoldItalic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-BoldItalic.ttf') format('truetype');
font-weight: 700;
font-style: italic;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-ExtraBold.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-ExtraBold.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-ExtraBold.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-ExtraBold.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-ExtraBold.ttf') format('truetype');
font-weight: 800;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-ExtraBoldItalic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-ExtraBoldItalic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-ExtraBoldItalic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-ExtraBoldItalic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-ExtraBoldItalic.ttf') format('truetype');
font-weight: 800;
font-style: italic;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Heavy.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Heavy.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-Heavy.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-Heavy.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-Heavy.ttf') format('truetype');
font-weight: 900;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-HeavyItalic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-HeavyItalic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-HeavyItalic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-HeavyItalic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-HeavyItalic.ttf') format('truetype');
font-weight: 900;
font-style: italic;
}
@font-face {
font-family: 'Fira Mono';
src: url('https://mozilla.github.io/Fira/eot/FiraMono-Regular.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraMono-Regular.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraMono-Regular.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraMono-Regular.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraMono-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Fira Mono';
src: url('https://mozilla.github.io/Fira/eot/FiraMono-Bold.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraMono-Bold.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraMono-Bold.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraMono-Bold.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraMono-Bold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
}
.bluelib {
--bfont-text-style: normal;
--bfont-text-variant: normal;
--bfont-text-weight: 400;
--bfont-text-stretch: normal;
--bfont-text-height: 1.3;
--bfont-text-family: "Fira Sans", sans-serif;
--bfont-header-style: normal;
--bfont-header-variant: normal;
--bfont-header-weight: 600;
--bfont-header-stretch: normal;
--bfont-header-height: 1.7;
--bfont-header-family: "Fira Sans", sans-serif;
--bfont-code-style: normal;
--bfont-code-variant: normal;
--bfont-code-weight: 400;
--bfont-code-stretch: normal;
--bfont-code-height: 1.3;
--bfont-code-family: "Fira Mono", monospace;
--bfont-boldcode-style: normal;
--bfont-boldcode-variant: normal;
--bfont-boldcode-weight: 600;
--bfont-boldcode-stretch: normal;
--bfont-boldcode-height: 1.3;
--bfont-boldcode-family: "Fira Mono", monospace;
--bfont-term-style: italic;
--bfont-term-variant: normal;
--bfont-term-weight: 500;
--bfont-term-stretch: normal;
--bfont-term-height: 1.3;
--bfont-term-family: "Fira Sans", sans-serif;
--bfont-summary-style: italic;
--bfont-summary-variant: normal;
--bfont-summary-weight: 400;
--bfont-summary-stretch: normal;
--bfont-summary-height: 1.3;
--bfont-summary-family: "Fira Sans", sans-serif;
--bfont-idiomatic-style: italic;
--bfont-idiomatic-variant: normal;
--bfont-idiomatic-weight: 400;
--bfont-idiomatic-stretch: normal;
--bfont-idiomatic-height: 1.3;
--bfont-idiomatic-family: "Fira Sans", sans-serif;
--bfont-emphasis-style: italic;
--bfont-emphasis-variant: normal;
--bfont-emphasis-weight: 500;
--bfont-emphasis-stretch: normal;
--bfont-emphasis-height: 1.3;
--bfont-emphasis-family: "Fira Sans", sans-serif;
--bfont-attention-style: normal;
--bfont-attention-variant: normal;
--bfont-attention-weight: 600;
--bfont-attention-stretch: normal;
--bfont-attention-height: 1.3;
--bfont-attention-family: "Fira Sans", sans-serif;
--bfont-strong-style: normal;
--bfont-strong-variant: normal;
--bfont-strong-weight: 900;
--bfont-strong-stretch: normal;
--bfont-strong-height: 1.3;
--bfont-strong-family: "Fira Sans", sans-serif;
--bfont-variable-style: normal;
--bfont-variable-variant: normal;
--bfont-variable-weight: 300;
--bfont-variable-stretch: normal;
--bfont-variable-height: 1.3;
--bfont-variable-family: "Fira Sans", sans-serif;
--bfont-citation-style: normal;
--bfont-citation-variant: small-caps;
--bfont-citation-weight: 400;
--bfont-citation-stretch: normal;
--bfont-citation-height: 1.3;
--bfont-citation-family: "Fira Sans", sans-serif;
--bfont-label-style: normal;
--bfont-label-variant: normal;
--bfont-label-weight: 500;
--bfont-label-stretch: normal;
--bfont-label-height: 1.3;
--bfont-label-family: "Fira Sans", sans-serif;
}

224
dist/fonts-fira-ghpages.root.css vendored Normal file
View file

@ -0,0 +1,224 @@
/*
* Bluelib Fira Sans Font from GitHub Pages
* by <me@steffo.eu>
*/
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Hair.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Hair.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-Hair.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-Hair.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-Hair.ttf') format('truetype');
font-weight: 100;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-HairItalic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-HairItalic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-HairItalic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-HairItalic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-HairItalic.ttf') format('truetype');
font-weight: 100;
font-style: italic;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-UltraLight.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-UltraLight.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-UltraLight.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-UltraLight.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-UltraLight.ttf') format('truetype');
font-weight: 200;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-UltraLightItalic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-UltraLightItalic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-UltraLightItalic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-UltraLightItalic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-UltraLightItalic.ttf') format('truetype');
font-weight: 200;
font-style: italic;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Light.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Light.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-Light.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-Light.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-LightItalic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-LightItalic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-LightItalic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-LightItalic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-LightItalic.ttf') format('truetype');
font-weight: 300;
font-style: italic;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Regular.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Regular.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-Regular.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-Regular.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Italic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Italic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-Italic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-Italic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-Italic.ttf') format('truetype');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Medium.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Medium.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-Medium.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-Medium.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-MediumItalic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-MediumItalic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-MediumItalic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-MediumItalic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-MediumItalic.ttf') format('truetype');
font-weight: 500;
font-style: italic;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-SemiBold.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-SemiBold.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-SemiBold.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-SemiBold.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-SemiBold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-SemiBoldItalic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-SemiBoldItalic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-SemiBoldItalic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-SemiBoldItalic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-SemiBoldItalic.ttf') format('truetype');
font-weight: 600;
font-style: italic;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Bold.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Bold.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-Bold.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-Bold.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-BoldItalic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-BoldItalic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-BoldItalic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-BoldItalic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-BoldItalic.ttf') format('truetype');
font-weight: 700;
font-style: italic;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-ExtraBold.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-ExtraBold.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-ExtraBold.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-ExtraBold.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-ExtraBold.ttf') format('truetype');
font-weight: 800;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-ExtraBoldItalic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-ExtraBoldItalic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-ExtraBoldItalic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-ExtraBoldItalic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-ExtraBoldItalic.ttf') format('truetype');
font-weight: 800;
font-style: italic;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Heavy.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-Heavy.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-Heavy.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-Heavy.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-Heavy.ttf') format('truetype');
font-weight: 900;
font-style: normal;
}
@font-face {
font-family: 'Fira Sans';
src: url('https://mozilla.github.io/Fira/eot/FiraSans-HeavyItalic.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraSans-HeavyItalic.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraSans-HeavyItalic.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraSans-HeavyItalic.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraSans-HeavyItalic.ttf') format('truetype');
font-weight: 900;
font-style: italic;
}
@font-face {
font-family: 'Fira Mono';
src: url('https://mozilla.github.io/Fira/eot/FiraMono-Regular.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraMono-Regular.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraMono-Regular.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraMono-Regular.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraMono-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Fira Mono';
src: url('https://mozilla.github.io/Fira/eot/FiraMono-Bold.eot');
src: url('https://mozilla.github.io/Fira/eot/FiraMono-Bold.eot') format('embedded-opentype'), url('https://mozilla.github.io/Fira/woff2/FiraMono-Bold.woff2') format('woff2'), url('https://mozilla.github.io/Fira/woff/FiraMono-Bold.woff') format('woff'), url('https://mozilla.github.io/Fira/ttf/FiraMono-Bold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
}
body {
--bfont-text-style: normal;
--bfont-text-variant: normal;
--bfont-text-weight: 400;
--bfont-text-stretch: normal;
--bfont-text-height: 1.3;
--bfont-text-family: "Fira Sans", sans-serif;
--bfont-header-style: normal;
--bfont-header-variant: normal;
--bfont-header-weight: 600;
--bfont-header-stretch: normal;
--bfont-header-height: 1.7;
--bfont-header-family: "Fira Sans", sans-serif;
--bfont-code-style: normal;
--bfont-code-variant: normal;
--bfont-code-weight: 400;
--bfont-code-stretch: normal;
--bfont-code-height: 1.3;
--bfont-code-family: "Fira Mono", monospace;
--bfont-boldcode-style: normal;
--bfont-boldcode-variant: normal;
--bfont-boldcode-weight: 600;
--bfont-boldcode-stretch: normal;
--bfont-boldcode-height: 1.3;
--bfont-boldcode-family: "Fira Mono", monospace;
--bfont-term-style: italic;
--bfont-term-variant: normal;
--bfont-term-weight: 500;
--bfont-term-stretch: normal;
--bfont-term-height: 1.3;
--bfont-term-family: "Fira Sans", sans-serif;
--bfont-summary-style: italic;
--bfont-summary-variant: normal;
--bfont-summary-weight: 400;
--bfont-summary-stretch: normal;
--bfont-summary-height: 1.3;
--bfont-summary-family: "Fira Sans", sans-serif;
--bfont-idiomatic-style: italic;
--bfont-idiomatic-variant: normal;
--bfont-idiomatic-weight: 400;
--bfont-idiomatic-stretch: normal;
--bfont-idiomatic-height: 1.3;
--bfont-idiomatic-family: "Fira Sans", sans-serif;
--bfont-emphasis-style: italic;
--bfont-emphasis-variant: normal;
--bfont-emphasis-weight: 500;
--bfont-emphasis-stretch: normal;
--bfont-emphasis-height: 1.3;
--bfont-emphasis-family: "Fira Sans", sans-serif;
--bfont-attention-style: normal;
--bfont-attention-variant: normal;
--bfont-attention-weight: 600;
--bfont-attention-stretch: normal;
--bfont-attention-height: 1.3;
--bfont-attention-family: "Fira Sans", sans-serif;
--bfont-strong-style: normal;
--bfont-strong-variant: normal;
--bfont-strong-weight: 900;
--bfont-strong-stretch: normal;
--bfont-strong-height: 1.3;
--bfont-strong-family: "Fira Sans", sans-serif;
--bfont-variable-style: normal;
--bfont-variable-variant: normal;
--bfont-variable-weight: 300;
--bfont-variable-stretch: normal;
--bfont-variable-height: 1.3;
--bfont-variable-family: "Fira Sans", sans-serif;
--bfont-citation-style: normal;
--bfont-citation-variant: small-caps;
--bfont-citation-weight: 400;
--bfont-citation-stretch: normal;
--bfont-citation-height: 1.3;
--bfont-citation-family: "Fira Sans", sans-serif;
--bfont-label-style: normal;
--bfont-label-variant: normal;
--bfont-label-weight: 500;
--bfont-label-stretch: normal;
--bfont-label-height: 1.3;
--bfont-label-family: "Fira Sans", sans-serif;
}

20
dist/fun.module.css vendored Normal file
View file

@ -0,0 +1,20 @@
/*
* Bluelib Fun Experiments
* by <me@steffo.eu>
*/
@property --bhsl-current-hue {
syntax: '<angle>';
initial-value: 0deg;
inherits: true;
}
@keyframes rainbow {
0% {
--bhsl-current-hue: 0deg;
}
100% {
--bhsl-current-hue: 360deg;
}
}
.animation-rainbow {
animation: 2s linear infinite rainbow;
}

20
dist/fun.root.css vendored Normal file
View file

@ -0,0 +1,20 @@
/*
* Bluelib Fun Experiments
* by <me@steffo.eu>
*/
@property --bhsl-current-hue {
syntax: '<angle>';
initial-value: 0deg;
inherits: true;
}
@keyframes rainbow {
0% {
--bhsl-current-hue: 0deg;
}
100% {
--bhsl-current-hue: 360deg;
}
}
.rainbow {
animation: 2s linear infinite rainbow;
}

81
dist/glass.module.css vendored Normal file
View file

@ -0,0 +1,81 @@
/*
* Bluelib Glass
* by <me@steffo.eu>
*/
.bluelib {
--b-panel-blur: 16px;
}
@supports (backdrop-filter: blur(var(--b-panel-blur))) {
.bluelib .panel,
.bluelib .table.panel > .table-caption {
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness) / 0.3);
backdrop-filter: blur(var(--b-panel-blur)) hue-rotate(calc(var(--bhsl-current-hue) - var(--bhsl-foreground-hue)));
}
.bluelib .panel .panel,
.bluelib .table.panel > .table-caption .panel {
background-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.075);
backdrop-filter: none;
}
.bluelib .modifier-mark,
.bluelib .element-mark,
.bluelib .panel.modifier-mark {
background-color: hsl(var(--bhsl-mark-background-hue) var(--bhsl-mark-background-saturation) var(--bhsl-mark-background-lightness));
backdrop-filter: none;
}
.bluelib .modifier-mark .modifier-mark,
.bluelib .element-mark .modifier-mark,
.bluelib .panel.modifier-mark .modifier-mark,
.bluelib .modifier-mark .element-mark,
.bluelib .element-mark .element-mark,
.bluelib .panel.modifier-mark .element-mark,
.bluelib .modifier-mark .panel.modifier-mark,
.bluelib .element-mark .panel.modifier-mark,
.bluelib .panel.modifier-mark .panel.modifier-mark {
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
}
.bluelib .modifier-mark .modifier-mark .modifier-mark,
.bluelib .element-mark .modifier-mark .modifier-mark,
.bluelib .panel.modifier-mark .modifier-mark .modifier-mark,
.bluelib .modifier-mark .element-mark .modifier-mark,
.bluelib .element-mark .element-mark .modifier-mark,
.bluelib .panel.modifier-mark .element-mark .modifier-mark,
.bluelib .modifier-mark .panel.modifier-mark .modifier-mark,
.bluelib .element-mark .panel.modifier-mark .modifier-mark,
.bluelib .panel.modifier-mark .panel.modifier-mark .modifier-mark,
.bluelib .modifier-mark .modifier-mark .element-mark,
.bluelib .element-mark .modifier-mark .element-mark,
.bluelib .panel.modifier-mark .modifier-mark .element-mark,
.bluelib .modifier-mark .element-mark .element-mark,
.bluelib .element-mark .element-mark .element-mark,
.bluelib .panel.modifier-mark .element-mark .element-mark,
.bluelib .modifier-mark .panel.modifier-mark .element-mark,
.bluelib .element-mark .panel.modifier-mark .element-mark,
.bluelib .panel.modifier-mark .panel.modifier-mark .element-mark,
.bluelib .modifier-mark .modifier-mark .panel.modifier-mark,
.bluelib .element-mark .modifier-mark .panel.modifier-mark,
.bluelib .panel.modifier-mark .modifier-mark .panel.modifier-mark,
.bluelib .modifier-mark .element-mark .panel.modifier-mark,
.bluelib .element-mark .element-mark .panel.modifier-mark,
.bluelib .panel.modifier-mark .element-mark .panel.modifier-mark,
.bluelib .modifier-mark .panel.modifier-mark .panel.modifier-mark,
.bluelib .element-mark .panel.modifier-mark .panel.modifier-mark,
.bluelib .panel.modifier-mark .panel.modifier-mark .panel.modifier-mark {
background-color: hsl(var(--bhsl-mark-background-hue) var(--bhsl-mark-background-saturation) var(--bhsl-mark-background-lightness));
}
.bluelib .modifier-todo,
.bluelib .panel.modifier-todo {
background-color: hsl(var(--bhsl-todo-background-hue) var(--bhsl-todo-background-saturation) var(--bhsl-todo-background-lightness));
}
.bluelib .modifier-todo .panel,
.bluelib .panel.modifier-todo .panel {
background-color: hsl(var(--bhsl-todo-background-hue) var(--bhsl-todo-background-saturation) var(--bhsl-todo-background-lightness));
backdrop-filter: none;
}
.bluelib .panel.modifier-todo {
background-color: hsl(var(--bhsl-todo-background-hue) var(--bhsl-todo-background-saturation) var(--bhsl-todo-background-lightness) / 0.3);
backdrop-filter: blur(var(--b-panel-blur)) grayscale(100%);
}
.bluelib .panel .panel.modifier-todo {
background-color: hsl(var(--bhsl-todo-background-hue) var(--bhsl-todo-background-saturation) var(--bhsl-todo-background-lightness));
}
}

81
dist/glass.root.css vendored Normal file
View file

@ -0,0 +1,81 @@
/*
* Bluelib Glass
* by <me@steffo.eu>
*/
body {
--b-panel-blur: 16px;
}
@supports (backdrop-filter: blur(var(--b-panel-blur))) {
body .panel,
body table.panel > caption {
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness) / 0.3);
backdrop-filter: blur(var(--b-panel-blur)) hue-rotate(calc(var(--bhsl-current-hue) - var(--bhsl-foreground-hue)));
}
body .panel .panel,
body table.panel > caption .panel {
background-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.075);
backdrop-filter: none;
}
body .mark,
body mark,
body .panel.mark {
background-color: hsl(var(--bhsl-mark-background-hue) var(--bhsl-mark-background-saturation) var(--bhsl-mark-background-lightness));
backdrop-filter: none;
}
body .mark .mark,
body mark .mark,
body .panel.mark .mark,
body .mark mark,
body mark mark,
body .panel.mark mark,
body .mark .panel.mark,
body mark .panel.mark,
body .panel.mark .panel.mark {
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
}
body .mark .mark .mark,
body mark .mark .mark,
body .panel.mark .mark .mark,
body .mark mark .mark,
body mark mark .mark,
body .panel.mark mark .mark,
body .mark .panel.mark .mark,
body mark .panel.mark .mark,
body .panel.mark .panel.mark .mark,
body .mark .mark mark,
body mark .mark mark,
body .panel.mark .mark mark,
body .mark mark mark,
body mark mark mark,
body .panel.mark mark mark,
body .mark .panel.mark mark,
body mark .panel.mark mark,
body .panel.mark .panel.mark mark,
body .mark .mark .panel.mark,
body mark .mark .panel.mark,
body .panel.mark .mark .panel.mark,
body .mark mark .panel.mark,
body mark mark .panel.mark,
body .panel.mark mark .panel.mark,
body .mark .panel.mark .panel.mark,
body mark .panel.mark .panel.mark,
body .panel.mark .panel.mark .panel.mark {
background-color: hsl(var(--bhsl-mark-background-hue) var(--bhsl-mark-background-saturation) var(--bhsl-mark-background-lightness));
}
body .todo,
body .panel.todo {
background-color: hsl(var(--bhsl-todo-background-hue) var(--bhsl-todo-background-saturation) var(--bhsl-todo-background-lightness));
}
body .todo .panel,
body .panel.todo .panel {
background-color: hsl(var(--bhsl-todo-background-hue) var(--bhsl-todo-background-saturation) var(--bhsl-todo-background-lightness));
backdrop-filter: none;
}
body .panel.todo {
background-color: hsl(var(--bhsl-todo-background-hue) var(--bhsl-todo-background-saturation) var(--bhsl-todo-background-lightness) / 0.3);
backdrop-filter: blur(var(--b-panel-blur)) grayscale(100%);
}
body .panel .panel.todo {
background-color: hsl(var(--bhsl-todo-background-hue) var(--bhsl-todo-background-saturation) var(--bhsl-todo-background-lightness));
}
}