2021-09-30 11:18:10 +02:00
|
|
|
@use "vars";
|
2021-10-31 00:29:22 +02:00
|
|
|
@use "scrollbar";
|
2021-04-13 14:30:47 +02:00
|
|
|
|
|
|
|
$body-color: var(--text-fg);
|
|
|
|
$body-bg: var(--window-bg);
|
|
|
|
|
|
|
|
$link-hover-color: var(--link);
|
|
|
|
$link-hover-decoration: none;
|
|
|
|
|
2021-06-21 19:11:10 +02:00
|
|
|
$utilities: (
|
|
|
|
"opacity": (
|
|
|
|
property: opacity,
|
|
|
|
values: (
|
|
|
|
0: 0,
|
|
|
|
25: 0.25,
|
|
|
|
50: 0.5,
|
|
|
|
75: 0.75,
|
|
|
|
100: 1,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
|
2021-08-17 21:25:38 +02:00
|
|
|
@import "bootstrap/scss/bootstrap-reboot";
|
|
|
|
@import "bootstrap/scss/bootstrap-utilities";
|
2021-04-13 14:30:47 +02:00
|
|
|
|
2021-04-27 17:20:13 +02:00
|
|
|
/* Bootstrap "extensions" */
|
|
|
|
.flex-basis-100 {
|
|
|
|
flex-basis: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-basis-75 {
|
|
|
|
flex-basis: 75%;
|
|
|
|
}
|
|
|
|
|
2021-10-18 14:01:15 +02:00
|
|
|
* {
|
2021-04-13 14:30:47 +02:00
|
|
|
overscroll-behavior: none;
|
|
|
|
}
|
2021-05-24 19:53:30 +02:00
|
|
|
|
2021-12-04 23:20:42 +01:00
|
|
|
.night-mode {
|
2021-10-31 00:29:22 +02:00
|
|
|
@include scrollbar.night-mode;
|
|
|
|
}
|
|
|
|
|
2021-05-24 19:53:30 +02:00
|
|
|
button {
|
|
|
|
/* override transition for instant hover response */
|
2021-05-25 13:52:27 +02:00
|
|
|
transition: color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
|
2021-05-24 19:53:30 +02:00
|
|
|
}
|
2021-10-23 03:06:15 +02:00
|
|
|
|
2021-11-09 03:53:39 +01:00
|
|
|
pre,
|
|
|
|
code,
|
|
|
|
kbd,
|
|
|
|
samp {
|
2021-10-23 03:06:15 +02:00
|
|
|
unicode-bidi: normal !important;
|
|
|
|
}
|
2021-10-31 00:29:22 +02:00
|
|
|
|
|
|
|
.isWin {
|
|
|
|
--base-font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.isMac {
|
|
|
|
--base-font-size: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.isLin {
|
|
|
|
--base-font-size: 14px;
|
|
|
|
}
|
2021-12-06 09:40:26 +01:00
|
|
|
|
2021-12-13 05:00:35 +01:00
|
|
|
[dir="rtl"] {
|
2021-12-06 09:40:26 +01:00
|
|
|
.form-select {
|
|
|
|
/* flip <select>'s arrow */
|
2021-12-13 05:00:35 +01:00
|
|
|
background-position: left 0.75rem center;
|
2021-12-06 09:40:26 +01:00
|
|
|
}
|
2021-12-13 05:00:35 +01:00
|
|
|
}
|
2022-06-01 12:26:16 +02:00
|
|
|
|
|
|
|
.night-mode .form-select:disabled {
|
|
|
|
background-color: var(--disabled);
|
|
|
|
}
|