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.

240 lines
4.6 KiB

2 years ago
  1. /* Insert here special css for hugo theme, on top of any other imported css */
  2. /* Table of contents */
  3. .progress ul {
  4. list-style: none;
  5. margin: 0;
  6. padding: 0 15px;
  7. }
  8. #TableOfContents {
  9. font-size: 13px !important;
  10. max-height: 85vh;
  11. overflow: auto;
  12. padding: 15px 5px !important;
  13. }
  14. #TableOfContents > ul > li > a {
  15. font-weight: bold;
  16. }
  17. body {
  18. font-size: 16px !important;
  19. color: #323232 !important;
  20. }
  21. #body a.highlight, #body a.highlight:hover, #body a.highlight:focus {
  22. text-decoration: none;
  23. outline: none;
  24. outline: 0;
  25. }
  26. #body a.highlight {
  27. line-height: 1.1;
  28. display: inline-block;
  29. }
  30. #body a.highlight:after {
  31. display: block;
  32. content: "";
  33. height: 1px;
  34. width: 0%;
  35. background-color: #0082a7; /*#CE3B2F*/
  36. -webkit-transition: width 0.5s ease;
  37. -moz-transition: width 0.5s ease;
  38. -ms-transition: width 0.5s ease;
  39. transition: width 0.5s ease;
  40. }
  41. #body a.highlight:hover:after, #body a.highlight:focus:after {
  42. width: 100%;
  43. }
  44. .progress {
  45. position:absolute;
  46. background-color: rgba(246, 246, 246, 0.97);
  47. width: auto;
  48. border: thin solid #ECECEC;
  49. display:none;
  50. z-index:200;
  51. }
  52. #toc-menu {
  53. border-right: thin solid #DAD8D8 !important;
  54. padding-right: 1rem !important;
  55. margin-right: 0.5rem !important;
  56. }
  57. #sidebar-toggle-span {
  58. border-right: thin solid #DAD8D8 !important;
  59. padding-right: 0.5rem !important;
  60. margin-right: 1rem !important;
  61. }
  62. .btn {
  63. display: inline-block !important;
  64. padding: 6px 12px !important;
  65. margin-bottom: 0 !important;
  66. font-size: 14px !important;
  67. font-weight: normal !important;
  68. line-height: 1.42857143 !important;
  69. text-align: center !important;
  70. white-space: nowrap !important;
  71. vertical-align: middle !important;
  72. -ms-touch-action: manipulation !important;
  73. touch-action: manipulation !important;
  74. cursor: pointer !important;
  75. -webkit-user-select: none !important;
  76. -moz-user-select: none !important;
  77. -ms-user-select: none !important;
  78. user-select: none !important;
  79. background-image: none !important;
  80. border: 1px solid transparent !important;
  81. border-radius: 4px !important;
  82. -webkit-transition: all 0.15s !important;
  83. -moz-transition: all 0.15s !important;
  84. transition: all 0.15s !important;
  85. }
  86. .btn:focus {
  87. /*outline: thin dotted;
  88. outline: 5px auto -webkit-focus-ring-color;
  89. outline-offset: -2px;*/
  90. outline: none !important;
  91. }
  92. .btn:hover,
  93. .btn:focus {
  94. color: #2b2b2b !important;
  95. text-decoration: none !important;
  96. }
  97. .btn-default {
  98. color: #333 !important;
  99. background-color: #fff !important;
  100. border-color: #ccc !important;
  101. }
  102. .btn-default:hover,
  103. .btn-default:focus,
  104. .btn-default:active {
  105. color: #fff !important;
  106. background-color: #9e9e9e !important;
  107. border-color: #9e9e9e !important;
  108. }
  109. .btn-default:active {
  110. background-image: none !important;
  111. }
  112. /* anchors */
  113. .anchor {
  114. color: #00bdf3;
  115. font-size: 0.5em;
  116. cursor:pointer;
  117. visibility:hidden;
  118. margin-left: 0.5em;
  119. position: absolute;
  120. margin-top:0.1em;
  121. }
  122. h2:hover .anchor, h3:hover .anchor, h4:hover .anchor, h5:hover .anchor, h6:hover .anchor {
  123. visibility:visible;
  124. }
  125. /* Redfines headers style */
  126. h2, h3, h4, h5, h6 {
  127. font-weight: 400;
  128. line-height: 1.1;
  129. }
  130. h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  131. font-weight: inherit;
  132. }
  133. h2 {
  134. font-size: 2.5rem;
  135. line-height: 110% !important;
  136. margin: 2.5rem 0 1.5rem 0;
  137. }
  138. h3 {
  139. font-size: 2rem;
  140. line-height: 110% !important;
  141. margin: 2rem 0 1rem 0;
  142. }
  143. h4 {
  144. font-size: 1.5rem;
  145. line-height: 110% !important;
  146. margin: 1.5rem 0 0.75rem 0;
  147. }
  148. h5 {
  149. font-size: 1rem;
  150. line-height: 110% !important;
  151. margin: 1rem 0 0.2rem 0;
  152. }
  153. h6 {
  154. font-size: 0.5rem;
  155. line-height: 110% !important;
  156. margin: 0.5rem 0 0.2rem 0;
  157. }
  158. p {
  159. margin: 1rem 0;
  160. }
  161. figcaption h4 {
  162. font-weight: 300 !important;
  163. opacity: .85;
  164. font-size: 1em;
  165. text-align: center;
  166. margin-top: -1.5em;
  167. }
  168. .select-style {
  169. border: 0;
  170. width: 150px;
  171. border-radius: 0px;
  172. overflow: hidden;
  173. display: inline-flex;
  174. }
  175. .select-style svg {
  176. fill: #ccc;
  177. width: 14px;
  178. height: 14px;
  179. pointer-events: none;
  180. margin: auto;
  181. }
  182. .select-style svg:hover {
  183. fill: #e6e6e6;
  184. }
  185. .select-style select {
  186. padding: 0;
  187. width: 130%;
  188. border: none;
  189. box-shadow: none;
  190. background: transparent;
  191. background-image: none;
  192. -webkit-appearance: none;
  193. margin: auto;
  194. margin-left: 0px;
  195. margin-right: -20px;
  196. }
  197. .select-style select:focus {
  198. outline: none;
  199. }
  200. .select-style :hover {
  201. cursor: pointer;
  202. }
  203. @media only all and (max-width: 47.938em) {
  204. #breadcrumbs .links, #top-github-link-text {
  205. display: none;
  206. }
  207. }
  208. .is-sticky #top-bar {
  209. box-shadow: -1px 2px 5px 1px rgba(0, 0, 0, 0.1);
  210. }