Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

614 řádky
15 KiB

  1. @charset "UTF-8";
  2. @import "../components/mixins/wood";
  3. .ihk-switch {
  4. display: none;
  5. }
  6. .timeline-tabs {
  7. position: relative;
  8. display: block;
  9. background-color: $color-primary-light-04;
  10. background-color: var(--theme-primary-light-04, $color-primary-light-04);
  11. padding: 24px 20px 0;
  12. margin-bottom: -8px;
  13. ul {
  14. list-style: none;
  15. display: flex;
  16. justify-content: center;
  17. margin: 0 -15px;
  18. padding: 0;
  19. position: relative;
  20. z-index: 1;
  21. }
  22. .btn-small {
  23. min-width: 180px;
  24. text-align: center;
  25. &:not(.active) {
  26. background-color: white;
  27. color: $color-primary;
  28. color: var(--theme-primary, $color-primary);
  29. }
  30. @media(max-width: 567px) {
  31. min-width: 0;
  32. padding-left: 12px;
  33. padding-right: 12px;
  34. margin: 0 4px;
  35. }
  36. @media(max-width: 349px) {
  37. font-size: 16px;
  38. margin: 0 2px;
  39. }
  40. }
  41. ~ .timeline .item-slider {
  42. .prev,
  43. .next {
  44. @media(min-width: 1000px) {
  45. margin-top: -52px;
  46. }
  47. @media(min-width: 1340px) {
  48. margin-top: -74px;
  49. }
  50. }
  51. }
  52. }
  53. .timeline {
  54. margin: 0 0 calc(1.5vw + 40px);
  55. > p:last-child {
  56. font-size: 14px;
  57. text-align: right;
  58. margin: 15px;
  59. }
  60. .item-slider {
  61. position: relative;
  62. display: block;
  63. background-color: $color-primary-light-04;
  64. background-color: var(--theme-primary-light-04, $color-primary-light-04);
  65. min-height: 460px;
  66. font-weight: 600;
  67. &::before {
  68. content: "";
  69. position: absolute;
  70. width: 374px;
  71. height: 374px;
  72. background-color: #9AD7A3;
  73. top: 50%;
  74. left: 50%;
  75. border-radius: 50%;
  76. transform: translate3d(-50%, -50%, 0) scale(1);
  77. opacity: 1;
  78. transition: 0.3s ease;
  79. }
  80. @media(max-width: 567px) {
  81. min-height: 380px;
  82. &::before {
  83. width: 280px;
  84. height: 280px;
  85. }
  86. }
  87. @media(max-width: 349px) {
  88. &::before {
  89. width: 260px;
  90. height: 260px;
  91. }
  92. }
  93. .tabs, .count {
  94. display: none;
  95. }
  96. .prev, .next {
  97. width: 80px;
  98. height: 80px;
  99. position: absolute;
  100. top: 50%;
  101. margin-top: -40px;
  102. right: 24px;
  103. padding: 0;
  104. font-size: 80px;
  105. line-height: 1;
  106. transition: 0.2s ease;
  107. border: 0;
  108. background-color: transparent;
  109. cursor: pointer;
  110. &::before {
  111. @include icon-small-arrow-right-simple;
  112. font-family: "Icons", sans-serif;
  113. }
  114. &:hover {
  115. padding-left: 8px;
  116. @media(max-width: 999px) {
  117. padding-left: 0;
  118. }
  119. }
  120. @media(max-width: 1339px) {
  121. right: 0;
  122. width: 50px;
  123. height: 50px;
  124. font-size: 50px;
  125. margin-top: -25px;
  126. }
  127. @media(max-width: 567px) {
  128. font-size: 30px;
  129. width: 30px;
  130. height: 30px;
  131. margin-top: -15px;
  132. }
  133. }
  134. .prev {
  135. left: 24px;
  136. transform: scale(-1, 1);
  137. @media(max-width: 1339px) {
  138. left: 0;
  139. }
  140. }
  141. .slide {
  142. min-height: 460px;
  143. display: flex;
  144. align-items: center;
  145. text-align: center;
  146. &:not(.current) {
  147. max-height: 460px;
  148. }
  149. @media(max-width: 567px) {
  150. min-height: 380px;
  151. &:not(.current) {
  152. max-height: 380px;
  153. }
  154. }
  155. }
  156. .text-box {
  157. padding: 50px 0;
  158. @media(max-width: 767px) {
  159. padding: 30px 0;
  160. }
  161. }
  162. .slide:not(.has-image) .container {
  163. max-width: 1180px;
  164. }
  165. .container {
  166. @media(min-width: 1000px) and (max-width: 1339px) {
  167. padding: 0 60px;
  168. }
  169. @media(min-width: 768px) and (max-width: 999px) {
  170. padding: 0 120px;
  171. }
  172. }
  173. .year {
  174. font-family: "Korb", sans-serif;
  175. font-weight: 700;
  176. font-size: 100px;
  177. line-height: 0.9;
  178. margin-bottom: 0.25em;
  179. @media(max-width: 1340px) {
  180. font-size: 80px;
  181. }
  182. @media(max-width: 999px) {
  183. font-size: 72px;
  184. }
  185. @media(max-width: 567px) {
  186. font-size: 48px;
  187. }
  188. @media(max-width: 349px) {
  189. font-size: 40px;
  190. }
  191. }
  192. .subhead {
  193. font-weight: 700;
  194. }
  195. p:last-child {
  196. margin-bottom: 0;
  197. }
  198. @media(min-width: 1000px) {
  199. .slide.has-image .container {
  200. display: flex;
  201. align-items: center;
  202. justify-content: space-between;
  203. .image-box, .text-box {
  204. flex: 1 1 calc(50% - 20px);
  205. max-width: calc(50% - 20px);
  206. @media(max-width: 1339px) {
  207. flex: 1 1 calc(50% - 15px);
  208. max-width: calc(50% - 15px);
  209. }
  210. }
  211. .image-box {
  212. position: relative;
  213. margin: 30px 0;
  214. &.portrait {
  215. flex: 1 1 265px;
  216. margin-right: 40px;
  217. max-width: 265px;
  218. + .text-box {
  219. max-width: none;
  220. }
  221. @media(max-width: 1339px) {
  222. margin-right: 30px;
  223. }
  224. }
  225. &.medium {
  226. flex: 1 1 320px;
  227. margin-right: 40px;
  228. max-width: 320px;
  229. + .text-box {
  230. max-width: none;
  231. }
  232. @media(max-width: 1339px) {
  233. margin-right: 30px;
  234. }
  235. }
  236. img {
  237. display: block;
  238. }
  239. .caption {
  240. position: absolute;
  241. bottom: 0;
  242. left: 0;
  243. width: 100%;
  244. padding: 8px 12px;
  245. background-color: rgba(white, 0.6);
  246. text-align: left;
  247. backdrop-filter: blur(3px);
  248. font-weight: 700;
  249. font-size: 15px;
  250. line-height: 1.4;
  251. span + span {
  252. margin-top: 3px;
  253. }
  254. }
  255. .copyright {
  256. display: block;
  257. font-weight: 400;
  258. font-size: 10px;
  259. }
  260. }
  261. .text-box {
  262. text-align: left;
  263. }
  264. .year {
  265. margin-left: -0.06em;
  266. }
  267. }
  268. &.hide-circle::before {
  269. transform: translate3d(-50%, -50%, 0) scale(0.8);
  270. opacity: 0;
  271. }
  272. }
  273. @media(max-width: 999px) {
  274. .image-box {
  275. display: none;
  276. }
  277. }
  278. @media(max-width: 767px) {
  279. p {
  280. line-height: 1.4;
  281. font-size: 0.94em;
  282. }
  283. }
  284. @media(max-width: 567px) {
  285. p {
  286. padding-left: 10px;
  287. padding-right: 10px;
  288. }
  289. }
  290. }
  291. .years {
  292. position: relative;
  293. display: block;
  294. background-color: $color-primary;
  295. background-color: var(--theme-color-primary, $color-primary);
  296. color: white;
  297. overflow: hidden;
  298. &::before {
  299. content: "";
  300. position: absolute;
  301. left: 0;
  302. right: 0;
  303. top: 50%;
  304. margin-top: -4px;
  305. height: 8px;
  306. background-color: $color-secondary;
  307. background-color: var(--theme-color-secondary, $color-secondary);
  308. @media(max-width: 999px) {
  309. margin-top: 8px;
  310. height: 4px;
  311. }
  312. }
  313. }
  314. .years-wrapper {
  315. position: relative;
  316. display: flex;
  317. &.animate {
  318. transition: 0.3s ease;
  319. }
  320. &.dragging * {
  321. pointer-events: none;
  322. -webkit-user-select: none;
  323. -moz-user-select: none;
  324. -ms-user-select: none;
  325. user-select: none;
  326. }
  327. }
  328. @media(max-width: 999px) {
  329. .year-item {
  330. margin: 26px 32px 26px 0;
  331. .year {
  332. white-space: nowrap;
  333. br {
  334. display: none;
  335. }
  336. }
  337. ul {
  338. display: none;
  339. }
  340. .year {
  341. position: relative;
  342. font-family: "Korb", sans-serif;
  343. font-weight: 700;
  344. font-size: 36px;
  345. line-height: 1;
  346. cursor: pointer;
  347. z-index: 1;
  348. transition: 0.2s ease;
  349. margin-bottom: 0;
  350. &::before {
  351. content: "";
  352. @include fullsize;
  353. background-color: $color-primary;
  354. background-color: var(--theme-color-primary, $color-primary);
  355. margin: 0 -8px;
  356. z-index: -1;
  357. transition: 0.2s ease;
  358. opacity: 0;
  359. }
  360. }
  361. &.current .year::before,
  362. &.anchor .year::before {
  363. opacity: 1;
  364. }
  365. &.current .year {
  366. color: $color-secondary;
  367. color: var(--theme-color-secondary, $color-secondary);
  368. }
  369. &.last {
  370. margin-right: 200px;
  371. }
  372. }
  373. }
  374. @media(min-width: 1000px) {
  375. .year-item {
  376. position: relative;
  377. font-size: 0.75em;
  378. line-height: 1.3em;
  379. display: flex;
  380. align-items: flex-start;
  381. min-height: 360px;
  382. flex: 1 1 320px;
  383. max-width: 320px;
  384. min-width: 320px;
  385. padding: 18px 20px 22px;
  386. &::before {
  387. content: "";
  388. position: absolute;
  389. left: 0;
  390. top: 26px;
  391. bottom: calc(50% - 4px);
  392. width: 4px;
  393. background-color: white;
  394. z-index: 2;
  395. }
  396. @media(max-width: 999px) {
  397. min-height: 0;
  398. flex: 1 1 150px;
  399. max-width: 150px;
  400. min-width: 60px;
  401. &::before {
  402. display: none;
  403. }
  404. }
  405. &:nth-child(odd) {
  406. align-items: flex-end;
  407. &::before {
  408. bottom: 26px;
  409. top: calc(50% - 4px);
  410. }
  411. }
  412. &.anchor {
  413. &::before {
  414. display: none;
  415. }
  416. .year::before {
  417. opacity: 1;
  418. }
  419. &:not(:first-child) {
  420. margin-right: 40px;
  421. }
  422. }
  423. &.last {
  424. margin-right: 400px;
  425. }
  426. &.anchor ~ .anchor ~ .anchor {
  427. margin-right: 70px;
  428. .year::before {
  429. margin-right: 0.6em;
  430. }
  431. }
  432. .year {
  433. position: absolute;
  434. bottom: 50%;
  435. margin: calc(-4px - 0.15em) -0.06em;
  436. font-family: "Korb", sans-serif;
  437. font-weight: 700;
  438. font-size: 60px;
  439. line-height: 1;
  440. cursor: pointer;
  441. z-index: 1;
  442. transition: 0.2s ease;
  443. &::before {
  444. content: "";
  445. @include fullsize;
  446. background-color: $color-primary;
  447. background-color: var(--theme-color-primary, $color-primary);
  448. margin: 0 -16px;
  449. z-index: -1;
  450. transition: 0.2s ease;
  451. opacity: 0;
  452. }
  453. @media(max-width: 999px) {
  454. font-size: 40px;
  455. position: relative;
  456. }
  457. }
  458. &.current {
  459. &::before {
  460. background-color: $color-secondary;
  461. background-color: var(--theme-color-secondary, $color-secondary);
  462. }
  463. .year {
  464. color: $color-secondary;
  465. color: var(--theme-color-secondary, $color-secondary);
  466. &::before {
  467. opacity: 1;
  468. }
  469. }
  470. }
  471. ul {
  472. margin: 0 -70% 0 -0.28em;
  473. padding: 0;
  474. list-style: none;
  475. @media(max-width: 999px) {
  476. display: none;
  477. }
  478. }
  479. .title {
  480. margin: 0;
  481. font-family: 'Source Sans Pro', sans-serif;
  482. font-weight: 600;
  483. }
  484. li {
  485. position: relative;
  486. cursor: pointer;
  487. transition: 0.2s ease;
  488. z-index: 3;
  489. padding: 0.2em 0;
  490. top: 0.25em;
  491. &::before {
  492. content: '';
  493. position: absolute;
  494. left: 0;
  495. top: 0;
  496. bottom: 0;
  497. width: 15px;
  498. transition: 0.2s ease;
  499. }
  500. &:hover, &.active {
  501. color: $color-secondary;
  502. color: var(--theme-color-secondary, $color-secondary);
  503. }
  504. p {
  505. transform: translate3d(0, 0, 0);
  506. transition: 0.2s ease;
  507. }
  508. &:hover p {
  509. transform: translate3d(10px, 0, 0);
  510. }
  511. }
  512. .slide {
  513. display: none;
  514. }
  515. }
  516. }
  517. }