main.scss 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ---
  2. # Only the main Sass file needs front matter (the dashes are enough)
  3. ---
  4. @charset "utf-8";
  5. @import "minimal-mistakes/skins/{{ site.minimal_mistakes_skin | default: 'default' }}"; // skin
  6. @import "minimal-mistakes"; // main partials
  7. //
  8. // DeepSpeed customizations
  9. //
  10. .site-title {
  11. display: -webkit-box;
  12. display: -ms-flexbox;
  13. display: flex;
  14. -ms-flex-item-align: center;
  15. align-self: center;
  16. font-weight: bold;
  17. font-size: $type-size-2; // DeepSpeed: increase size
  18. }
  19. .toc {
  20. font-family: $sans-serif-narrow;
  21. color: $gray;
  22. background-color: $background-color;
  23. border: 1px solid $border-color;
  24. border-radius: $border-radius;
  25. -webkit-box-shadow: $box-shadow;
  26. box-shadow: $box-shadow;
  27. //position: fixed;
  28. .nav__title {
  29. color: #fff;
  30. font-size: $type-size-6;
  31. background: $primary-color;
  32. border-top-left-radius: $border-radius;
  33. border-top-right-radius: $border-radius;
  34. }
  35. // Scrollspy marks toc items as .active when they are in focus
  36. .active a {
  37. @include yiq-contrasted($active-color);
  38. }
  39. }