1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 19:44:21 +00:00
bluelib/src/targets/skeleton.module.css

411 lines
12 KiB
CSS
Raw Normal View History

/* @input-field: ~'.input-field'; */
@font-face {
font-family: 'Fira Code';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firacode/v10/uU9eCBsR6Z2vfE9aq3bL0fxyUs4tcw4W_D1sFVc.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: italic;
font-weight: 100;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9A4kDNxMZdWfMOD5VvkrCqYTc.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: italic;
font-weight: 200;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9f4kDNxMZdWfMOD5VvkrAGQBf_.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: italic;
font-weight: 300;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9f4kDNxMZdWfMOD5VvkrBiQxf_.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: italic;
font-weight: 400;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9C4kDNxMZdWfMOD5VvkojO.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: italic;
font-weight: 500;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9f4kDNxMZdWfMOD5VvkrA6Qhf_.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: italic;
font-weight: 600;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9f4kDNxMZdWfMOD5VvkrAWRRf_.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: italic;
font-weight: 700;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9f4kDNxMZdWfMOD5VvkrByRBf_.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: italic;
font-weight: 800;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9f4kDNxMZdWfMOD5VvkrBuRxf_.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: italic;
font-weight: 900;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9f4kDNxMZdWfMOD5VvkrBKRhf_.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: normal;
font-weight: 100;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9C4kDNxMZdWfMOD5Vn9IjO.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: normal;
font-weight: 200;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9B4kDNxMZdWfMOD5VnWKnuQQ.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9B4kDNxMZdWfMOD5VnPKruQQ.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9E4kDNxMZdWfMOD5VfkA.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9B4kDNxMZdWfMOD5VnZKvuQQ.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9B4kDNxMZdWfMOD5VnSKzuQQ.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9B4kDNxMZdWfMOD5VnLK3uQQ.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: normal;
font-weight: 800;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9B4kDNxMZdWfMOD5VnMK7uQQ.ttf) format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-style: normal;
font-weight: 900;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firasans/v11/va9B4kDNxMZdWfMOD5VnFK_uQQ.ttf) format('truetype');
}
2021-03-20 03:27:45 +00:00
.bluelib {
2021-03-21 00:06:22 +00:00
--bluelib-color-r: 24;
--bluelib-color-g: 24;
--bluelib-color-b: 24;
font-family: "Fira Sans", sans-serif;
}
.bluelib,
.bluelib * {
box-sizing: border-box;
color: rgb(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b));
}
2021-03-20 03:27:45 +00:00
.bluelib .container-main {
margin-left: auto;
margin-right: auto;
max-width: 1280px;
}
2021-03-20 03:27:45 +00:00
.bluelib .panel {
margin: 8px 0;
width: 100%;
}
2021-03-20 03:27:45 +00:00
.bluelib .panel > .element-paragraph:first-child,
.bluelib .panel .element-title:first-child,
.bluelib .panel .panel:first-child {
margin-top: 0;
}
2021-03-20 03:27:45 +00:00
.bluelib .panel > .element-paragraph:last-child,
.bluelib .panel .element-title:last-child,
.bluelib .panel .panel:last-child {
margin-bottom: 0;
}
2021-03-20 03:27:45 +00:00
.bluelib .panel-box {
padding: 8px;
border-radius: 4px;
border-width: 2px;
border-style: solid;
2021-03-21 00:06:22 +00:00
background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.025);
border-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.1);
}
2021-03-20 03:27:45 +00:00
.bluelib .panel-blockquote {
border-left-width: 2px;
border-top-width: 0;
border-bottom-width: 0;
border-right-width: 0;
}
2021-03-20 03:27:45 +00:00
.bluelib .panel-aside {
border-width: 0;
font-size: smaller;
}
2021-03-20 03:27:45 +00:00
.bluelib .panel-split {
display: flex;
flex-wrap: wrap;
gap: 8px;
justify-content: center;
}
2021-03-20 03:27:45 +00:00
.bluelib .panel-split > * {
flex-grow: 1;
flex-shrink: 0;
flex-basis: 0;
}
2021-03-20 03:27:45 +00:00
.bluelib .panel-split > .panel {
margin: 0;
}
.bluelib .button {
display: inline-flex;
justify-content: center;
align-items: center;
background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
border: none;
color: white;
padding: 6px 16px;
border-radius: 4px;
font-family: inherit;
font-size: inherit;
cursor: pointer;
}
.bluelib .button:hover {
background-color: rgba(calc(var(--bluelib-color-r) - 25), calc(var(--bluelib-color-g) - 25), calc(var(--bluelib-color-b) - 25), 1);
}
.bluelib .button:active {
background-color: rgba(calc(var(--bluelib-color-r) - 55), calc(var(--bluelib-color-g) - 55), calc(var(--bluelib-color-b) - 55), 1);
}
.bluelib .button.status-disabled:hover {
background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
}
.bluelib .button.status-disabled:active {
background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
}
.bluelib .button-fill-width {
width: 100%;
}
.bluelib .button-toggle {
padding: 4px 14px;
border-width: 2px;
border-style: solid;
}
.bluelib .button-toggle.status-disabled {
border-style: dashed;
}
.bluelib .button-toggle-off {
border-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
background-color: transparent;
}
.bluelib .button-toggle-off:hover {
border-color: rgba(calc(var(--bluelib-color-r) - 25), calc(var(--bluelib-color-g) - 25), calc(var(--bluelib-color-b) - 25), 1);
color: rgba(calc(var(--bluelib-color-r) - 25), calc(var(--bluelib-color-g) - 25), calc(var(--bluelib-color-b) - 25), 1);
background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.1);
}
.bluelib .button-toggle-off:active {
border-color: rgba(calc(var(--bluelib-color-r) - 55), calc(var(--bluelib-color-g) - 55), calc(var(--bluelib-color-b) - 55), 1);
color: rgba(calc(var(--bluelib-color-r) - 55), calc(var(--bluelib-color-g) - 55), calc(var(--bluelib-color-b) - 55), 1);
background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.3);
}
.bluelib .button-toggle-off.status-disabled {
border-style: dashed;
}
.bluelib .button-toggle-off.status-disabled:hover {
border-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
background-color: transparent;
}
.bluelib .button-toggle-off.status-disabled:active {
border-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
background-color: transparent;
}
.bluelib .button-toggle-on {
border-color: rgba(calc(var(--bluelib-color-r) - 55), calc(var(--bluelib-color-g) - 55), calc(var(--bluelib-color-b) - 55), 1);
color: rgba(calc(var(--bluelib-color-r) - 55), calc(var(--bluelib-color-g) - 55), calc(var(--bluelib-color-b) - 55), 1);
background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.3);
}
.bluelib .button-toggle-on:hover {
border-color: rgba(calc(var(--bluelib-color-r) - 25), calc(var(--bluelib-color-g) - 25), calc(var(--bluelib-color-b) - 25), 1);
color: rgba(calc(var(--bluelib-color-r) - 25), calc(var(--bluelib-color-g) - 25), calc(var(--bluelib-color-b) - 25), 1);
background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.1);
}
.bluelib .button-toggle-on:active {
border-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
background-color: transparent;
}
.bluelib .button-toggle-on.status-disabled {
border-style: dashed;
}
.bluelib .button-toggle-on.status-disabled:hover {
border-color: rgba(calc(var(--bluelib-color-r) - 55), calc(var(--bluelib-color-g) - 55), calc(var(--bluelib-color-b) - 55), 1);
color: rgba(calc(var(--bluelib-color-r) - 55), calc(var(--bluelib-color-g) - 55), calc(var(--bluelib-color-b) - 55), 1);
background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.3);
}
.bluelib .button-toggle-on.status-disabled:active {
border-color: rgba(calc(var(--bluelib-color-r) - 55), calc(var(--bluelib-color-g) - 55), calc(var(--bluelib-color-b) - 55), 1);
color: rgba(calc(var(--bluelib-color-r) - 55), calc(var(--bluelib-color-g) - 55), calc(var(--bluelib-color-b) - 55), 1);
background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.3);
}
2021-03-20 03:27:45 +00:00
.bluelib .spoiler {
filter: blur(5px);
}
2021-03-20 03:27:45 +00:00
.bluelib .spoiler:hover {
filter: none;
}
2021-03-23 16:14:26 +00:00
.bluelib .spoiler.status-disabled:hover {
filter: blur(5px);
}
.bluelib .status-hoverable {
cursor: help;
}
.bluelib .status-clickable {
cursor: pointer;
}
.bluelib .status-disabled {
cursor: not-allowed !important;
opacity: 50%;
}
2021-03-20 03:27:45 +00:00
.bluelib .element-title {
text-align: center;
font-weight: 500;
}
2021-03-20 03:27:45 +00:00
.bluelib .element-separator {
border-width: 1px;
border-style: solid;
2021-03-21 01:00:14 +00:00
border-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.1);
}
2021-03-20 03:27:45 +00:00
.bluelib .element-list-item {
margin: 10px 0;
}
2021-03-20 03:27:45 +00:00
.bluelib .align-left {
text-align: left;
}
2021-03-20 03:27:45 +00:00
.bluelib .align-center {
text-align: center;
}
2021-03-20 03:27:45 +00:00
.bluelib .align-right {
text-align: right;
}
2021-03-20 03:27:45 +00:00
.bluelib .size-xxl {
font-size: xx-large;
}
2021-03-20 03:27:45 +00:00
.bluelib .size-xl {
font-size: x-large;
}
2021-03-20 03:27:45 +00:00
.bluelib .size-l {
font-size: large;
}
2021-03-20 03:27:45 +00:00
.bluelib .size-m {
font-size: medium;
}
2021-03-20 03:27:45 +00:00
.bluelib .size-s {
font-size: small;
}
2021-03-20 03:27:45 +00:00
.bluelib .size-xs {
font-size: x-small;
}
2021-03-20 03:27:45 +00:00
.bluelib .size-xxs {
font-size: xx-small;
}
2021-03-20 03:27:45 +00:00
.bluelib .style-bold {
font-weight: bold;
}
2021-03-20 03:27:45 +00:00
.bluelib .style-italic {
font-style: italic;
}
2021-03-20 03:27:45 +00:00
.bluelib .style-underline {
text-decoration-line: underline;
}
2021-03-20 03:27:45 +00:00
.bluelib .style-strike {
text-decoration-line: line-through;
}
2021-03-20 03:27:45 +00:00
.bluelib .style-monospace {
font-family: "Fira Code", monospace;
}
2021-03-20 03:27:45 +00:00
.bluelib .style-keyboard {
font-family: "Fira Code", monospace;
padding: 2px 4px;
border: 2px outset;
border-radius: 4px;
}
2021-03-20 03:27:45 +00:00
.bluelib .color-red {
--bluelib-color-r: 200;
--bluelib-color-g: 0;
--bluelib-color-b: 0;
}
2021-03-20 03:27:45 +00:00
.bluelib .color-orange {
--bluelib-color-r: 200;
--bluelib-color-g: 165;
--bluelib-color-b: 0;
}
2021-03-20 03:27:45 +00:00
.bluelib .color-yellow {
--bluelib-color-r: 200;
--bluelib-color-g: 200;
--bluelib-color-b: 0;
}
2021-03-20 03:27:45 +00:00
.bluelib .color-lime {
--bluelib-color-r: 0;
--bluelib-color-g: 200;
--bluelib-color-b: 0;
}
2021-03-20 03:27:45 +00:00
.bluelib .color-cyan {
--bluelib-color-r: 0;
--bluelib-color-g: 200;
--bluelib-color-b: 200;
}
2021-03-20 03:27:45 +00:00
.bluelib .color-blue {
--bluelib-color-r: 0;
--bluelib-color-g: 0;
--bluelib-color-b: 200;
}
2021-03-20 03:27:45 +00:00
.bluelib .color-magenta {
--bluelib-color-r: 200;
--bluelib-color-g: 0;
--bluelib-color-b: 200;
}
2021-03-20 03:27:45 +00:00
.bluelib .color-gray {
--bluelib-color-r: 128;
--bluelib-color-g: 128;
--bluelib-color-b: 128;
}
/*# sourceMappingURL=skeleton.module.css.map */