_content.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. #root {
  2. padding-top: 52px;
  3. }
  4. #page-type-view > section {
  5. transition: background-color .5s ease;
  6. &.blurred {
  7. background-color: $grey-lighter;
  8. }
  9. }
  10. .sd-menus {
  11. width: 300px;
  12. }
  13. .menu {
  14. .menu-list a, .menu-nav a {
  15. display: flex;
  16. align-items: center;
  17. }
  18. .menu-list .icon {
  19. margin-right: 8px
  20. }
  21. }
  22. .section.is-small {
  23. padding: 20px 20px;
  24. }
  25. .mkcontent {
  26. h1 {
  27. border-bottom: 1px dotted $blue;
  28. padding-bottom: 4px;
  29. font-weight: 400;
  30. color: desaturate($blue, 20%);
  31. }
  32. h2 {
  33. border-bottom: 1px dotted $grey-light;
  34. padding-bottom: 4px;
  35. font-weight: 400;
  36. color: desaturate($purple, 20%);
  37. }
  38. a.toc-anchor {
  39. font-size: 80%;
  40. color: $blue;
  41. border-bottom: none;
  42. &:visited {
  43. color: $purple !important;
  44. }
  45. }
  46. a.external-link {
  47. position: relative;
  48. padding-left: 20px;
  49. &:before {
  50. content: "\f08e";
  51. font-family: FontAwesome;
  52. font-style: normal;
  53. font-weight: normal;
  54. text-decoration: inherit;
  55. color: $grey;
  56. font-size: 14px;
  57. position: absolute;
  58. top: 0;
  59. left: 0;
  60. }
  61. }
  62. pre {
  63. padding: 0;
  64. font-family: $family-monospace;
  65. > code {
  66. box-shadow: inset 0 0 5px 0 $grey-light;
  67. border-radius: 5px;
  68. }
  69. }
  70. pre + p {
  71. padding-top: 1em;
  72. }
  73. img.right {
  74. float:right;
  75. }
  76. img.pagelogo {
  77. float: right;
  78. margin-top: -50px;
  79. max-width: 200px;
  80. background-color: #FFF;
  81. }
  82. strong {
  83. color: $grey-dark;
  84. }
  85. .twa {
  86. font-size: 120%;
  87. }
  88. table thead th {
  89. background-color: $blue;
  90. color: #FFF;
  91. border-color: #FFF;
  92. border-bottom-color: $blue;
  93. border-top-color: $blue;
  94. &:first-child {
  95. border-left-color: $blue;
  96. }
  97. &:last-child {
  98. border-right-color: $blue;
  99. }
  100. }
  101. }
  102. .content a:not(.button):visited {
  103. color: $turquoise;
  104. font-weight: 500;
  105. }
  106. code {
  107. font-weight: 500;
  108. color: $purple;
  109. }
  110. p code {
  111. padding: 2px 5px;
  112. border-radius: 4px;
  113. }
  114. .modal {
  115. align-items: flex-start;
  116. }
  117. .modal-background {
  118. animation: 0.4s ease fadeIn;
  119. }
  120. .modal-content {
  121. animation: 0.4s ease slideInDown;
  122. }
  123. .card-header {
  124. background-color: $turquoise;
  125. &.is-warning {
  126. background-color: $orange;
  127. }
  128. &.is-danger {
  129. background-color: $red;
  130. }
  131. &.is-info {
  132. background-color: $purple;
  133. }
  134. }
  135. .card-header-title {
  136. color: #FFF;
  137. font-weight: 400;
  138. font-size: 16px;
  139. padding: 10px 20px;
  140. }
  141. .modal-content .card-footer-item {
  142. font-weight: 500;
  143. }
  144. .modal-content .card-footer-item.featured {
  145. animation: flash 4s ease 0 infinite;
  146. }