This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Zaimki/assets/style.scss

117 lines
3.7 KiB
SCSS
Raw Normal View History

2020-07-22 13:19:23 -07:00
@import "fonts";
@import "variables";
2020-07-22 13:19:23 -07:00
@import "~bootstrap/scss/root";
@import "~bootstrap/scss/reboot";
@import "~bootstrap/scss/type";
//@import "~bootstrap/scss/images";
//@import "~bootstrap/scss/code";
//@import "~bootstrap/scss/grid";
2020-08-03 10:47:53 -07:00
@import "~bootstrap/scss/tables";
2020-07-22 13:19:23 -07:00
@import "~bootstrap/scss/forms";
@import "~bootstrap/scss/buttons";
//@import "~bootstrap/scss/transitions";
//@import "~bootstrap/scss/dropdown";
@import "~bootstrap/scss/button-group";
@import "~bootstrap/scss/input-group";
@import "~bootstrap/scss/custom-forms";
//@import "~bootstrap/scss/nav";
//@import "~bootstrap/scss/navbar";
@import "~bootstrap/scss/card";
//@import "~bootstrap/scss/breadcrumb";
2020-10-29 11:57:50 -07:00
@import "~bootstrap/scss/pagination";
2020-09-16 13:31:57 -07:00
@import "~bootstrap/scss/badge";
2020-07-22 13:19:23 -07:00
//@import "~bootstrap/scss/jumbotron";
@import "~bootstrap/scss/alert";
2020-12-18 02:34:58 -08:00
@import "~bootstrap/scss/progress";
2020-07-22 13:19:23 -07:00
//@import "~bootstrap/scss/media";
2020-09-08 09:10:04 -07:00
@import "~bootstrap/scss/list-group";
2020-07-22 13:19:23 -07:00
//@import "~bootstrap/scss/close";
//@import "~bootstrap/scss/toasts";
2020-10-24 13:32:12 -07:00
@import "~bootstrap/scss/modal";
2020-07-22 13:19:23 -07:00
//@import "~bootstrap/scss/tooltip";
//@import "~bootstrap/scss/popover";
//@import "~bootstrap/scss/carousel";
//@import "~bootstrap/scss/spinners";
@import "~bootstrap/scss/utilities";
@import "~bootstrap/scss/print";
$fa-font-path: "~@fortawesome/fontawesome-pro/webfonts";
@import "~@fortawesome/fontawesome-pro/scss/fontawesome";
@import "~@fortawesome/fontawesome-pro/scss/light";
2020-07-26 07:41:46 -07:00
@import "~@fortawesome/fontawesome-pro/scss/brands";
2020-07-22 13:19:23 -07:00
2020-07-24 07:15:28 -07:00
html {
scroll-behavior: smooth;
2020-12-06 14:21:34 -08:00
scroll-padding-top: 92px;
2020-07-24 07:15:28 -07:00
}
2020-07-22 13:19:23 -07:00
body {
margin: 2rem auto;
2020-11-16 11:43:44 -08:00
max-width: min(90vw, 860px);
2020-11-25 15:23:11 -08:00
background-image: linear-gradient(74deg, rgba(236, 236, 236,0.02) 0%, rgba(236, 236, 236,0.02) 13%,transparent 13%, transparent 64%,rgba(55, 55, 55,0.02) 64%, rgba(55, 55, 55,0.02) 71%,rgba(239, 239, 239,0.02) 71%, rgba(239, 239, 239,0.02) 100%),linear-gradient(170deg, rgba(8, 8, 8,0.02) 0%, rgba(8, 8, 8,0.02) 1%,transparent 1%, transparent 60%,rgba(9, 9, 9,0.02) 60%, rgba(9, 9, 9,0.02) 80%,rgba(198, 198, 198,0.02) 80%, rgba(198, 198, 198,0.02) 100%),linear-gradient(118deg, rgba(134, 134, 134,0.02) 0%, rgba(134, 134, 134,0.02) 30%,transparent 30%, transparent 43%,rgba(85, 85, 85,0.02) 43%, rgba(85, 85, 85,0.02) 47%,rgba(103, 103, 103,0.02) 47%, rgba(103, 103, 103,0.02) 100%),linear-gradient(249deg, rgba(178, 178, 178,0.02) 0%, rgba(178, 178, 178,0.02) 8%,transparent 8%, transparent 47%,rgba(161, 161, 161,0.02) 47%, rgba(161, 161, 161,0.02) 61%,rgba(19, 19, 19,0.02) 61%, rgba(19, 19, 19,0.02) 100%),linear-gradient(90deg, rgb(255,255,255),rgb(255,255,255));
2020-07-22 13:19:23 -07:00
}
section {
margin: 2*$spacer 0;
}
2020-07-26 05:52:01 -07:00
code {
@include font-size($code-font-size);
color: $code-color;
word-wrap: break-word;
// Streamline the style when inside anchors to avoid broken underline and more
a > & {
color: inherit;
}
border: 1px solid $code-color;
padding: .2em;
border-radius: $border-radius-sm;
}
2020-08-04 07:15:41 -07:00
@for $columns from 1 through 12 {
.table-fixed-#{$columns} {
th, td {
width: (100% / $columns);
}
}
}
2020-10-24 12:50:08 -07:00
img.icon {
height: 1em;
width: 1.25em;
text-align: center;
}
2020-10-25 04:00:45 -07:00
@each $breakpoint in map-keys($grid-breakpoints) {
@include media-breakpoint-up($breakpoint) {
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
@each $prop, $abbrev in (width: w, height: h) {
@each $size, $length in $sizes {
.#{$abbrev}#{$infix}-#{$size} { #{$prop}: $length !important; }
}
}
}
}
2020-10-31 06:54:56 -07:00
label.required::after {
color: $danger;
content: ' *';
}
2020-11-05 05:06:47 -08:00
.mw-input {
min-width: 16ch;
}
2020-11-13 13:57:23 -08:00
blockquote {
margin-left: $spacer;
border-left: 3px $primary solid;
padding-left: $spacer;
font-size: 1.1em;
}