2021-12-29 09:23:07 +00:00
|
|
|
/*
|
|
|
|
This stylesheet should be used globally regardless of theming
|
|
|
|
|
|
|
|
some specific rules are meant to be overwritten by the individual themes
|
|
|
|
*/
|
2022-04-07 17:33:11 +00:00
|
|
|
@import url('http://fonts.cdnfonts.com/css/open-dyslexic');
|
2021-12-29 09:23:07 +00:00
|
|
|
|
|
|
|
// some variables
|
|
|
|
$breakpoint-xs: 0px;
|
|
|
|
$breakpoint-sm: 576px;
|
|
|
|
$breakpoint-md: 768px;
|
|
|
|
$breakpoint-lg: 992px;
|
|
|
|
$breakpoint-xl: 1200px;
|
|
|
|
$breakpoint-xxl: 1400px;
|
|
|
|
|
|
|
|
$gray-transparent: rgba(128, 128, 128, 0.3);
|
|
|
|
|
|
|
|
// general elements
|
|
|
|
#app {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
padding-left: 0.5em;
|
|
|
|
margin: 0.25em 0 0.25em 0 !important;
|
|
|
|
border-left: 4px solid $gray-transparent; // overwrite this in the individual styles
|
|
|
|
}
|
|
|
|
|
2022-06-03 15:34:50 +00:00
|
|
|
pre {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
word-break: break-word !important;
|
|
|
|
overflow-wrap: break-word !important;
|
2022-06-03 16:09:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pre, code {
|
|
|
|
background: var(--bs-light) !important;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
padding-left: 0.25rem;
|
|
|
|
padding-right: 0.25rem;
|
2021-12-29 09:23:07 +00:00
|
|
|
}
|
|
|
|
|
2022-04-07 17:33:11 +00:00
|
|
|
.dyslexic {
|
|
|
|
font-family: 'Open-Dyslexic', sans-serif;
|
|
|
|
}
|
|
|
|
|
2022-05-17 03:22:51 +00:00
|
|
|
// dashboard specific elements
|
2021-12-29 09:23:07 +00:00
|
|
|
.icon {
|
|
|
|
height: 1.5em;
|
|
|
|
width: 1.5em;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
height: 2.5em;
|
|
|
|
width: 2.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-content {
|
|
|
|
border: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.banner {
|
2022-03-19 09:43:31 +00:00
|
|
|
z-index: -20;
|
2021-12-29 09:23:07 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 40vh;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
background-size: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-md) {
|
|
|
|
.banner {
|
|
|
|
height: 50vh;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.description a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// bootstrap elements
|
|
|
|
.container {
|
|
|
|
flex: 1 0 auto !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-tabs * .nav-link {
|
|
|
|
background-color: var(--bs-body-bg) !important;
|
|
|
|
border-color: $gray-transparent !important; // overwrite
|
|
|
|
border-bottom: none !important
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-tabs {
|
|
|
|
gap: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-tabs {
|
|
|
|
border-bottom: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.accordion-button::after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
justify-content: center !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-link {
|
|
|
|
z-index: initial !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
// svelecte styling
|
|
|
|
.svelecte-control .sv-control {
|
|
|
|
border-color: $gray-transparent !important; // overwrite
|
|
|
|
}
|
|
|
|
|
|
|
|
.svelecte-control .sv-control, .sv-content, .sv-dropdown, .sv-item, .sv-item-content {
|
|
|
|
color: var(--bs-body-color) !important; //this can also be optionally overwritten
|
|
|
|
background-color: var(--bs-body-bg) !important;
|
|
|
|
}
|
|
|
|
|
2022-05-19 17:36:58 +00:00
|
|
|
.sv-dd-item-active {
|
|
|
|
outline: 5px auto Highlight;
|
|
|
|
outline: 5px auto -webkit-focus-ring-color;
|
|
|
|
}
|
|
|
|
|
2021-12-31 12:33:01 +00:00
|
|
|
.sv-dropdown {
|
|
|
|
position: static !important;
|
|
|
|
border: 1px solid rgba(128, 128, 128, 0.3) !important;
|
|
|
|
}
|
|
|
|
|
2021-12-29 09:23:07 +00:00
|
|
|
.sv-item-btn {
|
|
|
|
background-color: var(--bs-light) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sv-item {
|
|
|
|
cursor: pointer !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
// discord markdown styling
|
|
|
|
.d-spoiler {
|
|
|
|
color: var(--bs-dark); //overwrite
|
|
|
|
background-color: var(--bs-dark); //overwrite
|
|
|
|
border-radius: 2px;
|
|
|
|
transition-delay: 6000s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-spoiler::selection {
|
|
|
|
color: var(--bs-dark); //overwrite
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-spoiler:active {
|
|
|
|
background-color: $gray-transparent; // overwrite
|
|
|
|
color: var(--bs-body-color); //overwrite
|
|
|
|
transition-delay: 0s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-emoji {
|
|
|
|
height: 1.125em;
|
|
|
|
width: auto;
|
|
|
|
margin: 0 .05em 0 .1em;
|
|
|
|
vertical-align: -0.1125em;
|
|
|
|
}
|
|
|
|
|
|
|
|
//twemoji
|
|
|
|
img.emoji {
|
|
|
|
height: 1.125em;
|
|
|
|
width: auto;
|
|
|
|
margin: 0 .05em 0 .1em;
|
|
|
|
vertical-align: -0.1125em;
|
2022-05-20 10:09:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
//misc
|
|
|
|
.visually-hidden {
|
|
|
|
position: absolute;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
clip: rect(0, 0, 0, 0);
|
|
|
|
white-space: nowrap;
|
|
|
|
border: 0;
|
|
|
|
}
|