Blog-style website for karathan using the self-made Stellar Theme powered by HTML5Up http://blog.karathan.at

_footer.scss 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ///
  2. /// Stellar by HTML5 UP
  3. /// html5up.net | @ajlkn
  4. /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
  5. ///
  6. /* Footer */
  7. #footer {
  8. @include vendor('display', 'flex');
  9. @include vendor('flex-wrap', 'wrap');
  10. @include padding(5em, 5em);
  11. width: calc(100% + #{_size(element-margin)});
  12. margin: 0 0 (_size(element-margin) * 1.5) (_size(element-margin) * -1);
  13. > * {
  14. width: calc(50% - #{_size(element-margin)});
  15. margin-left: _size(element-margin);
  16. }
  17. .copyright {
  18. width: 100%;
  19. margin: (_size(element-margin) * 1.25) 0 _size(element-margin) 0;
  20. font-size: 0.8em;
  21. text-align: center;
  22. }
  23. @include breakpoint('<=large') {
  24. @include padding(4em, 4em);
  25. }
  26. @include breakpoint('<=medium') {
  27. @include padding(4em, 3em);
  28. display: block;
  29. margin: 0 0 (_size(element-margin) * 1.5) 0;
  30. width: 100%;
  31. > * {
  32. width: 100%;
  33. margin-left: 0;
  34. margin-bottom: (_size(element-margin) * 1.5);
  35. }
  36. .copyright {
  37. text-align: left;
  38. }
  39. }
  40. @include breakpoint('<=small') {
  41. @include padding(3em, 2em);
  42. }
  43. @include breakpoint('<=xsmall') {
  44. @include padding(3em, 1.5em);
  45. }
  46. @include breakpoint('<=xsmall') {
  47. @include padding(2.5em, 1em);
  48. }
  49. }