style.css 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437
  1. /* Base */
  2. img {
  3. max-width: 100%;
  4. }
  5. .wrapper {
  6. position: relative;
  7. display: block;
  8. width: 100%;
  9. overflow: hidden;
  10. }
  11. /* Sections */
  12. .container {
  13. /*border-top: .1rem solid #d1d1d1;*/
  14. padding-top: 7.5rem;
  15. padding-bottom: 7.5rem;
  16. margin-bottom: 0;
  17. max-width: 80.0rem;
  18. }
  19. .example .row, .example.row, .example form {
  20. margin-bottom: 0;
  21. }
  22. .example h1, .example h2, .example h3, .example h4, .example h5, .example h6 {
  23. margin-bottom: 1rem;
  24. }
  25. /* Footer */
  26. .footer .container {
  27. padding-bottom: 0;
  28. padding-top: 0;
  29. }
  30. /* Header */
  31. .header {
  32. background-color: #f4f5f6;
  33. padding-top: 1rem;
  34. }
  35. @media (min-width: 40.0rem) {
  36. .header {
  37. padding-top: 5rem;
  38. }
  39. }
  40. .header .container {
  41. position: relative;
  42. border-top: 0;
  43. text-align: center;
  44. }
  45. .header .title {
  46. font-family: 'Gotham Rounded A', 'Gotham Rounded B', 'Helvetica Neue', Arial, sans-serif;
  47. }
  48. .header .img {
  49. height: 15.0rem;
  50. margin-bottom: 2rem;
  51. }
  52. .header + section {
  53. border-top: 0;
  54. }
  55. .header .button {
  56. margin-top: 2rem;
  57. margin-bottom: 4rem;
  58. }
  59. @media (min-width: 40.0rem) {
  60. .header .button {
  61. margin-top: 2rem;
  62. margin-bottom: 4rem;
  63. }
  64. }
  65. /* Typography
  66. */
  67. .heading-font-size {
  68. font-size: 1.2rem;
  69. color: #999;
  70. letter-spacing: normal;
  71. }
  72. /* Form */
  73. .example-send-yourself-copy {
  74. float: right;
  75. margin-top: 1.2rem;
  76. }
  77. /* Tips */
  78. .button-black {
  79. background-color: black;
  80. border-color: black;
  81. }
  82. .button-black.button-outline {
  83. color: black;
  84. }
  85. .button-black.button-clear {
  86. color: black;
  87. }
  88. .button-large {
  89. font-size: 1.4rem;
  90. height: 4.5rem;
  91. line-height: 4.5rem;
  92. padding: 0 2rem;
  93. }
  94. .button-small {
  95. font-size: .8rem;
  96. height: 2.8rem;
  97. line-height: 2.8rem;
  98. padding: 0 1.5rem;
  99. }
  100. /* Snippets, Exemples */
  101. .example {
  102. position: relative;
  103. margin-top: 4rem;
  104. }
  105. .example-header {
  106. font-weight: 600;
  107. margin-top: 1.5rem;
  108. margin-bottom: .5rem;
  109. }
  110. .example-description {
  111. margin-bottom: 1.5rem;
  112. }
  113. .example-screenshot-wrapper {
  114. display: block;
  115. position: relative;
  116. overflow: hidden;
  117. border-radius: .6rem;
  118. border: .1rem solid #d1d1d1;
  119. height: 25.0rem;
  120. }
  121. .example-screenshot {
  122. width: 100%;
  123. height: auto;
  124. }
  125. .example-screenshot.coming-soon {
  126. width: auto;
  127. position: absolute;
  128. background: #d1d1d1;
  129. top: .5rem;
  130. right: .5rem;
  131. bottom: .5rem;
  132. left: .5rem;
  133. }
  134. .example-screenshot-wrapper {
  135. position: absolute;
  136. width: 48%;
  137. height: 100%;
  138. left: 0;
  139. max-height: none;
  140. }
  141. /* Navbar */
  142. .navigation {
  143. left: 0;
  144. max-width: 100%;
  145. position: fixed;
  146. right: 0;
  147. top: 0;
  148. max-width: 100vw;
  149. z-index: 99;
  150. }
  151. /* Re-overiding the width 100% declaration to match size of% based container */
  152. .navigation .container {
  153. padding-top: 0;
  154. padding-bottom: 0;
  155. }
  156. .navigation {
  157. background: #f4f5f6;
  158. border-bottom: .1rem solid #d1d1d1;
  159. display: inline-block;
  160. height: 5.2rem;
  161. width: 100%;
  162. }
  163. .auth {
  164. display: inline-block;
  165. float: right;
  166. }
  167. .auth .button {
  168. display: inline-block;
  169. float: right;
  170. vertical-align: middle;
  171. margin-top: 0.8rem;
  172. }
  173. .auth .navigation-button {
  174. display: inline-block;
  175. width: 25%;
  176. vertical-align: middle;
  177. float: left;
  178. margin-left: 10px;
  179. }
  180. .auth input[type="password"] {
  181. width: 55%;
  182. display: inline-block;
  183. margin-left: 10px;
  184. float: left;
  185. text-align: left;
  186. vertical-align: middle;
  187. }
  188. @media (min-width: 80.0rem) {
  189. .navigation-list {
  190. margin-right: 0;
  191. }
  192. }
  193. .navigation-item {
  194. float: left;
  195. margin-bottom: 0;
  196. margin-left: 2.5rem;
  197. position: relative;
  198. }
  199. .navigation .img {
  200. position: relative;
  201. top: .3rem;
  202. height: 2.0rem;
  203. }
  204. .navigation .title,
  205. .navigation-title {
  206. color: #606c76;
  207. display: inline;
  208. font-family: 'Gotham Rounded A', 'Gotham Rounded B', 'Helvetica Neue', Arial, sans-serif;
  209. line-height: 5.2rem;
  210. font-size: 1.6rem;
  211. padding: 0;
  212. position: relative;
  213. text-decoration: none;
  214. }
  215. .navigation-button {
  216. font-familiy: "Roboto";
  217. display: inline-block;
  218. position: relative;
  219. font-size: 1.6rem;
  220. padding: 0px 1.3rem;
  221. margin-top: 1rem;
  222. float: right;
  223. }
  224. .navigation-link {
  225. display: inline;
  226. line-height: 5.2rem;
  227. font-size: 1.6rem;
  228. padding: 0;
  229. text-decoration: none;
  230. }
  231. .navigation-link.active {
  232. color: #606c76;
  233. }
  234. @-webkit-keyframes octocat-wave {
  235. 0% , 50% {
  236. -webkit-transform: rotate(0);
  237. -moz-transform: rotate(0);
  238. -ms-transform: rotate(0);
  239. -o-transform: rotate(0);
  240. transform: rotate(0);
  241. }
  242. 25% , 75% {
  243. -webkit-transform: rotate(-25deg);
  244. -moz-transform: rotate(-25deg);
  245. -ms-transform: rotate(-25deg);
  246. -o-transform: rotate(-25deg);
  247. transform: rotate(-25deg);
  248. }
  249. }
  250. @-moz-keyframes octocat-wave {
  251. 0% , 50% {
  252. -webkit-transform: rotate(0);
  253. -moz-transform: rotate(0);
  254. -ms-transform: rotate(0);
  255. -o-transform: rotate(0);
  256. transform: rotate(0);
  257. }
  258. 25% , 75% {
  259. -webkit-transform: rotate(-25deg);
  260. -moz-transform: rotate(-25deg);
  261. -ms-transform: rotate(-25deg);
  262. -o-transform: rotate(-25deg);
  263. transform: rotate(-25deg);
  264. }
  265. }
  266. @-ms-keyframes octocat-wave {
  267. 0% , 50% {
  268. -webkit-transform: rotate(0);
  269. -moz-transform: rotate(0);
  270. -ms-transform: rotate(0);
  271. -o-transform: rotate(0);
  272. transform: rotate(0);
  273. }
  274. 25% , 75% {
  275. -webkit-transform: rotate(-25deg);
  276. -moz-transform: rotate(-25deg);
  277. -ms-transform: rotate(-25deg);
  278. -o-transform: rotate(-25deg);
  279. transform: rotate(-25deg);
  280. }
  281. }
  282. @-o-keyframes octocat-wave {
  283. 0% , 50% {
  284. -webkit-transform: rotate(0);
  285. -moz-transform: rotate(0);
  286. -ms-transform: rotate(0);
  287. -o-transform: rotate(0);
  288. transform: rotate(0);
  289. }
  290. 25% , 75% {
  291. -webkit-transform: rotate(-25deg);
  292. -moz-transform: rotate(-25deg);
  293. -ms-transform: rotate(-25deg);
  294. -o-transform: rotate(-25deg);
  295. transform: rotate(-25deg);
  296. }
  297. }
  298. @keyframes octocat-wave {
  299. 0% , 50% {
  300. -webkit-transform: rotate(0);
  301. transform: rotate(0);
  302. }
  303. 25% , 75% {
  304. -webkit-transform: rotate(-25deg);
  305. transform: rotate(-25deg);
  306. }
  307. }
  308. @media (min-width: 40.0rem) {
  309. .only-mobile {
  310. display: none;
  311. }
  312. }
  313. .password-box {
  314. border: 0.1rem solid #D1D1D1;
  315. border-radius: 0.4rem;
  316. margin-bottom: 1rem;
  317. padding-top: 2rem;
  318. padding-bottom: 4rem;
  319. }
  320. .container-nav {
  321. padding-right: 0px;
  322. }
  323. .tags {
  324. height: 10%;
  325. position: relative;
  326. margin-top: 0;
  327. padding-top: 0rem;
  328. top: 80%;
  329. }
  330. .password-box strong {
  331. font-family: 'ColaborateMediumRegular', Arial, sans-serif;
  332. font-weight: 700;
  333. }
  334. .tag-button {
  335. }
  336. .button-tag {
  337. padding: 0px 0px;
  338. }
  339. .modalDialog {
  340. position: fixed;
  341. font-family: Arial, Helvetica, sans-serif;
  342. top: 0;
  343. right: 0;
  344. bottom: 0;
  345. left: 0;
  346. background: rgba(0,0,0,0.8);
  347. z-index: 99999;
  348. opacity:0;
  349. -webkit-transition: opacity 400ms ease-in;
  350. -moz-transition: opacity 400ms ease-in;
  351. transition: opacity 400ms ease-in;
  352. pointer-events: none;
  353. }
  354. .modalDialog:target {
  355. opacity:1;
  356. pointer-events: auto;
  357. }
  358. .modalDialog > div {
  359. width: 400px;
  360. position: relative;
  361. margin: 10% auto;
  362. padding: 5px 20px 13px 20px;
  363. border-radius: 10px;
  364. background: #fff;
  365. background: -moz-linear-gradient(#fff, #999);
  366. background: -webkit-linear-gradient(#fff, #999);
  367. background: -o-linear-gradient(#fff, #999);
  368. }
  369. .close {
  370. background: #606061;
  371. color: #FFFFFF;
  372. line-height: 25px;
  373. position: absolute;
  374. right: -12px;
  375. text-align: center;
  376. top: -10px;
  377. width: 24px;
  378. text-decoration: none;
  379. font-weight: bold;
  380. -webkit-border-radius: 12px;
  381. -moz-border-radius: 12px;
  382. border-radius: 12px;
  383. -moz-box-shadow: 1px 1px 3px #000;
  384. -webkit-box-shadow: 1px 1px 3px #000;
  385. box-shadow: 1px 1px 3px #000;
  386. }
  387. .close:hover { background: #00d9ff; }