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

120 lines
3.3 KiB
SCSS
Raw Normal View History

2020-07-22 13:19:23 -07:00
@import "fonts";
$font-family-sans-serif: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
$headings-font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
$primary: #C71585;
$alert-border-level: -3;
$container-max-widths: (
sm: 540px,
md: 768px,
lg: 769px,
xl: 770px
) !default;
@import "~bootstrap/scss/functions";
@import "~bootstrap/scss/variables";
@import "~bootstrap/scss/mixins";
@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";
//@import "~bootstrap/scss/progress";
//@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;
scroll-padding-top: 18px;
}
2020-07-22 13:19:23 -07:00
body {
//padding-top: 2rem;
//padding-bottom: 2rem;
margin: 2rem auto;
max-width: min(90vw, 768px);
}
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: ' *';
}