site.css 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712
  1. /* Demo site CSS. Not mobile first, not semantic, not optimized, made for 20 minutes, mess */
  2. html, body, div, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, ol, ul, li, form, fieldset, legend, label, table, header, footer, nav, section, figure {
  3. margin: 0;
  4. padding: 0;
  5. }
  6. figure {
  7. display: block;
  8. }
  9. html {
  10. /*overflow-y: scroll;*/
  11. }
  12. a {
  13. color: #3169B3;
  14. }
  15. a:hover {
  16. color: #C00;
  17. }
  18. * {
  19. -moz-box-sizing: border-box;
  20. -webkit-box-sizing: border-box;
  21. box-sizing: border-box;
  22. }
  23. body {
  24. font-family: "myriad-pro","Myriad Pro","Helvetica Neue",Helvetica,Arial,sans-serif;
  25. font-size: 18px;
  26. line-height: 26px;
  27. color: #282B30;
  28. text-rendering: optimizeLegibility;
  29. -webkit-font-smoothing: antialiased;
  30. -moz-osx-font-smoothing: grayscale;
  31. -moz-font-feature-settings: "liga", "kern";
  32. }
  33. /*code {
  34. background: #F8F8F8;
  35. padding: .1em .4em;
  36. color: #c82829;
  37. font-size: 14px;
  38. }*/
  39. code, pre {
  40. font-family: Menlo, Monaco, monospace;
  41. font-size: 12px;
  42. line-height: 1.45;
  43. color: #333;
  44. tab-size: 4;
  45. }
  46. pre {
  47. padding: 0;
  48. margin: 0;
  49. overflow: auto;
  50. word-wrap: normal;
  51. text-rendering: auto;
  52. -webkit-font-smoothing: auto;
  53. }
  54. /*body.open-sans {
  55. font-family: "open-sans";
  56. }
  57. .futura-pt {
  58. }
  59. .futura-pt p {
  60. font-family: "adelle";
  61. }
  62. .futura-pt h1, .futura-pt h2 {
  63. font-family: "futura-pt";
  64. text-transform: uppercase;
  65. }
  66. .futura-pt h3 {
  67. font-weight: bold;
  68. }
  69. */
  70. img {
  71. width: auto;
  72. max-width: 100%;
  73. height: auto;
  74. border: 0;
  75. }
  76. .video {
  77. width: 100%%;
  78. margin: 0 0 24px 0;
  79. }
  80. .video__container {
  81. position: relative;
  82. width: 100%;
  83. padding-bottom: 56.25%;
  84. padding-top: 35px;
  85. height: 0;
  86. overflow: hidden;
  87. }
  88. .video__container iframe {
  89. position: absolute;
  90. top:0;
  91. left: 0;
  92. width: 100%;
  93. height: 100%;
  94. }
  95. .video-desc {
  96. width: 100%;
  97. max-width: 740px;
  98. margin: 12px auto;
  99. }
  100. p {
  101. margin: 0 0 12px;
  102. }
  103. ul {
  104. list-style: disc;
  105. }
  106. ul, ol {
  107. padding: 0;
  108. margin: 0 0 12px 25px;
  109. }
  110. li {
  111. margin: 0 0 12px 0;
  112. }
  113. h1, h2, h3, h4, h5, h6 {
  114. margin: 0;
  115. font-weight: normal;
  116. }
  117. h1 {
  118. font-size: 48px;
  119. line-height: 1;
  120. margin: 0;
  121. font-weight: 600;
  122. margin-bottom: 6px;
  123. }
  124. .row--heading {
  125. position: relative;
  126. }
  127. .section--head p {
  128. text-align: left;
  129. font-size: 26px;
  130. line-height: 32px;
  131. margin-bottom: 24px;
  132. font-size: 19px;
  133. line-height: 29px;
  134. }
  135. .row--nav {
  136. text-align: center;
  137. font-size: 32px;
  138. line-height: 1.1;
  139. }
  140. .navigation {
  141. width: 100%;
  142. background: #F7F7F7;
  143. position: relative;
  144. padding: 30px 0;
  145. }
  146. .navigation a {
  147. text-decoration: none;
  148. border-bottom: 1px solid #92ABCD;
  149. }
  150. h2 {
  151. font-size: 32px;
  152. line-height: 1.1;
  153. margin-bottom: 12px;
  154. font-weight: 600;
  155. }
  156. h3 {
  157. font-size: 22px;
  158. line-height: 28px;
  159. margin: 0 0 8px 0;
  160. font-size: 18px;
  161. line-height: 24px;
  162. font-weight: 600;
  163. }
  164. strong {
  165. font-weight: 600;
  166. }
  167. span.highlight {
  168. background:rgb(246, 243, 226);
  169. }
  170. .title-block p {
  171. font-size: 22px;
  172. line-height: 28px;
  173. max-width: 600px;
  174. margin-bottom: 24px;
  175. }
  176. p, ul.text-list {
  177. color: #444;
  178. }
  179. .section--head p,
  180. .title-block p {
  181. color: #666;
  182. }
  183. .title-block p {
  184. font-size: 19px;
  185. line-height: 29px;
  186. }
  187. .section {
  188. width: 100%;
  189. margin-top: 176px;
  190. }
  191. .docs {
  192. margin-top: 60px;
  193. }
  194. .section--head {
  195. margin: 0;
  196. background: #EEE;
  197. /*background: linear-gradient(180deg, #eee 0%,#fff 100%);*/
  198. padding: 5px 0;
  199. }
  200. .row {
  201. max-width: 800px;
  202. margin: 24px auto;
  203. padding: 0 30px;
  204. position: relative;
  205. }
  206. .row--docs {
  207. max-width: 960px;
  208. padding-left: 210px;
  209. }
  210. .row--heading {
  211. margin-top: 0;
  212. margin-bottom: 0;
  213. }
  214. .row--footer {
  215. text-align: center;
  216. padding: 132px 0;
  217. }
  218. .row--wide {
  219. max-width: 1000px;
  220. }
  221. .row--video {
  222. max-width: 1160px;
  223. }
  224. .row--wide img {
  225. float: left;
  226. margin: 0 12px 12px 0;
  227. width: 200px;
  228. }
  229. img.img--with_border {
  230. border: 1px solid #DDD;
  231. border-radius: 2px;
  232. }
  233. .img-desc {
  234. margin-left: 212px;
  235. }
  236. /*.main-wrapper {
  237. background: none;
  238. width: 100%;
  239. padding-top: 0;
  240. }
  241. .content-wrap {
  242. }*/
  243. /* clearfix */
  244. .row:after{
  245. content: " ";
  246. visibility: hidden;
  247. display: block;
  248. height: 0;
  249. clear: both;
  250. }
  251. .row--large {
  252. margin-bottom: 48px;
  253. }
  254. .section--head h1 a {
  255. vertical-align: super;
  256. font-size: 14px;
  257. text-decoration: none;
  258. }
  259. /*p.intro {
  260. margin-top: 24px;
  261. font-size: 18px;
  262. line-height: 24px;
  263. }*/
  264. .col-50 {
  265. width: 48%;
  266. float: left;
  267. }
  268. .col-50:nth-child(1) {
  269. margin-right: 4%;
  270. }
  271. .col-img {
  272. width: auto;
  273. max-width: 100%;
  274. height: auto;
  275. }
  276. .style-select {
  277. width: 100%;
  278. float: left;
  279. }
  280. .style-select .radio {
  281. position: relative;
  282. margin-bottom: 12px;
  283. display: block;
  284. float: left;
  285. width: 100%;
  286. }
  287. .style-select label {
  288. padding-left: 24px;
  289. position: relative;
  290. display: block;
  291. cursor: pointer;
  292. }
  293. .style-select input {
  294. position: absolute;
  295. left:0;
  296. top:0;
  297. width:24px;
  298. height:24px;
  299. overflow:hidden;
  300. margin:0;
  301. padding:0;
  302. border:0;
  303. outline:0;
  304. opacity:0;
  305. cursor: pointer;
  306. }
  307. .style-select input + label:before {
  308. content: '';
  309. position: absolute;
  310. left:0;
  311. top:4px;
  312. background: none;
  313. border-radius: 50%;
  314. width:16px;
  315. height:16px;
  316. box-sizing: border-box;
  317. border: 2px solid rgba(0,0,0,0.6);
  318. }
  319. .radio:hover label:before {
  320. border-color: #3169B3;
  321. }
  322. .style-select input:checked + label:before {
  323. border-color: #3169B3;
  324. }
  325. .style-select input:checked + label:after {
  326. content: '';
  327. position: absolute;
  328. left: 5px;
  329. top: 9px;
  330. width:6px;
  331. height: 6px;
  332. background: #3169B3;
  333. border-radius: 50%;
  334. }
  335. /*.section--developers {
  336. color: #FFF;
  337. background: #222;
  338. background: #1f1f1f;
  339. padding: 80px 0;
  340. }
  341. .section--developers a {
  342. color:#FFFFFF;
  343. }
  344. .section--developers p,
  345. .section--developers ul.text-list {
  346. color: #ddd;
  347. }
  348. .section--developers .section--head p,
  349. .section--developers .title-block p {
  350. color: #ddd;
  351. }*/
  352. .row--modules ul {
  353. list-style: none;
  354. margin-left: 0;
  355. /*color: rgba(255, 255, 255, 0.8);*/
  356. }
  357. .row--modules span {
  358. font-wight:600;
  359. border-left:5px solid #FFF;
  360. padding-left:5px;
  361. margin-left:-10px;
  362. }
  363. .size-chart {
  364. width: 100%;
  365. display: inline-block;
  366. }
  367. .size-chart div {
  368. height: 21px;
  369. float: left;
  370. font-size: 13px;
  371. padding: 4px;
  372. line-height: 1;
  373. }
  374. .block__ui-separated {
  375. position: relative;
  376. }
  377. .block__ui-separated .col-50 {
  378. position: absolute;
  379. left: 0;
  380. top:12px;
  381. }
  382. .block__ui-separated img {
  383. float: right;
  384. max-width: 450px;
  385. }
  386. .demo-gallery {
  387. width: 100%;
  388. height: auto;
  389. float: left;
  390. }
  391. .demo-gallery a {
  392. -webkit-tap-highlight-color: rgba(0,0,0,0);
  393. -webkit-touch-callout: none;
  394. display: block;
  395. float: left;
  396. margin: 0 12px 12px 0;
  397. width: 171px;
  398. line-height: 0;
  399. }
  400. a.demo-gallery__img--main {
  401. width: auto;
  402. height: auto;
  403. }
  404. .ukraine-flag {
  405. width: 21px;
  406. height: 14px;
  407. position: relative;
  408. background: #ffcc00;
  409. top: 1px;
  410. display: inline-block;
  411. }
  412. .ukraine-flag:before {
  413. content:'';
  414. position: absolute;
  415. width: 21px;
  416. height: 7px;
  417. left:0;
  418. top:0;
  419. background: #0066cc;
  420. }
  421. .demo-gallery figure {
  422. display: none;
  423. }
  424. .demo-gallery__title {
  425. line-height: 14px;
  426. font-size: 14px;
  427. opacity: 0.8;
  428. margin-top: 5px;
  429. width: 100%;
  430. float: left;
  431. }
  432. .share-buttons h2 {
  433. text-align: center;
  434. border: 0;
  435. }
  436. .share-buttons {
  437. text-align: center;
  438. position: relative;
  439. margin: 0 0 24px;
  440. }
  441. .share-buttons a {
  442. -moz-border-radius: 2px;
  443. border-radius: 2px;
  444. display: inline-block;
  445. padding: 10px 20px;
  446. margin: 10px;
  447. color: #FFF;
  448. text-decoration: none;
  449. background: #5AAF63;
  450. font-size: 16px;
  451. line-height: 22px;
  452. cursor: pointer;
  453. }
  454. .share-buttons a:hover {
  455. opacity: 0.7;
  456. }
  457. #tweet {
  458. background: #0096c4;
  459. }
  460. #like {
  461. background: #3b5998;
  462. }
  463. #gplus {
  464. background: #d34836;
  465. }
  466. @media screen and (max-width: 1000px) {
  467. .row--wide {
  468. max-width: 800px;
  469. }
  470. .row--wide img {
  471. float: none;
  472. }
  473. .img-desc {
  474. margin-left: 0;
  475. }
  476. .section {
  477. margin-top: 132px;
  478. }
  479. .row--docs {
  480. max-width: 800px;
  481. padding-left: 30px;
  482. }
  483. .section--head {
  484. margin-top:0;
  485. padding: 30px 0;
  486. }
  487. .docs {
  488. margin-top: 48px;
  489. }
  490. .docs-menu {
  491. position: relative;
  492. left: 0;
  493. top: 0;
  494. border-top: 1px solid #CCC;
  495. padding-top: 25px;
  496. border-bottom: 1px solid #CCC;
  497. padding-bottom: 25px;
  498. margin: 15px 0;
  499. }
  500. .row--nav {
  501. font-size: 24px;
  502. line-height: 1.1;
  503. }
  504. }
  505. @media screen and (max-width: 650px) {
  506. h1 {
  507. font-size: 40px;
  508. }
  509. .block__ui-separated .col-50 {
  510. position: relative;
  511. top: 0;
  512. }
  513. .block__ui-separated img {
  514. max-width: 100%;
  515. width: 100%;
  516. float: left;
  517. }
  518. }
  519. @media screen and (max-width: 450px) {
  520. .col-50:nth-child(1) {
  521. margin-right: 0;
  522. }
  523. .row--wide img {
  524. margin-bottom: 6px;
  525. }
  526. .col-50 {
  527. width: 100%;
  528. margin-bottom: 12px;
  529. }
  530. .row {
  531. padding: 0 18px;
  532. }
  533. .docs .highlight,
  534. .codepen-embed {
  535. padding-left: 18px;
  536. padding-right: 18px;
  537. margin-left: -18px;
  538. }
  539. .section {
  540. margin-top: 88px;
  541. }
  542. .docs {
  543. margin-top: 32px;
  544. }
  545. .section--head {
  546. margin-top:0;
  547. padding: 24px 0;
  548. }
  549. .row--nav {
  550. font-size: 18px;
  551. line-height: 26px;
  552. }
  553. }
  554. @media screen and (max-width: 700px) {
  555. .row--nav {
  556. font-size: 18px;
  557. line-height: 26px;
  558. }
  559. .demo-gallery {
  560. max-width: 500px;
  561. }
  562. .demo-gallery a {
  563. width: 120px;
  564. margin: 0 4px 4px 0;
  565. }
  566. a.demo-gallery__img--main {
  567. width: 164px;
  568. }
  569. .section--head p {
  570. font-size: 18px;
  571. line-height: 24px;
  572. }
  573. }
  574. /*@media screen and (max-width: 490px) {
  575. .demo-gallery a {
  576. width: 100px;
  577. margin: 0 4px 4px 0;
  578. }
  579. a.demo-gallery__img--main {
  580. width: 137px;
  581. }
  582. }
  583. */
  584. @media screen and (max-width: 450px) {
  585. .demo-gallery a {
  586. width: 95px;
  587. margin: 0 1px 1px 0;
  588. }
  589. a.demo-gallery__img--main {
  590. width: 127px;
  591. }
  592. }
  593. @media screen and (max-width: 350px) {
  594. .demo-gallery a {
  595. width: 81px;
  596. margin: 0 1px 1px 0;
  597. }
  598. a.demo-gallery__img--main {
  599. width: 109px;
  600. }
  601. }