You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
1.9 KiB

  1. .markdown-content {
  2. font-size: 1rem;
  3. color: mc('blue-grey', '800');
  4. // --------------------------------------------
  5. // Headers
  6. // --------------------------------------------
  7. h1, h2, h3, h4, h5, h6 {
  8. color: mc('blue-grey', '700');
  9. font-weight: 500;
  10. }
  11. > * + h1, > * + h2, > * + h3, > * + h4 {
  12. margin-top: 1rem;
  13. }
  14. h1 {
  15. font-size: 1.5rem;
  16. border-bottom: 2px solid mc('blue-grey', '100');
  17. margin-bottom: 1rem;
  18. }
  19. h2 {
  20. font-size: 1.25rem;
  21. border-bottom: 1px solid mc('blue-grey', '100');
  22. margin-bottom: .75rem;
  23. }
  24. h3 {
  25. font-size: 1.15rem;
  26. border-bottom: 1px dotted mc('blue-grey', '100');
  27. margin-bottom: .5rem;
  28. color: mc('blue-grey', '500');
  29. }
  30. h4 {
  31. font-size: 1.1rem;
  32. }
  33. h5 {
  34. font-size: 1.05rem;
  35. }
  36. h6 {
  37. font-size: 1.025rem;
  38. }
  39. // --------------------------------------------
  40. // Paragraphs
  41. // --------------------------------------------
  42. p + p {
  43. margin-top: 1rem;
  44. }
  45. // --------------------------------------------
  46. // Lists
  47. // --------------------------------------------
  48. ul, ol {
  49. & + p {
  50. margin-top: .5rem;
  51. }
  52. }
  53. ul {
  54. list-style-type: square;
  55. list-style-position: inside;
  56. }
  57. ol {
  58. list-style-type: decimal;
  59. list-style-position: inside;
  60. }
  61. // --------------------------------------------
  62. // Code Blocks
  63. // --------------------------------------------
  64. > pre {
  65. border: none;
  66. border-radius: 5px;
  67. box-shadow: initial;
  68. background-color: mc('blue-grey', '900');
  69. padding: 1rem 1rem 1rem 3rem;
  70. > code {
  71. box-shadow: initial;
  72. display: block;
  73. font-size: .85rem;
  74. font-family: 'Source Code Pro', monospace;
  75. &:after, &:before {
  76. content: initial;
  77. letter-spacing: initial;
  78. }
  79. }
  80. }
  81. .task-list-item {
  82. display: flex;
  83. align-items: center;
  84. &-checkbox {
  85. margin-right: .5rem;
  86. }
  87. }
  88. }