hugo-theme.css 5.5 KB

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