custom.css 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. .container {
  2. max-width: 800px;
  3. }
  4. .header {
  5. padding-top: 6rem;
  6. text-align: center;
  7. }
  8. .value-prop {
  9. margin-top: 1rem;
  10. }
  11. .value-props {
  12. margin-top: 4rem;
  13. margin-bottom: 4rem;
  14. }
  15. .docs-header {
  16. text-transform: uppercase;
  17. font-size: 1.4rem;
  18. letter-spacing: .2rem;
  19. font-weight: 600;
  20. }
  21. .docs-section {
  22. border-top: 1px solid #eee;
  23. padding: 4rem 0;
  24. margin-bottom: 0;
  25. }
  26. .value-img {
  27. display: block;
  28. text-align: center;
  29. margin: 2.5rem auto 0;
  30. }
  31. .example-grid .column,
  32. .example-grid .columns {
  33. background: #EEE;
  34. text-align: center;
  35. border-radius: 4px;
  36. font-size: 1rem;
  37. text-transform: uppercase;
  38. height: 30px;
  39. line-height: 30px;
  40. margin-bottom: .75rem;
  41. font-weight: 600;
  42. letter-spacing: .1rem;
  43. }
  44. .docs-example .row,
  45. .docs-example.row,
  46. .docs-example form {
  47. margin-bottom: 0;
  48. }
  49. .docs-example h1,
  50. .docs-example h2,
  51. .docs-example h3,
  52. .docs-example h4,
  53. .docs-example h5,
  54. .docs-example h6 {
  55. margin-bottom: 1rem;
  56. }
  57. .heading-font-size {
  58. font-size: 1.2rem;
  59. color: #999;
  60. letter-spacing: normal;
  61. }
  62. .code-example {
  63. margin-top: 1.5rem;
  64. margin-bottom: 0;
  65. }
  66. .code-example-body {
  67. white-space: pre;
  68. word-wrap: break-word
  69. }
  70. .example {
  71. position: relative;
  72. margin-top: 4rem;
  73. }
  74. .example-header {
  75. font-weight: 600;
  76. margin-top: 1.5rem;
  77. margin-bottom: .5rem;
  78. }
  79. .example-description {
  80. margin-bottom: 1.5rem;
  81. }
  82. .example-screenshot-wrapper {
  83. display: block;
  84. position: relative;
  85. overflow: hidden;
  86. border-radius: 6px;
  87. border: 1px solid #eee;
  88. height: 250px;
  89. }
  90. .example-screenshot {
  91. width: 100%;
  92. height: auto;
  93. }
  94. .example-screenshot.coming-soon {
  95. width: auto;
  96. position: absolute;
  97. background: #eee;
  98. top: 5px;
  99. right: 5px;
  100. bottom: 5px;
  101. left: 5px;
  102. }
  103. .navbar {
  104. display: none;
  105. }
  106. /* Larger than phone */
  107. @media (min-width: 550px) {
  108. .header {
  109. padding-top: 18rem;
  110. }
  111. .value-props {
  112. margin-top: 9rem;
  113. margin-bottom: 7rem;
  114. }
  115. .value-img {
  116. margin-bottom: 1rem;
  117. }
  118. .example-grid .column,
  119. .example-grid .columns {
  120. margin-bottom: 1.5rem;
  121. }
  122. .docs-section {
  123. padding: 6rem 0;
  124. }
  125. .example-send-yourself-copy {
  126. float: right;
  127. margin-top: 12px;
  128. }
  129. .example-screenshot-wrapper {
  130. position: absolute;
  131. width: 48%;
  132. height: 100%;
  133. left: 0;
  134. max-height: none;
  135. }
  136. }
  137. /* Larger than tablet */
  138. @media (min-width: 750px) {
  139. /* Navbar */
  140. .navbar+.docs-section {
  141. border-top-width: 0;
  142. }
  143. .navbar,
  144. .navbar-spacer {
  145. display: block;
  146. width: 100%;
  147. height: 6.5rem;
  148. background: #fff;
  149. z-index: 99;
  150. border-top: 1px solid #eee;
  151. border-bottom: 1px solid #eee;
  152. }
  153. .navbar-spacer {
  154. display: none;
  155. }
  156. .navbar>.container {
  157. width: 100%;
  158. }
  159. .navbar-list {
  160. list-style: none;
  161. margin-bottom: 0;
  162. }
  163. .navbar-item {
  164. position: relative;
  165. float: left;
  166. margin-bottom: 0;
  167. }
  168. .navbar-link {
  169. text-transform: uppercase;
  170. font-size: 11px;
  171. font-weight: 600;
  172. letter-spacing: .2rem;
  173. margin-right: 35px;
  174. text-decoration: none;
  175. line-height: 6.5rem;
  176. color: #222;
  177. }
  178. .navbar-link.active {
  179. color: #33C3F0;
  180. }
  181. .has-docked-nav .navbar {
  182. position: fixed;
  183. top: 0;
  184. left: 0;
  185. }
  186. .has-docked-nav .navbar-spacer {
  187. display: block;
  188. }
  189. /* Re-overiding the width 100% declaration to match size of % based container */
  190. .has-docked-nav .navbar>.container {
  191. width: 80%;
  192. }
  193. /* Popover */
  194. .popover.open {
  195. display: block;
  196. }
  197. .popover {
  198. display: none;
  199. position: absolute;
  200. top: 0;
  201. left: 0;
  202. background: #fff;
  203. border: 1px solid #eee;
  204. border-radius: 4px;
  205. top: 92%;
  206. left: -50%;
  207. -webkit-filter: drop-shadow(0 0 6px rgba(0, 0, 0, .1));
  208. -moz-filter: drop-shadow(0 0 6px rgba(0, 0, 0, .1));
  209. filter: drop-shadow(0 0 6px rgba(0, 0, 0, .1));
  210. }
  211. .popover-item:first-child .popover-link:after,
  212. .popover-item:first-child .popover-link:before {
  213. bottom: 100%;
  214. left: 50%;
  215. border: solid transparent;
  216. content: " ";
  217. height: 0;
  218. width: 0;
  219. position: absolute;
  220. pointer-events: none;
  221. }
  222. .popover-item:first-child .popover-link:after {
  223. border-color: rgba(255, 255, 255, 0);
  224. border-bottom-color: #fff;
  225. border-width: 10px;
  226. margin-left: -10px;
  227. }
  228. .popover-item:first-child .popover-link:before {
  229. border-color: rgba(238, 238, 238, 0);
  230. border-bottom-color: #eee;
  231. border-width: 11px;
  232. margin-left: -11px;
  233. }
  234. .popover-list {
  235. padding: 0;
  236. margin: 0;
  237. list-style: none;
  238. }
  239. .popover-item {
  240. padding: 0;
  241. margin: 0;
  242. }
  243. .popover-link {
  244. position: relative;
  245. color: #222;
  246. display: block;
  247. padding: 8px 20px;
  248. border-bottom: 1px solid #eee;
  249. text-decoration: none;
  250. text-transform: uppercase;
  251. font-size: 1.0rem;
  252. font-weight: 600;
  253. text-align: center;
  254. letter-spacing: .1rem;
  255. }
  256. .popover-item:first-child .popover-link {
  257. border-radius: 4px 4px 0 0;
  258. }
  259. .popover-item:last-child .popover-link {
  260. border-radius: 0 0 4px 4px;
  261. border-bottom-width: 0;
  262. }
  263. .popover-link:hover {
  264. color: #fff;
  265. background: #33C3F0;
  266. }
  267. .popover-link:hover,
  268. .popover-item:first-child .popover-link:hover:after {
  269. border-bottom-color: #33C3F0;
  270. }
  271. }
  272. body {
  273. background-color: #222;
  274. color: lightgray;
  275. }
  276. .parallaxbox {
  277. background-image: url("https://wallpapercave.com/wp/xIzYo2d.jpg");
  278. background-attachment: fixed;
  279. background-position: center;
  280. background-repeat: no-repeat;
  281. background-size: cover;
  282. min-height: 30rem;
  283. display: flex;
  284. flex-direction: row;
  285. flex-wrap: wrap;
  286. align-items: center;
  287. justify-content: space-around;
  288. }
  289. .parallaxbox .button {
  290. margin-bottom: 0;
  291. }
  292. .button {
  293. background-color: green;
  294. color: lightgray;
  295. }
  296. .playerbox {
  297. display: flex;
  298. flex-direction: column;
  299. align-items: center;
  300. margin-top: 2rem;
  301. }
  302. .playerline {
  303. display: flex;
  304. flex-direction: row;
  305. align-items: center;
  306. justify-content: center;
  307. padding: 2rem;
  308. font-size: large;
  309. background-color: #333;
  310. }
  311. .playerline img {
  312. max-height: 5rem;
  313. margin-right: 2rem;
  314. }
  315. a .playerline span {
  316. text-decoration: none;
  317. color: green;
  318. }
  319. .header img {
  320. max-width: 100px;
  321. }