site.css 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539
  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. img {
  34. width: auto;
  35. max-width: 100%;
  36. height: auto;
  37. border: 0;
  38. }
  39. .video {
  40. width: 100%%;
  41. margin: 0 0 24px 0;
  42. }
  43. .video__container {
  44. position: relative;
  45. width: 100%;
  46. padding-bottom: 56.25%;
  47. padding-top: 35px;
  48. height: 0;
  49. overflow: hidden;
  50. }
  51. .video__container iframe {
  52. position: absolute;
  53. top:0;
  54. left: 0;
  55. width: 100%;
  56. height: 100%;
  57. }
  58. .video-desc {
  59. width: 100%;
  60. max-width: 740px;
  61. margin: 12px auto;
  62. }
  63. p {
  64. margin: 0 0 12px;
  65. }
  66. ul {
  67. list-style: disc;
  68. }
  69. ul, ol {
  70. padding: 0;
  71. margin: 0 0 12px 25px;
  72. }
  73. li {
  74. margin: 0 0 12px 0;
  75. }
  76. h1, h2, h3, h4, h5, h6 {
  77. margin: 0;
  78. font-weight: normal;
  79. }
  80. h1 {
  81. font-size: 48px;
  82. line-height: 1;
  83. margin: 0;
  84. font-weight: 600;
  85. margin-bottom: 6px;
  86. }
  87. .row--heading {
  88. position: relative;
  89. }
  90. .section--head p {
  91. text-align: left;
  92. font-size: 26px;
  93. line-height: 32px;
  94. margin-bottom: 24px;
  95. font-size: 19px;
  96. line-height: 29px;
  97. }
  98. h2 {
  99. font-size: 32px;
  100. line-height: 1.1;
  101. margin-bottom: 12px;
  102. font-weight: 600;
  103. }
  104. h3 {
  105. font-size: 22px;
  106. line-height: 28px;
  107. margin: 0 0 8px 0;
  108. font-size: 18px;
  109. line-height: 24px;
  110. font-weight: 600;
  111. }
  112. strong {
  113. font-weight: 600;
  114. }
  115. span.highlight {
  116. background:rgb(246, 243, 226);
  117. }
  118. .title-block p {
  119. font-size: 22px;
  120. line-height: 28px;
  121. max-width: 600px;
  122. margin-bottom: 24px;
  123. }
  124. p, ul.text-list {
  125. color: #444;
  126. }
  127. .section--head p,
  128. .title-block p {
  129. color: #666;
  130. }
  131. .title-block p {
  132. font-size: 19px;
  133. line-height: 29px;
  134. }
  135. .section {
  136. width: 100%;
  137. margin-top: 176px;
  138. }
  139. .docs {
  140. margin-top: 60px;
  141. }
  142. .section--head {
  143. margin: 0;
  144. background: #EEE;
  145. /*background: linear-gradient(180deg, #eee 0%,#fff 100%);*/
  146. padding: 5px 0;
  147. }
  148. .row {
  149. max-width: 800px;
  150. margin: 24px auto;
  151. padding: 0 30px;
  152. position: relative;
  153. }
  154. .row--docs {
  155. max-width: 960px;
  156. padding-left: 210px;
  157. }
  158. .row--heading {
  159. margin-top: 0;
  160. margin-bottom: 0;
  161. }
  162. .row--footer {
  163. text-align: center;
  164. padding: 132px 0;
  165. }
  166. .row--wide {
  167. max-width: 1000px;
  168. }
  169. .row--video {
  170. max-width: 1160px;
  171. }
  172. .row--wide img {
  173. float: left;
  174. margin: 0 12px 12px 0;
  175. width: 200px;
  176. }
  177. img.img--with_border {
  178. border: 1px solid #DDD;
  179. border-radius: 2px;
  180. }
  181. .img-desc {
  182. margin-left: 212px;
  183. }
  184. /*.main-wrapper {
  185. background: none;
  186. width: 100%;
  187. padding-top: 0;
  188. }
  189. .content-wrap {
  190. }*/
  191. /* clearfix */
  192. .row:after{
  193. content: " ";
  194. visibility: hidden;
  195. display: block;
  196. height: 0;
  197. clear: both;
  198. }
  199. .row--large {
  200. margin-bottom: 48px;
  201. }
  202. .section--head h1 a {
  203. vertical-align: super;
  204. font-size: 14px;
  205. text-decoration: none;
  206. }
  207. /*p.intro {
  208. margin-top: 24px;
  209. font-size: 18px;
  210. line-height: 24px;
  211. }*/
  212. .col-50 {
  213. width: 48%;
  214. float: left;
  215. }
  216. .col-50:nth-child(1) {
  217. margin-right: 4%;
  218. }
  219. .col-img {
  220. width: auto;
  221. max-width: 100%;
  222. height: auto;
  223. }
  224. .style-select {
  225. width: 100%;
  226. float: left;
  227. }
  228. .style-select .radio {
  229. position: relative;
  230. margin-bottom: 12px;
  231. display: block;
  232. float: left;
  233. width: 100%;
  234. }
  235. .style-select label {
  236. padding-left: 24px;
  237. position: relative;
  238. display: block;
  239. cursor: pointer;
  240. }
  241. .style-select input {
  242. position: absolute;
  243. left:0;
  244. top:0;
  245. width:24px;
  246. height:24px;
  247. overflow:hidden;
  248. margin:0;
  249. padding:0;
  250. border:0;
  251. outline:0;
  252. opacity:0;
  253. cursor: pointer;
  254. }
  255. .style-select input + label:before {
  256. content: '';
  257. position: absolute;
  258. left:0;
  259. top:4px;
  260. background: none;
  261. border-radius: 50%;
  262. width:16px;
  263. height:16px;
  264. box-sizing: border-box;
  265. border: 2px solid rgba(0,0,0,0.6);
  266. }
  267. .radio:hover label:before {
  268. border-color: #3169B3;
  269. }
  270. .style-select input:checked + label:before {
  271. border-color: #3169B3;
  272. }
  273. .style-select input:checked + label:after {
  274. content: '';
  275. position: absolute;
  276. left: 5px;
  277. top: 9px;
  278. width:6px;
  279. height: 6px;
  280. background: #3169B3;
  281. border-radius: 50%;
  282. }
  283. .row--modules ul {
  284. list-style: none;
  285. margin-left: 0;
  286. /*color: rgba(255, 255, 255, 0.8);*/
  287. }
  288. .row--modules span {
  289. font-wight:600;
  290. border-left:5px solid #FFF;
  291. padding-left:5px;
  292. margin-left:-10px;
  293. }
  294. .block__ui-separated {
  295. position: relative;
  296. }
  297. .block__ui-separated .col-50 {
  298. position: absolute;
  299. left: 0;
  300. top:12px;
  301. }
  302. .block__ui-separated img {
  303. float: right;
  304. max-width: 450px;
  305. }
  306. .demo-gallery {
  307. width: 100%;
  308. height: auto;
  309. float: left;
  310. }
  311. .demo-gallery a {
  312. -webkit-tap-highlight-color: rgba(0,0,0,0);
  313. -webkit-touch-callout: none;
  314. display: block;
  315. float: left;
  316. margin: 0 12px 12px 0;
  317. width: 171px;
  318. /* line-height: 0; */
  319. }
  320. a.demo-gallery__img--main {
  321. width: auto;
  322. height: auto;
  323. }
  324. .demo-gallery__title {
  325. line-height: 14px;
  326. font-size: 14px;
  327. opacity: 0.8;
  328. margin-top: 5px;
  329. width: 100%;
  330. float: left;
  331. }
  332. @media screen and (max-width: 1000px) {
  333. .row--wide {
  334. max-width: 800px;
  335. }
  336. .row--wide img {
  337. float: none;
  338. }
  339. .img-desc {
  340. margin-left: 0;
  341. }
  342. .section {
  343. margin-top: 132px;
  344. }
  345. .row--docs {
  346. max-width: 800px;
  347. padding-left: 30px;
  348. }
  349. .section--head {
  350. margin-top:0;
  351. padding: 30px 0;
  352. }
  353. .docs {
  354. margin-top: 48px;
  355. }
  356. .docs-menu {
  357. position: relative;
  358. left: 0;
  359. top: 0;
  360. border-top: 1px solid #CCC;
  361. padding-top: 25px;
  362. border-bottom: 1px solid #CCC;
  363. padding-bottom: 25px;
  364. margin: 15px 0;
  365. }
  366. .row--nav {
  367. font-size: 24px;
  368. line-height: 1.1;
  369. }
  370. }
  371. @media screen and (max-width: 650px) {
  372. h1 {
  373. font-size: 40px;
  374. }
  375. .block__ui-separated .col-50 {
  376. position: relative;
  377. top: 0;
  378. }
  379. .block__ui-separated img {
  380. max-width: 100%;
  381. width: 100%;
  382. float: left;
  383. }
  384. }
  385. @media screen and (max-width: 450px) {
  386. .col-50:nth-child(1) {
  387. margin-right: 0;
  388. }
  389. .row--wide img {
  390. margin-bottom: 6px;
  391. }
  392. .col-50 {
  393. width: 100%;
  394. margin-bottom: 12px;
  395. }
  396. .row {
  397. padding: 0 18px;
  398. }
  399. .docs .highlight,
  400. .codepen-embed {
  401. padding-left: 18px;
  402. padding-right: 18px;
  403. margin-left: -18px;
  404. }
  405. .section {
  406. margin-top: 88px;
  407. }
  408. .docs {
  409. margin-top: 32px;
  410. }
  411. .section--head {
  412. margin-top:0;
  413. padding: 24px 0;
  414. }
  415. .row--nav {
  416. font-size: 18px;
  417. line-height: 26px;
  418. }
  419. }
  420. @media screen and (max-width: 700px) {
  421. .row--nav {
  422. font-size: 18px;
  423. line-height: 26px;
  424. }
  425. .demo-gallery {
  426. max-width: 500px;
  427. }
  428. .demo-gallery a {
  429. width: 120px;
  430. margin: 0 4px 4px 0;
  431. }
  432. a.demo-gallery__img--main {
  433. width: 164px;
  434. }
  435. .section--head p {
  436. font-size: 18px;
  437. line-height: 24px;
  438. }
  439. }
  440. @media screen and (max-width: 450px) {
  441. .demo-gallery a {
  442. width: 95px;
  443. margin: 0 1px 1px 0;
  444. }
  445. a.demo-gallery__img--main {
  446. width: 127px;
  447. }
  448. }
  449. @media screen and (max-width: 350px) {
  450. .demo-gallery a {
  451. width: 81px;
  452. margin: 0 1px 1px 0;
  453. }
  454. a.demo-gallery__img--main {
  455. width: 109px;
  456. }
  457. }