site.css 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553
  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. }
  138. .docs {
  139. margin-top: 60px;
  140. }
  141. .section--head {
  142. margin: 0;
  143. background: #EEE;
  144. /*background: linear-gradient(180deg, #eee 0%,#fff 100%);*/
  145. padding: 5px 0;
  146. }
  147. .row {
  148. max-width: 1108px;
  149. margin: 24px auto;
  150. padding: 0 30px;
  151. position: relative;
  152. }
  153. .row--docs {
  154. max-width: 960px;
  155. padding-left: 210px;
  156. }
  157. .row--heading {
  158. margin-top: 0;
  159. margin-bottom: 0;
  160. }
  161. .row--footer {
  162. text-align: center;
  163. padding: 132px 0;
  164. }
  165. .row--wide {
  166. max-width: 1000px;
  167. }
  168. .row--video {
  169. max-width: 1160px;
  170. }
  171. .row--wide img {
  172. float: left;
  173. margin: 0 12px 12px 0;
  174. width: 200px;
  175. }
  176. img.img--with_border {
  177. border: 1px solid #DDD;
  178. border-radius: 2px;
  179. }
  180. .img-desc {
  181. margin-left: 212px;
  182. }
  183. /*.main-wrapper {
  184. background: none;
  185. width: 100%;
  186. padding-top: 0;
  187. }
  188. .content-wrap {
  189. }*/
  190. /* clearfix */
  191. .row:after{
  192. content: " ";
  193. visibility: hidden;
  194. display: block;
  195. height: 0;
  196. clear: both;
  197. }
  198. .row--large {
  199. margin-bottom: 48px;
  200. }
  201. .section--head h1 a {
  202. vertical-align: super;
  203. font-size: 14px;
  204. text-decoration: none;
  205. }
  206. /*p.intro {
  207. margin-top: 24px;
  208. font-size: 18px;
  209. line-height: 24px;
  210. }*/
  211. .col-50 {
  212. width: 48%;
  213. float: left;
  214. }
  215. .col-50:nth-child(1) {
  216. margin-right: 4%;
  217. }
  218. .col-img {
  219. width: auto;
  220. max-width: 100%;
  221. height: auto;
  222. }
  223. .style-select {
  224. width: 100%;
  225. float: left;
  226. }
  227. .style-select .radio {
  228. position: relative;
  229. margin-bottom: 12px;
  230. display: block;
  231. float: left;
  232. width: 100%;
  233. }
  234. .style-select label {
  235. padding-left: 24px;
  236. position: relative;
  237. display: block;
  238. cursor: pointer;
  239. }
  240. .style-select input {
  241. position: absolute;
  242. left:0;
  243. top:0;
  244. width:24px;
  245. height:24px;
  246. overflow:hidden;
  247. margin:0;
  248. padding:0;
  249. border:0;
  250. outline:0;
  251. opacity:0;
  252. cursor: pointer;
  253. }
  254. .style-select input + label:before {
  255. content: '';
  256. position: absolute;
  257. left:0;
  258. top:4px;
  259. background: none;
  260. border-radius: 50%;
  261. width:16px;
  262. height:16px;
  263. box-sizing: border-box;
  264. border: 2px solid rgba(0,0,0,0.6);
  265. }
  266. .radio:hover label:before {
  267. border-color: #3169B3;
  268. }
  269. .style-select input:checked + label:before {
  270. border-color: #3169B3;
  271. }
  272. .style-select input:checked + label:after {
  273. content: '';
  274. position: absolute;
  275. left: 5px;
  276. top: 9px;
  277. width:6px;
  278. height: 6px;
  279. background: #3169B3;
  280. border-radius: 50%;
  281. }
  282. .row--modules ul {
  283. list-style: none;
  284. margin-left: 0;
  285. /*color: rgba(255, 255, 255, 0.8);*/
  286. }
  287. .row--modules span {
  288. font-wight:600;
  289. border-left:5px solid #FFF;
  290. padding-left:5px;
  291. margin-left:-10px;
  292. }
  293. .block__ui-separated {
  294. position: relative;
  295. }
  296. .block__ui-separated .col-50 {
  297. position: absolute;
  298. left: 0;
  299. top:12px;
  300. }
  301. .block__ui-separated img {
  302. float: right;
  303. max-width: 450px;
  304. }
  305. .demo-gallery {
  306. width: 100%;
  307. height: auto;
  308. float: left;
  309. }
  310. .demo-gallery a {
  311. -webkit-tap-highlight-color: rgba(0,0,0,0);
  312. -webkit-touch-callout: none;
  313. display: block;
  314. float: left;
  315. margin: 0 12px 12px 0;
  316. width: 250px;
  317. /* line-height: 0; */
  318. }
  319. .demo-gallery figure {
  320. font-size: 14px;
  321. }
  322. a.demo-gallery__img--main {
  323. width: auto;
  324. height: auto;
  325. }
  326. .demo-gallery__title {
  327. line-height: 14px;
  328. font-size: 14px;
  329. opacity: 0.8;
  330. margin-top: 5px;
  331. width: 100%;
  332. float: left;
  333. }
  334. @media screen and (max-width: 1000px) {
  335. .row--wide {
  336. max-width: 800px;
  337. }
  338. .row--wide img {
  339. float: none;
  340. }
  341. .img-desc {
  342. margin-left: 0;
  343. }
  344. .section {
  345. margin-top: 132px;
  346. }
  347. .row--docs {
  348. max-width: 800px;
  349. padding-left: 30px;
  350. }
  351. .section--head {
  352. margin-top:0;
  353. padding: 30px 0;
  354. }
  355. .docs {
  356. margin-top: 48px;
  357. }
  358. .docs-menu {
  359. position: relative;
  360. left: 0;
  361. top: 0;
  362. border-top: 1px solid #CCC;
  363. padding-top: 25px;
  364. border-bottom: 1px solid #CCC;
  365. padding-bottom: 25px;
  366. margin: 15px 0;
  367. }
  368. .row--nav {
  369. font-size: 24px;
  370. line-height: 1.1;
  371. }
  372. }
  373. @media screen and (max-width: 650px) {
  374. h1 {
  375. font-size: 40px;
  376. }
  377. .block__ui-separated .col-50 {
  378. position: relative;
  379. top: 0;
  380. }
  381. .block__ui-separated img {
  382. max-width: 100%;
  383. width: 100%;
  384. float: left;
  385. }
  386. }
  387. @media screen and (max-width: 450px) {
  388. .col-50:nth-child(1) {
  389. margin-right: 0;
  390. }
  391. .row--wide img {
  392. margin-bottom: 6px;
  393. }
  394. .col-50 {
  395. width: 100%;
  396. margin-bottom: 12px;
  397. }
  398. .row {
  399. padding: 0 18px;
  400. }
  401. .docs .highlight,
  402. .codepen-embed {
  403. padding-left: 18px;
  404. padding-right: 18px;
  405. margin-left: -18px;
  406. }
  407. .section {
  408. margin-top: 88px;
  409. }
  410. .docs {
  411. margin-top: 32px;
  412. }
  413. .section--head {
  414. margin-top:0;
  415. padding: 24px 0;
  416. }
  417. .row--nav {
  418. font-size: 18px;
  419. line-height: 26px;
  420. }
  421. }
  422. @media screen and (max-width: 700px) {
  423. .row--nav {
  424. font-size: 18px;
  425. line-height: 26px;
  426. }
  427. .demo-gallery {
  428. max-width: 500px;
  429. }
  430. .demo-gallery a {
  431. width: 120px;
  432. margin: 0 4px 4px 0;
  433. }
  434. a.demo-gallery__img--main {
  435. width: 164px;
  436. }
  437. .section--head p {
  438. font-size: 18px;
  439. line-height: 24px;
  440. }
  441. }
  442. @media screen and (max-width: 450px) {
  443. .demo-gallery a {
  444. width: 95px;
  445. margin: 0 1px 1px 0;
  446. }
  447. a.demo-gallery__img--main {
  448. width: 127px;
  449. }
  450. }
  451. @media screen and (max-width: 350px) {
  452. .demo-gallery a {
  453. width: 81px;
  454. margin: 0 1px 1px 0;
  455. }
  456. a.demo-gallery__img--main {
  457. width: 109px;
  458. }
  459. }
  460. div.incoming-album label {
  461. width: 60px;
  462. display: inline-block;
  463. }
  464. div.incoming-album input[type='text'] {
  465. width: 400px;
  466. }
  467. h3.albums-year {
  468. clear: both;
  469. }