diff options
Diffstat (limited to 'themes/docsy/assets/scss/main.scss')
-rw-r--r-- | themes/docsy/assets/scss/main.scss | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/themes/docsy/assets/scss/main.scss b/themes/docsy/assets/scss/main.scss new file mode 100644 index 000000000..909935b4d --- /dev/null +++ b/themes/docsy/assets/scss/main.scss @@ -0,0 +1,56 @@ +@import "support/functions"; +@import "variables_project"; +@import "variables"; +@import "support/mixins"; + +@import "../vendor/bootstrap/scss/bootstrap"; + +@import "../vendor/Font-Awesome//web-fonts-with-css/scss/fontawesome.scss"; +@import "../vendor/Font-Awesome//web-fonts-with-css/scss/fa-solid.scss"; +@import "../vendor/Font-Awesome//web-fonts-with-css/scss/fa-brands.scss"; + +@import "support/utilities"; +@import "colors"; +@import "boxes"; +@import "blog"; +@import "code"; +@import "nav"; +@import "sidebar-tree"; +@import "sidebar-toc"; +@import "buttons"; +@import "breadcrumb"; +@import "alerts"; +@import "content"; +@import "search"; +@import "main-container"; +@import "blocks/blocks"; + +@if $td-enable-google-fonts { + @import url($web-font-path); +} + +footer { + min-height: 150px; + + @include media-breakpoint-down(md) { + min-height: 200px; + } +} + +// Adjust anchors vs the fixed menu. +@include media-breakpoint-up(md) { + .td-offset-anchor:target { + display: block; + position: relative; + top: -4rem; + visibility: hidden; + } + + h2[id]:before, h3[id]:before, h4[id]:before, h5[id]:before { + display: block; + content: " "; + margin-top: -5rem; + height: 5rem; + visibility: hidden; + } +}
\ No newline at end of file |