@import "../bootstrap/scss/list-group";
@import "../bootstrap/scss/close";
@import "../bootstrap/scss/modal";
+@import "../bootstrap/scss/spinners";
@import "../bootstrap/scss/utilities";
@import "../bootstrap/scss/print";
// Include fonts
-@import "fonts";
+@import "_fonts.scss";
// Custom stuff
@import "icons";
}
}
+code {
+ background-color: $dark;
+ border-radius: $border-radius;
+ padding: 0.1rem 0.2rem;
+}
+
+pre {
+ background-color: $dark;
+ border-radius: $border-radius;
+ padding: 0.5rem;
+
+ code {
+ background-color: inherit;
+ padding: 0;
+ }
+}
+
.card {
@extend .inverse;
}
}
+.icon-large {
+ font-size: 8em;
+
+ @include media-breakpoint-up(md) {
+ font-size: 6em;
+ }
+
+ @include media-breakpoint-up(lg) {
+ font-size: 8em;
+ }
+
+ @include media-breakpoint-up(xl) {
+ font-size: 10em;
+ }
+}
+
footer {
margin-top: auto;
h1, h2, h3, h4, h5, h6 {
font-weight: $headings-font-weight;
line-height: $headings-line-height;
- margin-bottom: 0.25rem;
+ margin-bottom: 0.5rem;
}
h1 {
font-size: $h6-font-size;
}
- img {
- @include img-fluid;
-
- // Center all images
- display: block;
- margin-left: auto;
+ figure {
+ // Center images
+ display: table;
margin-right: auto;
+ margin-left: auto;
// Add some extra margin to the top & bottom
padding: ($spacer * 2) 0 ($spacer * 2) 0;
table {
@extend .table;
@extend .table-sm;
+ @extend .table-striped;
+ }
+}
+
+#preview {
+ // Hide the spinner by default
+ #spinner {
+ display: none;
+ }
+
+ #preview-content {
+ @include transition(opacity .5s linear);
+ }
+
+ &.updating {
+ // Show the spinner during updates
+ #spinner {
+ display: block;
+ }
+
+ // While updating, we face out the content
+ #preview-content {
+ opacity: 0.5;
+ }
}
}
width: 100%;
}
}
+
+.pdf-viewer {
+ width: 100%;
+ min-height: 32rem;
+}