2021-05-18 18:55:22 +02:00
|
|
|
@use "ts/sass/vars";
|
2021-04-12 06:18:30 +02:00
|
|
|
@use "ts/sass/scrollbar";
|
2021-04-22 13:57:32 +02:00
|
|
|
@use "ts/sass/bootstrap-dark";
|
2021-04-12 06:18:30 +02:00
|
|
|
|
2021-04-15 08:10:01 +02:00
|
|
|
@import "ts/sass/base";
|
|
|
|
@import "ts/sass/bootstrap/dropdown";
|
|
|
|
@import "ts/sass/bootstrap/forms";
|
|
|
|
@import "ts/sass/bootstrap/buttons";
|
|
|
|
@import "ts/sass/bootstrap/button-group";
|
2021-04-16 15:29:21 +02:00
|
|
|
@import "ts/sass/bootstrap/modal";
|
|
|
|
@import "ts/sass/bootstrap/close";
|
2021-04-17 14:53:47 +02:00
|
|
|
@import "ts/sass/bootstrap/alert";
|
2021-04-22 07:39:50 +02:00
|
|
|
@import "ts/sass/bootstrap/tooltip";
|
2021-04-12 06:18:30 +02:00
|
|
|
|
|
|
|
.night-mode {
|
|
|
|
@include scrollbar.night-mode;
|
2021-04-22 13:57:32 +02:00
|
|
|
@include bootstrap-dark.night-mode;
|
2021-04-12 06:18:30 +02:00
|
|
|
}
|
2021-04-22 03:41:41 +02:00
|
|
|
|
|
|
|
// the unprefixed version wasn't added until Chrome 81
|
|
|
|
.form-select {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
2021-04-22 07:39:50 +02:00
|
|
|
|
|
|
|
body {
|
2021-04-22 10:11:27 +02:00
|
|
|
width: min(100vw, 35em);
|
2021-04-22 07:39:50 +02:00
|
|
|
margin: 0 auto;
|
2021-04-22 09:28:14 +02:00
|
|
|
// leave some space for rounded screens
|
|
|
|
margin-bottom: 2em;
|
2021-04-22 07:39:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main {
|
|
|
|
padding: 0.5em;
|
2021-04-22 11:53:07 +02:00
|
|
|
padding-top: 0;
|
2021-04-22 07:39:50 +02:00
|
|
|
}
|
2021-04-22 08:47:10 +02:00
|
|
|
|
|
|
|
.tooltip-inner {
|
|
|
|
max-width: 300px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
2021-05-16 13:41:40 +02:00
|
|
|
|
|
|
|
// the default code color in tooltips is difficult to read; we'll probably
|
|
|
|
// want to add more of our own styling in the future
|
|
|
|
code {
|
|
|
|
color: var(--flag1-bg);
|
|
|
|
}
|
2021-05-19 11:00:09 +02:00
|
|
|
|
|
|
|
// override the default form sizes
|
|
|
|
input.form-control, select.form-select {
|
|
|
|
font-size: inherit;
|
|
|
|
}
|