hugo-theme.css 4.9 KB

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