_content.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. #page-type-view > section {
  2. transition: background-color .5s ease;
  3. &.blurred {
  4. background-color: mc('grey', '50');
  5. }
  6. }
  7. .sd-menus {
  8. width: 300px;
  9. }
  10. .menu {
  11. .menu-list a, .menu-nav a {
  12. display: flex;
  13. align-items: center;
  14. }
  15. .menu-list .icon {
  16. margin-right: 8px
  17. }
  18. }
  19. .section.is-small {
  20. padding: 20px 20px;
  21. }
  22. .mkcontent {
  23. h1 {
  24. border-bottom: 1px dotted mc('blue', '500');
  25. padding-bottom: 4px;
  26. font-weight: 400;
  27. color: desaturate(mc('blue', '500'), 20%);
  28. }
  29. h2 {
  30. border-bottom: 1px dotted mc('grey', '100');
  31. padding-bottom: 4px;
  32. font-weight: 400;
  33. color: desaturate(mc('purple', '500'), 20%);
  34. }
  35. a.toc-anchor {
  36. font-size: 80%;
  37. color: mc('blue', '500');
  38. border-bottom: none;
  39. &:visited {
  40. color: mc('purple', '500') !important;
  41. }
  42. }
  43. a.external-link {
  44. position: relative;
  45. padding-left: 20px;
  46. &:before {
  47. content: "\f08e";
  48. font-family: FontAwesome;
  49. font-style: normal;
  50. font-weight: normal;
  51. text-decoration: inherit;
  52. color: mc('grey', '500');
  53. font-size: 14px;
  54. position: absolute;
  55. top: 0;
  56. left: 0;
  57. }
  58. }
  59. pre {
  60. padding: 0;
  61. font-family: $core-font-monospace;
  62. > code {
  63. box-shadow: inset 0 0 5px 0 mc('grey', '100');
  64. border-radius: 5px;
  65. }
  66. }
  67. pre + p {
  68. padding-top: 1em;
  69. }
  70. img.right {
  71. float:right;
  72. }
  73. img.pagelogo {
  74. float: right;
  75. margin-top: -75px;
  76. max-width: 200px;
  77. background-color: #FFF;
  78. }
  79. strong {
  80. color: mc('grey', '700');
  81. }
  82. .twa {
  83. font-size: 120%;
  84. }
  85. table thead th {
  86. background-color: mc('blue', '500');
  87. color: #FFF;
  88. border-color: #FFF;
  89. border-bottom-color: mc('blue', '500');
  90. border-top-color: mc('blue', '500');
  91. &:first-child {
  92. border-left-color: mc('blue', '500');
  93. }
  94. &:last-child {
  95. border-right-color: mc('blue', '500');
  96. }
  97. }
  98. }
  99. .content a:not(.button):visited {
  100. color: mc('teal', '500');
  101. font-weight: 500;
  102. }
  103. code {
  104. font-weight: 500;
  105. color: mc('purple', '500');
  106. }
  107. p code {
  108. padding: 2px 5px;
  109. border-radius: 4px;
  110. }