main.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {{- $scr := .Scratch -}}
  2. {{- $site := $scr.Get "site" -}}
  3. {{/* Don't use partialCached as can error when admin changes theme config whilst `hugo server` is running. */}}
  4. {{- partial "functions/parse_theme" . -}}
  5. $sta-darken-percentage: 10%;
  6. $sta-lighten-percentage: 10%;
  7. $sta-font-size: {{ $scr.Get "font_size" }};
  8. $sta-font-size-small: {{ $scr.Get "font_size_small" }};
  9. $sta-font-body: "{{ $scr.Get "body_font" }}";
  10. $sta-font-heading: "{{ $scr.Get "heading_font" }}";
  11. $sta-font-nav: "{{ $scr.Get "nav_font" }}";
  12. $sta-font-mono: "{{ $scr.Get "mono_font" }}";
  13. $sta-primary: {{ $scr.Get "primary" }};
  14. $sta-primary-light: lighten($sta-primary, $sta-lighten-percentage);
  15. $sta-primary-dark: darken($sta-primary, $sta-darken-percentage);
  16. $sta-link: {{ $scr.Get "link" }};
  17. $sta-link-hover: {{ $scr.Get "link_hover" }};
  18. $sta-menu-primary: {{ $scr.Get "menu_primary" }};
  19. $sta-menu-text: {{ $scr.Get "menu_text" }};
  20. $sta-menu-text-active: {{ $scr.Get "menu_text_active" }};
  21. $sta-menu-title: {{ $scr.Get "menu_title" }};
  22. $sta-background: {{ $scr.Get "background" }};
  23. $sta-dark-background: {{ $scr.Get "dark_background" }};
  24. $sta-home-section-odd: {{ $scr.Get "home_section_odd" }};
  25. $sta-home-section-even: {{ $scr.Get "home_section_even" }};
  26. $sta-dark-home-section-odd: {{ $scr.Get "dark_home_section_odd" }};
  27. $sta-dark-home-section-even: {{ $scr.Get "dark_home_section_even" }};
  28. @import "bootstrap_variables";
  29. @import "vendor/bootstrap/bootstrap";
  30. @import "academic/academic";
  31. @import "custom";