site.css 7.2 KB

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