hugo-theme.css 5.5 KB

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