_markdown.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. .markdown {
  2. line-height: 1.75;
  3. h1, h2, h3, h4 {
  4. margin: $gap-5 0 $gap-2;
  5. a {
  6. text-decoration: none;
  7. &:hover {
  8. text-decoration: underline;
  9. }
  10. }
  11. }
  12. h1 {
  13. margin-bottom: $gap-5;
  14. font-weight: $font-weight-black;
  15. +.lead {
  16. margin-top: -$gap-3;
  17. }
  18. }
  19. h2 {
  20. margin-top: $gap-6;
  21. }
  22. .h-subheader {
  23. +h1 {
  24. margin-top: 0;
  25. }
  26. }
  27. ul,
  28. ol {
  29. li {
  30. margin-bottom: $gap-2;
  31. }
  32. }
  33. a {
  34. &:hover {
  35. text-decoration: none;
  36. }
  37. }
  38. .lead {
  39. color: $color-muted;
  40. font-size: $font-size-h4;
  41. }
  42. >:first-child {
  43. margin-top: 0;
  44. }
  45. >:last-child {
  46. margin-bottom: 0;
  47. }
  48. .contains-task-list {
  49. list-style: none;
  50. padding: 0;
  51. margin-left: 0;
  52. }
  53. table {
  54. margin-bottom: $gap-4;
  55. border-collapse: collapse;
  56. border: 1px solid $color-border;
  57. }
  58. th, td {
  59. border: 1px solid $color-border;
  60. padding: $gap-1 $gap-3;
  61. }
  62. .guide-image {
  63. float: right;
  64. margin: 0 -10rem 1.5rem 4rem;
  65. display: none;
  66. @include media-breakpoint-up(xl) {
  67. display: block;
  68. }
  69. }
  70. }