diff options
author | Ian Lewis <ianmlewis@gmail.com> | 2019-03-31 20:18:04 -0400 |
---|---|---|
committer | Adin Scannell <ascannell@google.com> | 2019-04-02 16:11:43 -0700 |
commit | 0803a82bffccdd609db03743d145c3d6656f220e (patch) | |
tree | 1838dcb9c5601bb047963def04563de70b97ee37 /assets/scss/main.scss | |
parent | 96dedf5dd6c42125b3c6f976a1447de96e804600 (diff) |
Updated style for top page cover
Diffstat (limited to 'assets/scss/main.scss')
-rw-r--r-- | assets/scss/main.scss | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/assets/scss/main.scss b/assets/scss/main.scss new file mode 100644 index 000000000..607e2cf23 --- /dev/null +++ b/assets/scss/main.scss @@ -0,0 +1,58 @@ +@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; + } +} + +@import "custom_styles"; |