main.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  1. html, body {
  2. margin: 0;
  3. padding: 0;
  4. font-family: 'Source Sans Pro', sans-serif;
  5. text-rendering: optimizeLegibility;
  6. color: #222;
  7. overflow-x: hidden;
  8. }
  9. h4 {
  10. font-size: 22px;
  11. margin-bottom: 28px;
  12. }
  13. p {
  14. font-size: 22px;
  15. }
  16. a,
  17. a:hover,
  18. a:active,
  19. a:visited {
  20. text-decoration: none;
  21. color: #5000F1;
  22. }
  23. header h2 {
  24. font-size: 15px;
  25. font-weight: 900;
  26. letter-spacing: 0.15em;
  27. margin-top: 70px;
  28. }
  29. header a h2 {
  30. color: #222;
  31. }
  32. header a h2 span {
  33. transition: all 400ms cubic-bezier(0.68, -0.1, 0.265, 1.55);
  34. }
  35. header a:hover h2 span {
  36. color: #fff;
  37. margin-left: 10px;
  38. }
  39. header .white-block {
  40. margin-top: 20px;
  41. width: 46px;
  42. height: 6px;
  43. background: #fff;
  44. }
  45. header .title {
  46. margin-top: 80px;
  47. }
  48. header h1 {
  49. font-size: 96px;
  50. font-weight: 900;
  51. letter-spacing: 0.12em;
  52. margin: 0;
  53. margin-left: -6px;
  54. }
  55. header h1 span {
  56. display: inline-block;
  57. font-size: 20px;
  58. margin-top: 18px;
  59. vertical-align: top;
  60. letter-spacing: 0;
  61. }
  62. header .title a {
  63. display: inline-block;
  64. margin-top: 6px;
  65. margin-right: -70px;
  66. background: #222;
  67. padding: 26px 80px;
  68. color: #fff;
  69. border-radius: 12px;
  70. font-size: 26px;
  71. letter-spacing: 0.2em;
  72. transition: all 300ms cubic-bezier(0.68, -0.1, 0.265, 1.55);
  73. }
  74. header .title a:hover {
  75. margin-top: 12px;
  76. margin-right: -80px;
  77. padding: 20px 90px;
  78. }
  79. header h3 {
  80. font-size: 21px;
  81. }
  82. /*----------------------------------
  83. Background Grid
  84. ------------------------------------*/
  85. .grid {
  86. position: fixed;
  87. width: 100%;
  88. }
  89. .grid-line {
  90. height: 100vh;
  91. border-left: 1px solid #ccc;
  92. }
  93. .fixed-top {
  94. position: absolute;
  95. width: 600px;
  96. height: 600px;
  97. background: #00F1C9;
  98. border-radius: 12px;
  99. z-index: -1;
  100. margin-top: -220px;
  101. margin-left: 100px;
  102. }
  103. /*----------------------------------
  104. Main
  105. ------------------------------------*/
  106. main,
  107. .main {
  108. overflow: hidden;
  109. }
  110. .section {
  111. position: relative;
  112. }
  113. section.san-francisco {
  114. margin-top: 100px;
  115. }
  116. .absolute {
  117. position: absolute;
  118. width: 100%;
  119. height: auto;
  120. margin-top: 100px;
  121. }
  122. .absolute.above {
  123. z-index: 2;
  124. }
  125. .absolute h2 {
  126. font-size: 140px;
  127. font-weight: 900;
  128. letter-spacing: -0.04em;
  129. color: #F0F0F0;
  130. z-index: -1;
  131. }
  132. .lg-green {
  133. width: 160px;
  134. height: 160px;
  135. background: #00F1C9;
  136. border-radius: 12px;
  137. margin-left: -80px;
  138. margin-top: 200px;
  139. }
  140. .sm-green {
  141. width: 60px;
  142. height: 60px;
  143. background: #00F1C9;
  144. border-radius: 12px;
  145. margin-left: -30px;
  146. margin-top: 400px;
  147. }
  148. .sm-purple {
  149. width: 60px;
  150. height: 60px;
  151. background: #5000F1;
  152. border-radius: 12px;
  153. margin-left: -30px;
  154. margin-top: 400px;
  155. }
  156. .xs-green {
  157. width: 60px;
  158. height: 60px;
  159. background: #00F1C9;
  160. border-radius: 12px;
  161. margin-left: -30px;
  162. margin-top: 400px;
  163. }
  164. .md-green {
  165. width: 120px;
  166. height: 120px;
  167. background: #00F1C9;
  168. border-radius: 12px;
  169. margin-left: -60px;
  170. margin-top: 10px;
  171. }
  172. .lg-purple {
  173. width: 80px;
  174. height: 80px;
  175. background: #5000F1;
  176. border-radius: 12px;
  177. margin-left: 57px;
  178. margin-top: 60px;
  179. }
  180. .date {
  181. margin-top: 400px;
  182. font-size: 48px;
  183. font-weight: 600;
  184. color: #5000F1;
  185. }
  186. .temp {
  187. margin-top: 200px;
  188. font-size: 280px;
  189. font-weight: 900;
  190. letter-spacing: -0.07em;
  191. color: #5000F1;
  192. }
  193. .text-editor {
  194. background: #222;
  195. padding: 60px 50px;
  196. border-radius: 12px;
  197. margin-left: 15px;
  198. }
  199. code {
  200. text-align: left;
  201. padding: 0;
  202. font-size: 22px;
  203. background: none;
  204. border-radius: 0;
  205. color: #00F1C9;
  206. }
  207. .md-facebook {
  208. width: 60px;
  209. height: 60px;
  210. background: #5000F1;
  211. border-radius: 12px;
  212. margin-left: 68px;
  213. margin-top: 600px;
  214. }
  215. .md-twitter {
  216. width: 120px;
  217. height: 120px;
  218. background: #00F1C9;
  219. border-radius: 12px;
  220. margin-left: -60px;
  221. margin-top: 60px;
  222. }
  223. .md-dixonandmoe {
  224. width: 120px;
  225. height: 120px;
  226. background: #5000F1;
  227. border-radius: 12px;
  228. margin-left: -60px;
  229. margin-top: 760px;
  230. }
  231. .bt-green {
  232. width: 60px;
  233. height: 60px;
  234. background: #00F1C9;
  235. border-radius: 12px;
  236. margin-left: -30px;
  237. margin-top: 700px;
  238. }
  239. .bt-purple {
  240. width: 80px;
  241. height: 80px;
  242. background: #5000F1;
  243. border-radius: 12px;
  244. margin-left: 57px;
  245. margin-top: 600px;
  246. }
  247. .share {
  248. position: relative;
  249. top: -240px;
  250. }
  251. .share a {
  252. font-size: 34px;
  253. }
  254. .share a span {
  255. transition: all 400ms cubic-bezier(0.68, -0.1, 0.265, 1.55);
  256. }
  257. .share a:hover span {
  258. margin-left: 10px;
  259. }
  260. a.dam,
  261. a.dam:hover,
  262. a.dam:active,
  263. a.dam:visited {
  264. color: #222;
  265. }
  266. span.purple {
  267. color: #5000F1;
  268. }
  269. span.green {
  270. color: #A0F100;
  271. }
  272. span.white {
  273. color: #fff;
  274. }
  275. @-webkit-keyframes fuzz /* Safari and Chrome */ {
  276. 0% {
  277. opacity: 0;
  278. }
  279. 40% {
  280. opacity: 0;
  281. }
  282. 100% {
  283. /*-webkit-transform: scaleY(1);*/
  284. opacity: 1;
  285. }
  286. }
  287. @-webkit-keyframes fuzz2 /* Safari and Chrome */ {
  288. 0% {
  289. opacity: 0;
  290. }
  291. 48% {
  292. opacity: 0;
  293. }
  294. 100% {
  295. opacity: 1;
  296. }
  297. }
  298. @-webkit-keyframes fuzz3 /* Safari and Chrome */ {
  299. 0% {
  300. opacity: 0;
  301. }
  302. 54% {
  303. opacity: 0;
  304. }
  305. 100% {
  306. opacity: 1;
  307. }
  308. }
  309. @-webkit-keyframes stretch /* Safari and Chrome */ {
  310. 0% {
  311. -webkit-transform: scaleX(0);
  312. opacity: 0;
  313. }
  314. 50% {
  315. -webkit-transform: scaleX(0);
  316. opacity: 1;
  317. }
  318. 60% {
  319. -webkit-transform: scaleX(0);
  320. }
  321. 100% {
  322. -webkit-transform: scaleX(1);
  323. }
  324. }
  325. @-webkit-keyframes fadeInUp {
  326. 0% {
  327. opacity: 0;
  328. -webkit-transform: translate3d(0, 20px, 0);
  329. }
  330. 30% {
  331. opacity: 0;
  332. }
  333. 100% {
  334. opacity: 1;
  335. }
  336. }
  337. /*----------------------------------
  338. Medium devices: iPad vertical
  339. ------------------------------------*/
  340. @media (max-width: 991px) {
  341. }
  342. /*----------------------------------
  343. Small devices: iPhone 6+ and below
  344. ------------------------------------*/
  345. @media (max-width: 767px) {
  346. }
  347. /*----------------------------------
  348. iPhone 6 & 6+ specific text bump
  349. ------------------------------------*/
  350. @media (max-width: 991px) and (max-height: 736px) and (min-height: 481px) {
  351. }