site.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955
  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. code {
  55. padding: 0;
  56. padding: 3px 5px;
  57. margin: 0;
  58. background: #f2f2f2;
  59. border-radius: 2px;
  60. }
  61. pre code {
  62. background: none;
  63. padding: 0;
  64. border-radius: 0;
  65. }
  66. h3 code {
  67. font-size: 22px;
  68. font-weight: normal;
  69. padding: 6px 10px;
  70. }
  71. h3 code.default {
  72. font-size: 12px;
  73. padding: 0;
  74. background: none;
  75. opacity: 0.7;
  76. }
  77. .docs p {
  78. margin: 0;
  79. padding-bottom: 12px;
  80. padding-top: 12px;
  81. }
  82. .docs h1 {
  83. margin-bottom: 32px;
  84. }
  85. .docs h1 a {
  86. text-decoration: none;
  87. }
  88. .docs h1 a:hover {
  89. text-decoration: underline;
  90. }
  91. .docs h2 {
  92. margin: 0;
  93. margin: 36px 0 12px;
  94. }
  95. .docs h3 {
  96. margin: 0;
  97. margin: 24px 0 8px 0;
  98. font-size: 22px;
  99. line-height: 28px;
  100. }
  101. .docs ul,
  102. .docs ol {
  103. margin-top: 8px;
  104. margin-bottom: 8px;
  105. }
  106. .docs li {
  107. margin: 0;
  108. padding: 4px 0;
  109. }
  110. .docs-menu {
  111. position: absolute;
  112. width: 160px;
  113. left: 0;
  114. top: 106px;
  115. }
  116. .docs-menu ul {
  117. list-style: none;
  118. margin: 0;
  119. padding: 25px 0;
  120. border-top: 1px solid #CCC;
  121. border-bottom: 1px solid #CCC;
  122. }
  123. .docs-menu__ad {
  124. padding: 25px 10px;
  125. border-bottom: 1px solid #CCC;
  126. font-size: 13px;
  127. line-height: 17px;
  128. position: relative;
  129. }
  130. .docs-menu a {
  131. text-decoration: none;
  132. width: 100%;
  133. }
  134. a.docs-logo {
  135. font-weight: 600;
  136. font-size: 20px;
  137. margin-bottom: 0;
  138. text-decoration: none;
  139. }
  140. .docs-menu li {
  141. list-style: none;
  142. margin: 0;
  143. padding:0;
  144. }
  145. a.docs-menu__item--active {
  146. color: #222;
  147. font-weight: normal;
  148. }
  149. .codepen-embed {
  150. margin-left: -30px;
  151. padding: 16px 30px;
  152. width: 100%;
  153. -webkit-box-sizing: content-box;
  154. -moz-box-sizing: content-box;
  155. box-sizing: content-box;
  156. background-color: #f8f8f8;
  157. height: 600px;
  158. }
  159. .codepen-embed--disabled {
  160. height: auto;
  161. }
  162. .codepen-embed p {
  163. margin-bottom: 0;
  164. }
  165. .docs .highlight {
  166. border-radius: 2px;
  167. margin-left: -30px;
  168. padding: 16px 30px;
  169. width: 100%;
  170. -webkit-box-sizing: content-box;
  171. -moz-box-sizing: content-box;
  172. box-sizing: content-box;
  173. margin-bottom: 26px;
  174. }
  175. /* Syntax highlighter styles (for docs) */
  176. .highlight { background-color: #f8f8f8 }
  177. .c { color: #888; } /* Comment */
  178. .err { color: #a61717; background-color: #e3d2d2 } /* Error */
  179. .k { color: #a71d5d; } /* Keyword */
  180. .o { color: #000000; } /* Operator */
  181. .cm { color: #888; } /* Comment.Multiline */
  182. .cp { color: #888; font-weight: bold;} /* Comment.Preproc */
  183. .c1 { color: #888; } /* Comment.Single */
  184. .cs { color: #888; font-weight: bold; } /* Comment.Special */
  185. .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
  186. .ge { color: #000000; } /* Generic.Emph */
  187. .gr { color: #aa0000 } /* Generic.Error */
  188. .gh { color: #888 } /* Generic.Heading */
  189. .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
  190. .go { color: #888888 } /* Generic.Output */
  191. .gp { color: #555555 } /* Generic.Prompt */
  192. .gs { font-weight: bold } /* Generic.Strong */
  193. .gu { color: #aaaaaa } /* Generic.Subheading */
  194. .gt { color: #aa0000 } /* Generic.Traceback */
  195. .kc { color: #0086b3; } /* Keyword.Constant */
  196. .kd { color: #a71d5d; } /* Keyword.Declaration */
  197. .kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
  198. .kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
  199. .kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
  200. .kt { color: #795da3; } /* Keyword.Type */
  201. .m { color: #009999 } /* Literal.Number */
  202. .s { color: #df5000 } /* Literal.String */
  203. .na { color: #a71d5d } /* Name.Attribute */
  204. .nb { color: #0086B3 } /* Name.Builtin */
  205. .nc { color: #795da3; } /* Name.Class */
  206. .no { color: #a71d5d } /* Name.Constant */
  207. .nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
  208. .ni { color: #800080 } /* Name.Entity */
  209. .ne { color: #990000; font-weight: bold } /* Name.Exception */
  210. .nf { color: #990000; font-weight: bold } /* Name.Function */
  211. .nl { color: #990000; font-weight: bold } /* Name.Label */
  212. .nn { color: #555555 } /* Name.Namespace */
  213. .nt { color: #0086b3 } /* Name.Tag */
  214. .nv { color: #a71d5d } /* Name.Variable */
  215. .ow { color: #000000; font-weight: bold } /* Operator.Word */
  216. .w { color: #bbbbbb } /* Text.Whitespace */
  217. .mf { color: #009999 } /* Literal.Number.Float */
  218. .mh { color: #009999 } /* Literal.Number.Hex */
  219. .mi { color: #009999 } /* Literal.Number.Integer */
  220. .mo { color: #009999 } /* Literal.Number.Oct */
  221. .sb { color: #df5000 } /* Literal.String.Backtick */
  222. .sc { color: #df5000 } /* Literal.String.Char */
  223. .sd { color: #df5000 } /* Literal.String.Doc */
  224. .s2 { color: #df5000 } /* Literal.String.Double */
  225. .se { color: #df5000 } /* Literal.String.Escape */
  226. .sh { color: #df5000 } /* Literal.String.Heredoc */
  227. .si { color: #df5000 } /* Literal.String.Interpol */
  228. .sx { color: #df5000 } /* Literal.String.Other */
  229. .sr { color: #009926 } /* Literal.String.Regex */
  230. .s1 { color: #df5000 } /* Literal.String.Single */
  231. .ss { color: #990073 } /* Literal.String.Symbol */
  232. .bp { color: #888 } /* Name.Builtin.Pseudo */
  233. .vc { color: #a71d5d } /* Name.Variable.Class */
  234. .vg { color: #a71d5d } /* Name.Variable.Global */
  235. .vi { color: #a71d5d } /* Name.Variable.Instance */
  236. .il { color: #009999 } /* Literal.Number.Integer.Long */
  237. .language-css .k {
  238. color: #0086b3;
  239. }
  240. .language-css .nt {
  241. color: #63a35c;
  242. }
  243. /*body.open-sans {
  244. font-family: "open-sans";
  245. }
  246. .futura-pt {
  247. }
  248. .futura-pt p {
  249. font-family: "adelle";
  250. }
  251. .futura-pt h1, .futura-pt h2 {
  252. font-family: "futura-pt";
  253. text-transform: uppercase;
  254. }
  255. .futura-pt h3 {
  256. font-weight: bold;
  257. }
  258. */
  259. img {
  260. width: auto;
  261. max-width: 100%;
  262. height: auto;
  263. border: 0;
  264. }
  265. .video {
  266. width: 100%;
  267. margin: 0 0 24px 0;
  268. }
  269. .video__container {
  270. position: relative;
  271. width: 100%;
  272. padding-bottom: 56.25%;
  273. padding-top: 35px;
  274. height: 0;
  275. overflow: hidden;
  276. }
  277. .video__container iframe {
  278. position: absolute;
  279. top:0;
  280. left: 0;
  281. width: 100%;
  282. height: 100%;
  283. }
  284. .video-desc {
  285. width: 100%;
  286. max-width: 740px;
  287. margin: 12px auto;
  288. }
  289. p {
  290. margin: 0 0 12px;
  291. }
  292. ul {
  293. list-style: disc;
  294. }
  295. ul, ol {
  296. padding: 0;
  297. margin: 0 0 12px 25px;
  298. }
  299. li {
  300. margin: 0 0 12px 0;
  301. }
  302. h1, h2, h3, h4, h5, h6 {
  303. margin: 0;
  304. font-weight: normal;
  305. }
  306. h1 {
  307. font-size: 48px;
  308. line-height: 1;
  309. margin: 0;
  310. font-weight: 600;
  311. margin-bottom: 6px;
  312. }
  313. .row--heading {
  314. position: relative;
  315. }
  316. .section--head p {
  317. text-align: left;
  318. font-size: 26px;
  319. line-height: 32px;
  320. margin-bottom: 24px;
  321. font-size: 19px;
  322. line-height: 29px;
  323. }
  324. .section--head .github-button {
  325. position: absolute;
  326. right:0;
  327. top:0;
  328. }
  329. .row--nav {
  330. text-align: center;
  331. font-size: 32px;
  332. line-height: 1.1;
  333. }
  334. .navigation {
  335. width: 100%;
  336. background: #F7F7F7;
  337. position: relative;
  338. padding: 30px 0;
  339. }
  340. .navigation a {
  341. text-decoration: none;
  342. border-bottom: 1px solid #92ABCD;
  343. }
  344. a.twitter-nav-link {
  345. border: 0;
  346. margin: 0 0.2em;
  347. }
  348. .twitter-nav-link span {
  349. border-bottom: 1px solid #92ABCD;
  350. }
  351. .navigation a:hover,
  352. .twitter-nav-link:hover span {
  353. border-bottom-color: #C00;
  354. }
  355. .twitter-nav-link:before {
  356. content: '';
  357. background: url('../test/twitter.svg');
  358. display: inline-block;
  359. width: 0.8em;
  360. height: 0.8em;
  361. background-size: 0.7em 0.7em;
  362. background-repeat: no-repeat;
  363. background-position: 0 0.1em;
  364. margin-right: 0.1em;
  365. }
  366. h2 {
  367. font-size: 32px;
  368. line-height: 1.1;
  369. margin-bottom: 12px;
  370. font-weight: 600;
  371. }
  372. h3 {
  373. font-size: 22px;
  374. line-height: 28px;
  375. margin: 0 0 8px 0;
  376. font-size: 18px;
  377. line-height: 24px;
  378. font-weight: 600;
  379. }
  380. strong {
  381. font-weight: 600;
  382. }
  383. span.highlight {
  384. background:rgb(246, 243, 226);
  385. }
  386. .title-block p {
  387. font-size: 22px;
  388. line-height: 28px;
  389. max-width: 600px;
  390. margin-bottom: 24px;
  391. }
  392. p, ul.text-list {
  393. color: #444;
  394. }
  395. .section--head p,
  396. .title-block p {
  397. color: #666;
  398. }
  399. .title-block p {
  400. font-size: 19px;
  401. line-height: 29px;
  402. }
  403. .section {
  404. width: 100%;
  405. margin-top: 176px;
  406. }
  407. .docs {
  408. margin-top: 60px;
  409. }
  410. .section--head {
  411. margin: 0;
  412. background: #EEE;
  413. /*background: linear-gradient(180deg, #eee 0%,#fff 100%);*/
  414. padding: 132px 0;
  415. }
  416. .row {
  417. max-width: 800px;
  418. margin: 24px auto;
  419. padding: 0 30px;
  420. position: relative;
  421. }
  422. .row--docs {
  423. max-width: 960px;
  424. padding-left: 210px;
  425. }
  426. .row--heading {
  427. margin-top: 0;
  428. margin-bottom: 0;
  429. }
  430. .row--footer {
  431. text-align: center;
  432. padding: 132px 0;
  433. }
  434. .row--wide {
  435. max-width: 1000px;
  436. }
  437. .row--video {
  438. max-width: 1160px;
  439. }
  440. .row--wide img {
  441. float: left;
  442. margin: 0 12px 12px 0;
  443. width: 200px;
  444. }
  445. img.img--with_border {
  446. border: 1px solid #DDD;
  447. border-radius: 2px;
  448. }
  449. .img-desc {
  450. margin-left: 212px;
  451. }
  452. /*.main-wrapper {
  453. background: none;
  454. width: 100%;
  455. padding-top: 0;
  456. }
  457. .content-wrap {
  458. }*/
  459. /* clearfix */
  460. .row:after{
  461. content: " ";
  462. visibility: hidden;
  463. display: block;
  464. height: 0;
  465. clear: both;
  466. }
  467. .row--large {
  468. margin-bottom: 48px;
  469. }
  470. .section--head h1 a {
  471. vertical-align: super;
  472. font-size: 14px;
  473. text-decoration: none;
  474. }
  475. /*p.intro {
  476. margin-top: 24px;
  477. font-size: 18px;
  478. line-height: 24px;
  479. }*/
  480. .col-50 {
  481. width: 48%;
  482. float: left;
  483. }
  484. .col-50:nth-child(1) {
  485. margin-right: 4%;
  486. }
  487. .col-img {
  488. width: auto;
  489. max-width: 100%;
  490. height: auto;
  491. }
  492. .style-select {
  493. width: 100%;
  494. float: left;
  495. }
  496. .style-select .radio {
  497. position: relative;
  498. margin-bottom: 12px;
  499. display: block;
  500. float: left;
  501. width: 100%;
  502. }
  503. .style-select label {
  504. padding-left: 24px;
  505. position: relative;
  506. display: block;
  507. cursor: pointer;
  508. }
  509. .style-select input {
  510. position: absolute;
  511. left:0;
  512. top:0;
  513. width:24px;
  514. height:24px;
  515. overflow:hidden;
  516. margin:0;
  517. padding:0;
  518. border:0;
  519. outline:0;
  520. opacity:0;
  521. cursor: pointer;
  522. }
  523. .style-select input + label:before {
  524. content: '';
  525. position: absolute;
  526. left:0;
  527. top:4px;
  528. background: none;
  529. border-radius: 50%;
  530. width:16px;
  531. height:16px;
  532. box-sizing: border-box;
  533. border: 2px solid rgba(0,0,0,0.6);
  534. }
  535. .radio:hover label:before {
  536. border-color: #3169B3;
  537. }
  538. .style-select input:checked + label:before {
  539. border-color: #3169B3;
  540. }
  541. .style-select input:checked + label:after {
  542. content: '';
  543. position: absolute;
  544. left: 5px;
  545. top: 9px;
  546. width:6px;
  547. height: 6px;
  548. background: #3169B3;
  549. border-radius: 50%;
  550. }
  551. /*.section--developers {
  552. color: #FFF;
  553. background: #222;
  554. background: #1f1f1f;
  555. padding: 80px 0;
  556. }
  557. .section--developers a {
  558. color:#FFFFFF;
  559. }
  560. .section--developers p,
  561. .section--developers ul.text-list {
  562. color: #ddd;
  563. }
  564. .section--developers .section--head p,
  565. .section--developers .title-block p {
  566. color: #ddd;
  567. }*/
  568. .row--modules ul {
  569. list-style: none;
  570. margin-left: 0;
  571. /*color: rgba(255, 255, 255, 0.8);*/
  572. }
  573. .row--modules span {
  574. font-weight:600;
  575. border-left:5px solid #FFF;
  576. padding-left:5px;
  577. margin-left:-10px;
  578. }
  579. .size-chart {
  580. width: 100%;
  581. display: inline-block;
  582. }
  583. .size-chart div {
  584. height: 21px;
  585. float: left;
  586. font-size: 13px;
  587. padding: 4px;
  588. line-height: 1;
  589. }
  590. .block__ui-separated {
  591. position: relative;
  592. }
  593. .block__ui-separated .col-50 {
  594. position: absolute;
  595. left: 0;
  596. top:12px;
  597. }
  598. .block__ui-separated img {
  599. float: right;
  600. max-width: 450px;
  601. }
  602. .demo-gallery {
  603. width: 100%;
  604. height: auto;
  605. float: left;
  606. }
  607. .demo-gallery a {
  608. -webkit-tap-highlight-color: rgba(0,0,0,0);
  609. -webkit-touch-callout: none;
  610. display: block;
  611. float: left;
  612. margin: 0 12px 12px 0;
  613. width: 171px;
  614. line-height: 0;
  615. }
  616. a.demo-gallery__img--main {
  617. width: auto;
  618. height: auto;
  619. }
  620. .ukraine-flag {
  621. width: 21px;
  622. height: 14px;
  623. position: relative;
  624. background: #ffcc00;
  625. top: 1px;
  626. display: inline-block;
  627. }
  628. .ukraine-flag:before {
  629. content:'';
  630. position: absolute;
  631. width: 21px;
  632. height: 7px;
  633. left:0;
  634. top:0;
  635. background: #0066cc;
  636. }
  637. .demo-gallery figure {
  638. display: none;
  639. }
  640. .demo-gallery__title {
  641. line-height: 14px;
  642. font-size: 14px;
  643. opacity: 0.8;
  644. margin-top: 5px;
  645. width: 100%;
  646. float: left;
  647. }
  648. .share-buttons h2 {
  649. text-align: center;
  650. border: 0;
  651. }
  652. .share-buttons {
  653. text-align: center;
  654. position: relative;
  655. margin: 0 0 24px;
  656. }
  657. .share-buttons a {
  658. -moz-border-radius: 2px;
  659. border-radius: 2px;
  660. display: inline-block;
  661. padding: 10px 20px;
  662. margin: 10px;
  663. color: #FFF;
  664. text-decoration: none;
  665. background: #5AAF63;
  666. font-size: 16px;
  667. line-height: 22px;
  668. cursor: pointer;
  669. }
  670. .share-buttons a:hover {
  671. opacity: 0.7;
  672. }
  673. #tweet {
  674. background: #0096c4;
  675. }
  676. #like {
  677. background: #3b5998;
  678. }
  679. #gplus {
  680. background: #d34836;
  681. }
  682. @media screen and (max-width: 1000px) {
  683. .row--wide {
  684. max-width: 800px;
  685. }
  686. .row--wide img {
  687. float: none;
  688. }
  689. .img-desc {
  690. margin-left: 0;
  691. }
  692. .section {
  693. margin-top: 132px;
  694. }
  695. .row--docs {
  696. max-width: 800px;
  697. padding-left: 30px;
  698. }
  699. .section--head {
  700. margin-top:0;
  701. padding: 30px 0;
  702. }
  703. .docs {
  704. margin-top: 48px;
  705. }
  706. .docs-menu {
  707. position: relative;
  708. margin: 15px 0;
  709. left:0;
  710. top:0;
  711. }
  712. .docs-menu ul {
  713. position: relative;
  714. }
  715. .docs-menu__ad {
  716. display: none;
  717. }
  718. .row--nav {
  719. font-size: 24px;
  720. line-height: 1.1;
  721. }
  722. }
  723. @media screen and (max-width: 650px) {
  724. h1 {
  725. font-size: 40px;
  726. }
  727. .block__ui-separated .col-50 {
  728. position: relative;
  729. top: 0;
  730. }
  731. .block__ui-separated img {
  732. max-width: 100%;
  733. width: 100%;
  734. float: left;
  735. }
  736. }
  737. @media screen and (max-width: 450px) {
  738. .col-50:nth-child(1) {
  739. margin-right: 0;
  740. }
  741. .row--wide img {
  742. margin-bottom: 6px;
  743. }
  744. .col-50 {
  745. width: 100%;
  746. margin-bottom: 12px;
  747. }
  748. .row {
  749. padding: 0 18px;
  750. }
  751. .docs .highlight,
  752. .codepen-embed {
  753. padding-left: 18px;
  754. padding-right: 18px;
  755. margin-left: -18px;
  756. }
  757. .section {
  758. margin-top: 88px;
  759. }
  760. .docs {
  761. margin-top: 32px;
  762. }
  763. .section--head {
  764. margin-top:0;
  765. padding: 24px 0;
  766. }
  767. .row--nav {
  768. font-size: 18px;
  769. line-height: 26px;
  770. }
  771. }
  772. @media screen and (max-width: 700px) {
  773. .row--nav {
  774. font-size: 18px;
  775. line-height: 26px;
  776. }
  777. .demo-gallery {
  778. max-width: 500px;
  779. }
  780. .demo-gallery a {
  781. width: 120px;
  782. margin: 0 4px 4px 0;
  783. }
  784. a.demo-gallery__img--main {
  785. width: 164px;
  786. }
  787. .section--head p {
  788. font-size: 18px;
  789. line-height: 24px;
  790. }
  791. }
  792. /*@media screen and (max-width: 490px) {
  793. .demo-gallery a {
  794. width: 100px;
  795. margin: 0 4px 4px 0;
  796. }
  797. a.demo-gallery__img--main {
  798. width: 137px;
  799. }
  800. }
  801. */
  802. @media screen and (max-width: 450px) {
  803. .demo-gallery a {
  804. width: 95px;
  805. margin: 0 1px 1px 0;
  806. }
  807. a.demo-gallery__img--main {
  808. width: 127px;
  809. }
  810. }
  811. @media screen and (max-width: 350px) {
  812. .demo-gallery a {
  813. width: 81px;
  814. margin: 0 1px 1px 0;
  815. }
  816. a.demo-gallery__img--main {
  817. width: 109px;
  818. }
  819. }