|
|
@ -16,6 +16,7 @@
|
|
|
|
--theme-white: white;
|
|
|
|
--theme-white: white;
|
|
|
|
|
|
|
|
|
|
|
|
// Misc
|
|
|
|
// Misc
|
|
|
|
|
|
|
|
--theme-border: black;
|
|
|
|
--theme-animation: 0.2s linear; // Animation style
|
|
|
|
--theme-animation: 0.2s linear; // Animation style
|
|
|
|
--theme-content-width: 1100px; // Max width of clamped content
|
|
|
|
--theme-content-width: 1100px; // Max width of clamped content
|
|
|
|
--theme-font: Arial, sans-serif;
|
|
|
|
--theme-font: Arial, sans-serif;
|
|
|
@ -47,30 +48,22 @@ $divisible: (0, 10, 20, 25, 30, 33, 34, 40, 50, 60, 66, 70, 75, 80, 90, 100);
|
|
|
|
|
|
|
|
|
|
|
|
// Optional opinionated styling to clean up CSS defaults
|
|
|
|
// Optional opinionated styling to clean up CSS defaults
|
|
|
|
|
|
|
|
|
|
|
|
.fix-anchor, .fix {
|
|
|
|
.fix-anchor, .fix:not(.no-anchor-fix) {
|
|
|
|
a, a:not([href]) {
|
|
|
|
a, a:not([href]) {
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
color: var(--theme-primary);
|
|
|
|
color: var(--theme-primary);
|
|
|
|
&:not(:hover) { text-decoration: none; }
|
|
|
|
&:not(:hover):not(:focus) { text-decoration: none; }
|
|
|
|
&:hover { text-decoration: underline; }
|
|
|
|
&:hover, &:focus { text-decoration: underline; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fix-button, .fix {
|
|
|
|
.fix-button, .fix:not(.no-button-fix) {
|
|
|
|
button:not(:disabled) {
|
|
|
|
button:not(:disabled) {
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fix-code code, code.fix {
|
|
|
|
.fix-dom, .fix:not(.no-dom-fix) {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
white-space: pre;
|
|
|
|
|
|
|
|
font-family: monospace;
|
|
|
|
|
|
|
|
background: rgb(30, 30, 30);
|
|
|
|
|
|
|
|
color: #00cb00;
|
|
|
|
|
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.fix-dom, .fix {
|
|
|
|
|
|
|
|
&, html, body {
|
|
|
|
&, html, body {
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
@ -81,29 +74,22 @@ $divisible: (0, 10, 20, 25, 30, 33, 34, 40, 50, 60, 66, 70, 75, 80, 90, 100);
|
|
|
|
background-color: var(--theme-backdrop);
|
|
|
|
background-color: var(--theme-backdrop);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
hr {
|
|
|
|
|
|
|
|
border-bottom: 1px solid black;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
opacity: 50%;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fix-focus, .fix {
|
|
|
|
.fix-focus, .fix:not(.no-focus-fix) {
|
|
|
|
* {
|
|
|
|
* {
|
|
|
|
outline: none !important;
|
|
|
|
outline: inherit;
|
|
|
|
box-shadow: none !important;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fix-font, .fix {
|
|
|
|
.fix-font, .fix:not(.no-font-fix) {
|
|
|
|
* { font-family: var(--theme-font), sans-serif; }
|
|
|
|
color: var(--theme-text);
|
|
|
|
|
|
|
|
font-family: var(--theme-font), sans-serif;
|
|
|
|
|
|
|
|
|
|
|
|
p, input, select, textarea, button { font-size: 1rem; }
|
|
|
|
p, input, select, textarea, button { font-size: 1rem; }
|
|
|
|
span { font-size: inherit; }
|
|
|
|
h1, h2, h3, h4, h5, h6, p { margin: 0 0 0.5rem 0; }
|
|
|
|
h1, h2, h3, h4, h5, h6, p {
|
|
|
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 { font-weight: 500; font-size: 2.5rem; }
|
|
|
|
h1 { font-weight: 500; font-size: 2.5rem; }
|
|
|
|
h2 { font-weight: 500; font-size: 2rem; }
|
|
|
|
h2 { font-weight: 500; font-size: 2rem; }
|
|
|
|
h3 { font-weight: 500; font-size: 1.75rem; }
|
|
|
|
h3 { font-weight: 500; font-size: 1.75rem; }
|
|
|
@ -112,8 +98,6 @@ $divisible: (0, 10, 20, 25, 30, 33, 34, 40, 50, 60, 66, 70, 75, 80, 90, 100);
|
|
|
|
h6 { font-weight: 500; font-size: 1rem; }
|
|
|
|
h6 { font-weight: 500; font-size: 1rem; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
option { color: black !important; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Misc =====================================================================================================
|
|
|
|
// Misc =====================================================================================================
|
|
|
|
|
|
|
|
|
|
|
|
// Center
|
|
|
|
// Center
|
|
|
@ -127,7 +111,6 @@ option { color: black !important; }
|
|
|
|
// Clamp (Restrict page width for large screens)
|
|
|
|
// Clamp (Restrict page width for large screens)
|
|
|
|
.clamp { width: min(var(--theme-content-width), calc(100% - map.get($sizes, 3))); }
|
|
|
|
.clamp { width: min(var(--theme-content-width), calc(100% - map.get($sizes, 3))); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Utilities ================================================================================================
|
|
|
|
// Utilities ================================================================================================
|
|
|
|
|
|
|
|
|
|
|
|
// Anchor
|
|
|
|
// Anchor
|
|
|
@ -170,7 +153,7 @@ option { color: black !important; }
|
|
|
|
.bg-black { background-color: var(--theme-black) !important; }
|
|
|
|
.bg-black { background-color: var(--theme-black) !important; }
|
|
|
|
.bg-white { background-color: var(--theme-white) !important; }
|
|
|
|
.bg-white { background-color: var(--theme-white) !important; }
|
|
|
|
.bg-transparent { background-color: transparent !important; }
|
|
|
|
.bg-transparent { background-color: transparent !important; }
|
|
|
|
.bg-clear {
|
|
|
|
.bg-container {
|
|
|
|
background-color: var(--theme-clear) !important;
|
|
|
|
background-color: var(--theme-clear) !important;
|
|
|
|
color: var(--theme-text) !important;
|
|
|
|
color: var(--theme-text) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -195,7 +178,10 @@ option { color: black !important; }
|
|
|
|
|
|
|
|
|
|
|
|
// Colors - Foreground
|
|
|
|
// Colors - Foreground
|
|
|
|
@each $color in ('black', 'clear', 'white', 'text', 'primary', 'accent', 'info', 'success', 'warn', 'danger', 'muted') {
|
|
|
|
@each $color in ('black', 'clear', 'white', 'text', 'primary', 'accent', 'info', 'success', 'warn', 'danger', 'muted') {
|
|
|
|
.fg-#{$color} { color: var(--theme-#{$color}) !important; }
|
|
|
|
.fg-#{$color} {
|
|
|
|
|
|
|
|
color: var(--theme-#{$color}) !important;
|
|
|
|
|
|
|
|
text-decoration-color: var(--theme-#{$color}) !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Cursors
|
|
|
|
// Cursors
|
|
|
@ -210,8 +196,8 @@ option { color: black !important; }
|
|
|
|
.fs-italic { font-style: italic !important; }
|
|
|
|
.fs-italic { font-style: italic !important; }
|
|
|
|
.fs-none { font-style: normal !important; }
|
|
|
|
.fs-none { font-style: normal !important; }
|
|
|
|
.fs-lighter { font-weight: lighter !important; }
|
|
|
|
.fs-lighter { font-weight: lighter !important; }
|
|
|
|
.fs-line-through { text-decoration: line-through !important; }
|
|
|
|
|
|
|
|
.fs-no-dec { text-decoration: none !important; }
|
|
|
|
.fs-no-dec { text-decoration: none !important; }
|
|
|
|
|
|
|
|
.fs-strike { text-decoration: line-through !important; }
|
|
|
|
.fs-underline { text-decoration: underline !important; }
|
|
|
|
.fs-underline { text-decoration: underline !important; }
|
|
|
|
.fs-7 { font-size: 2.5rem !important; }
|
|
|
|
.fs-7 { font-size: 2.5rem !important; }
|
|
|
|
.fs-6 { font-size: 2.25rem !important; }
|
|
|
|
.fs-6 { font-size: 2.25rem !important; }
|
|
|
@ -414,7 +400,7 @@ option { color: black !important; }
|
|
|
|
.hidden#{$bp} { visibility: hidden !important; }
|
|
|
|
.hidden#{$bp} { visibility: hidden !important; }
|
|
|
|
|
|
|
|
|
|
|
|
@each $s, $size in $sizes {
|
|
|
|
@each $s, $size in $sizes {
|
|
|
|
.b#{$bp}-#{$s} { border: #{$s}px solid var(--theme-muted) !important; } // Border
|
|
|
|
.b#{$bp}-#{$s} { border: #{$s}px solid var(--theme-border) !important; } // Border
|
|
|
|
.m#{$bp}-#{$s} { margin: $size !important; } // Margin
|
|
|
|
.m#{$bp}-#{$s} { margin: $size !important; } // Margin
|
|
|
|
.p#{$bp}-#{$s} { padding: $size !important; } // Padding
|
|
|
|
.p#{$bp}-#{$s} { padding: $size !important; } // Padding
|
|
|
|
.mx#{$bp}-#{$s} { // Margin
|
|
|
|
.mx#{$bp}-#{$s} { // Margin
|
|
|
@ -441,7 +427,7 @@ option { color: black !important; }
|
|
|
|
.m#{$d}#{$bp}-auto { margin-#{$dir}: auto !important; } // Margin
|
|
|
|
.m#{$d}#{$bp}-auto { margin-#{$dir}: auto !important; } // Margin
|
|
|
|
|
|
|
|
|
|
|
|
@each $s, $size in $sizes {
|
|
|
|
@each $s, $size in $sizes {
|
|
|
|
.b#{$d}#{$bp}-#{$s} { border-#{$dir}: #{$s}px solid var(--theme-muted) !important; } // Border
|
|
|
|
.b#{$d}#{$bp}-#{$s} { border-#{$dir}: #{$s}px solid var(--theme-border) !important; } // Border
|
|
|
|
.m#{$d}#{$bp}-#{$s} { margin-#{$dir}: $size !important; } // Margin
|
|
|
|
.m#{$d}#{$bp}-#{$s} { margin-#{$dir}: $size !important; } // Margin
|
|
|
|
.p#{$d}#{$bp}-#{$s} { padding-#{$dir}: $size !important; } // Padding
|
|
|
|
.p#{$d}#{$bp}-#{$s} { padding-#{$dir}: $size !important; } // Padding
|
|
|
|
}
|
|
|
|
}
|
|
|
|