_base.scss 935 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. @import "nanogram/nanogram";
  2. .body {
  3. /* Use body class and don't extend grid, footer unsticks */
  4. width: 100%;
  5. display: flex;
  6. flex-direction: column;
  7. min-height: 100vh;
  8. background-color: $background-color;
  9. }
  10. .body > * { flex: 1 1 auto }
  11. .divider {
  12. align-self: center;
  13. margin: $leading;
  14. width: 60%;
  15. }
  16. .main {
  17. @extend .container;
  18. display: flex;
  19. flex-direction: column;
  20. justify-content: space-between;
  21. }
  22. header {
  23. h1 { text-align: center }
  24. }
  25. .front-page,
  26. .item,
  27. .post {
  28. ul li:before {
  29. content: "\2014\ "; // unicode for "— "
  30. color: $border-color;
  31. font-size: 1rem;
  32. }
  33. }
  34. .centered-image {
  35. display: flex;
  36. flex-direction: row;
  37. justify-content: space-around;
  38. margin: 0;
  39. }
  40. @import
  41. "components/code",
  42. "components/code_theme",
  43. "components/headings",
  44. "components/table",
  45. "components/blockquote",
  46. "components/divider",
  47. "components/pagination",
  48. "components/hyperlinks";