style.css 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870
  1. @font-face {
  2. font-family: 'Material Icons';
  3. src: url('/static/fonts/MaterialIcons-Regular.woff2') format('woff2');
  4. font-weight: normal;
  5. font-style: normal;
  6. }
  7. @media (max-width:1158px) {
  8. .phone-w12 {
  9. flex: 0 0 100%;
  10. }
  11. .on-phone {
  12. display: initial;
  13. }
  14. .on-desktop {
  15. display: none !important;
  16. }
  17. .phone-flex-flow {
  18. flex-flow: row wrap;
  19. justify-content: space-between;
  20. align-content: flex-start;
  21. }
  22. .phone-max-width-20 {
  23. max-width: 20rem;
  24. }
  25. .phone-max-width-8 {
  26. max-width: 6rem;
  27. }
  28. .phone-bottom-_4 {
  29. bottom: .4rem !important;
  30. }
  31. }
  32. @media (min-width:1159px) {
  33. .desktop-w12 {
  34. width: 100%;
  35. }
  36. .desktop-w3 {
  37. flex: 0 0 20%;
  38. }
  39. .desktop-w4 {
  40. flex: 0 0 33.33%;
  41. }
  42. .desktop-w6 {
  43. flex: 0 0 50%;
  44. }
  45. .margin-top-10 {
  46. margin-top: 10rem;
  47. }
  48. .on-phone {
  49. display: none !important;
  50. }
  51. .on-desktop {
  52. display: initial;
  53. }
  54. }
  55. :root {
  56. --primary: #301934;
  57. --primary-semi-transparent: #30193488;
  58. --accent: #8b6b04;
  59. --accent-dark: #d4af37;
  60. --text: #000000;
  61. --bg: #ffffff;
  62. --black: #121212;
  63. --grey: #888888;
  64. --dark-grey: #444444;
  65. --unimportant: #ffffffb2;
  66. --error: #892b30;
  67. }
  68. @media (prefers-color-scheme: dark) {
  69. :root {
  70. --primary: #301934;
  71. --primary-semi-transparent: #30193488;
  72. --accent: #d4af37;
  73. --accent-dark: #8b6b04;
  74. --text: #ffffff;
  75. --bg: #121212;
  76. --black: #121212;
  77. --grey: #888888;
  78. --dark-grey: #444444;
  79. --unimportant: #ffffffb2;
  80. --error: #892b30;
  81. }
  82. }
  83. input {
  84. -webkit-appearance: none;
  85. }
  86. input[type='checkbox'] {
  87. -webkit-appearance: checkbox;
  88. }
  89. nav ul {
  90. display: none;
  91. }
  92. nav input:checked ~ ul {
  93. display: block;
  94. }
  95. .experienced-box, .experienced-box-flex {
  96. display: none;
  97. }
  98. .experienced-datetime-check:checked ~ .experienced-box {
  99. display: block;
  100. }
  101. .experienced-datetime-check:checked ~ .experienced-box-flex {
  102. display: flex;
  103. }
  104. #sfa-box {
  105. display: none;
  106. }
  107. #sfa-enabled:checked ~ #sfa-box {
  108. display: block;
  109. }
  110. * {
  111. box-sizing: border-box;
  112. }
  113. body {
  114. margin: 0;
  115. color: var(--text);
  116. background-color: var(--bg);
  117. }
  118. h1 {
  119. font-size: 2rem;
  120. font-family: Fira Sans, sans-serif;
  121. }
  122. h2 {
  123. font-size: 1.5rem;
  124. font-family: Fira Sans, sans-serif;
  125. }
  126. p {
  127. font-family: IBM Plex Serif, serif;
  128. }
  129. a {
  130. color: var(--accent);
  131. }
  132. hr {
  133. border: none;
  134. border-top: thin solid var(--grey);
  135. text-align: center;
  136. margin-top: 2rem;
  137. }
  138. .hr-film::after {
  139. content: "\e54d";
  140. }
  141. .hr-tv::after {
  142. content: "\e333";
  143. }
  144. .hr-book::after {
  145. content: "\e865";
  146. }
  147. .hr-person::after {
  148. content: "\e7fd";
  149. }
  150. hr::after {
  151. display: inline-block;
  152. position: relative;
  153. top: -.85rem;
  154. font-size: 1.5em;
  155. padding: 0 0.25em;
  156. background: var(--bg);
  157. }
  158. ::placeholder {
  159. font-weight: 200;
  160. text-overflow: ellipsis;
  161. }
  162. .list-style-none {
  163. list-style-type: none;
  164. }
  165. .border-radius-25 {
  166. border-radius: 25%;
  167. }
  168. .clamp {
  169. display: -webkit-box;
  170. overflow : hidden;
  171. text-overflow: ellipsis;
  172. -webkit-line-clamp: 3;
  173. -webkit-box-orient: vertical;
  174. margin-bottom: 0;
  175. }
  176. /* TEXT COLOUR */
  177. .text {
  178. color: var(--text);
  179. }
  180. .text-error {
  181. color: var(--error);
  182. }
  183. .text-unimportant {
  184. color: var(--unimportant);
  185. }
  186. .text-white {
  187. color: white;
  188. }
  189. .text-black {
  190. color: black;
  191. }
  192. .text-grey {
  193. color: var(--grey);
  194. }
  195. .text-accent {
  196. color: var(--accent);
  197. }
  198. /* PADDING */
  199. .padding-tb-_25 {
  200. padding-top: .25rem;
  201. padding-bottom: .25rem;
  202. }
  203. .padding-tb-_5 {
  204. padding-top: .5rem;
  205. padding-bottom: .5rem;
  206. }
  207. .padding-tb-1 {
  208. padding-top: 1rem;
  209. padding-bottom: 1rem;
  210. }
  211. .padding-lr-0 {
  212. padding-left: 0;
  213. padding-right: 0;
  214. }
  215. .padding-lr-_5 {
  216. padding-left: .5rem;
  217. padding-right: .5rem;
  218. }
  219. .padding-bottom-_25 {
  220. padding-bottom: .25rem;
  221. }
  222. .padding-lr-_25 {
  223. padding-left: .25rem;
  224. padding-right: .25rem;
  225. }
  226. .padding-lr-_1 {
  227. padding-left: .1rem;
  228. padding-right: .1rem;
  229. }
  230. .padding-lr-1 {
  231. padding-left: 1rem;
  232. padding-right: 1rem;
  233. }
  234. .padding-lr-2 {
  235. padding-left: 2rem;
  236. padding-right: 2rem;
  237. }
  238. .padding-l-16 {
  239. padding-left: 16rem;
  240. }
  241. /* MARGINS */
  242. .margin-auto {
  243. margin: auto
  244. }
  245. .margin-lr-1 {
  246. margin-left: 1rem;
  247. margin-right: 1rem;
  248. }
  249. .margin-lr-5 {
  250. margin-left: 4%;
  251. margin-right: 4%;
  252. }
  253. .margin-top-0 {
  254. margin-top: 0;
  255. }
  256. .margin-top-_25 {
  257. margin-top: .25rem;
  258. }
  259. .margin-top-1 {
  260. margin-top: 1rem;
  261. }
  262. .margin-top-20 {
  263. margin-top: 20rem;
  264. }
  265. .margin-bottom-_5 {
  266. margin-bottom: .5rem;
  267. }
  268. .margin-bottom-1 {
  269. margin-bottom: 1rem;
  270. }
  271. .margin-bottom-2 {
  272. margin-bottom: 2rem;
  273. }
  274. .margin-tb-0 {
  275. margin-top: 0;
  276. margin-bottom: 0;
  277. }
  278. .margin-tb-_5 {
  279. margin-top: .5rem;
  280. margin-bottom: .5rem;
  281. }
  282. .margin-tb-1 {
  283. margin-top: 1rem;
  284. margin-bottom: 1rem;
  285. }
  286. .margin-tb-2 {
  287. margin-top: 2rem;
  288. margin-bottom: 2rem;
  289. }
  290. /* WIDTH */
  291. .max-width-10 {
  292. max-width: 10%;
  293. }
  294. .max-width-90 {
  295. max-width: 90%;
  296. }
  297. .w1 {
  298. width: 8.33%;
  299. }
  300. .w2 {
  301. width: 16.66%;
  302. }
  303. .w3 {
  304. width: 25%;
  305. }
  306. .w4 {
  307. width: 33.33%;
  308. }
  309. .w6 {
  310. width: 50%;
  311. }
  312. .w8 {
  313. width: 66.66%
  314. }
  315. .w9 {
  316. width: 75%;
  317. }
  318. .w10 {
  319. width: 83.33%
  320. }
  321. .w12 {
  322. width: 100%;
  323. }
  324. .width-92px {
  325. width: 5.75rem;
  326. }
  327. .width-154px {
  328. width: 9.625rem;
  329. }
  330. .width-185px {
  331. width: 11.5625rem;
  332. }
  333. .min-width-13_5 {
  334. min-width: 13.5rem;
  335. }
  336. .force-width-16 {
  337. min-width: 16rem;
  338. max-width: 16rem;
  339. }
  340. .force-width-18 {
  341. min-width: 18rem;
  342. max-width: 18rem;
  343. }
  344. .width-1_5 {
  345. width: 1.5rem;
  346. }
  347. /* DISPLAY */
  348. .display-none {
  349. display: none;
  350. }
  351. .inline {
  352. display: inline;
  353. }
  354. .inline-block {
  355. display: inline-block;
  356. }
  357. .flex {
  358. display: flex;
  359. }
  360. .block {
  361. display: block;
  362. }
  363. /* background */
  364. .bg {
  365. background: var(--bg);
  366. }
  367. .bg-none {
  368. background: none;
  369. }
  370. .bg-primary {
  371. background: var(--primary);
  372. }
  373. .bg-primary-semi-transparent {
  374. background-color: var(--primary-semi-transparent);
  375. }
  376. .bg-accent {
  377. background-color: var(--accent);
  378. }
  379. .bg-error {
  380. background-color: var(--error);
  381. }
  382. .bg-grey {
  383. background-color: var(--grey);
  384. }
  385. .bg-dark-grey {
  386. background-color: var(--dark-grey);
  387. }
  388. .hover-bg-grey {
  389. outline: 0;
  390. background-color: transparent;
  391. transition: background-color 0.3s ease-in-out;
  392. }
  393. .hover-bg-grey:hover, .hover-bg-grey:active, .hover-bg-grey:focus {
  394. outline: 0;
  395. background-color: var(--grey);
  396. }
  397. .hover-bg-dark-accent {
  398. outline: 0;
  399. background-color: var(--accent);
  400. transition: background-color 0.3s ease-in-out;
  401. }
  402. .hover-bg-dark-accent:hover, .hover-bg-dark-accent:active, .hover-bg-dark-accent:focus {
  403. outline: 0;
  404. background-color: var(--accent-dark);
  405. }
  406. .bg-gradient {
  407. background-image: linear-gradient(transparent, var(--black));
  408. }
  409. .bg-gradient-down {
  410. background-image: linear-gradient(black, transparent);
  411. }
  412. .cover {
  413. object-fit: cover;
  414. object-position: top;
  415. }
  416. /* FONT SIZE */
  417. .font-_875 {
  418. font-size: .875rem
  419. }
  420. .font-1 {
  421. font-size: 1rem;
  422. }
  423. .font-1_5 {
  424. font-size: 1.5rem;
  425. }
  426. .font-2 {
  427. font-size: 2rem;
  428. }
  429. .font-3 {
  430. font-size: 3rem;
  431. }
  432. /* FILTER */
  433. p.spoiler {
  434. color: var(--bg);
  435. border: 1px solid var(--text);
  436. filter: none;
  437. }
  438. p.spoiler:hover {
  439. color: var(--text);
  440. border: 1px solid transparent;
  441. }
  442. .spoiler {
  443. filter: blur(10px);
  444. }
  445. .spoiler:hover {
  446. filter: blur(0px);
  447. }
  448. .bw {
  449. filter: grayscale(100%);
  450. }
  451. .bw:hover {
  452. filter: grayscale(0) !important;
  453. }
  454. /* POSITION */
  455. .right {
  456. right: 0;
  457. }
  458. .bottom {
  459. bottom: 0;
  460. }
  461. .bottom-4 {
  462. bottom: 3.9rem;
  463. }
  464. .top-m_05 {
  465. top: -.05rem;
  466. }
  467. .top-m_3 {
  468. top: -.3rem;
  469. }
  470. .top {
  471. top: 0;
  472. }
  473. .top-1 {
  474. top: 1rem;
  475. }
  476. .left {
  477. left: 0;
  478. }
  479. .clear-float:after {
  480. content: ".";
  481. display: block;
  482. height: 0;
  483. clear: both;
  484. visibility: hidden;
  485. }
  486. .move-centre {
  487. top: 50%;
  488. transform: translateY(-50%);
  489. display: flex;
  490. justify-content: center;
  491. }
  492. .right-float {
  493. float: right;
  494. }
  495. .move-100 {
  496. transform: translateY(50%);
  497. }
  498. .moveX-m50 {
  499. transform: translateX(-50%);
  500. }
  501. .absolute {
  502. position: absolute;
  503. }
  504. .relative {
  505. position: relative;
  506. }
  507. .behind {
  508. z-index: -1;
  509. }
  510. /* ALIGN */
  511. .flex-content {
  512. flex: 0 1 auto;
  513. }
  514. .flex-fill {
  515. flex: 1 1 auto;
  516. }
  517. .flex-column {
  518. flex-direction: column;
  519. }
  520. .flex-row {
  521. flex-direction: row;
  522. }
  523. .flex-centre {
  524. justify-content: center;
  525. }
  526. .flex-justify-space {
  527. justify-content: space-between;
  528. }
  529. .flex-force-50 {
  530. flex: 0 0 50%;
  531. }
  532. .flex-force-40 {
  533. flex: 0 0 40%;
  534. }
  535. .flex-wrap {
  536. flex-wrap: wrap;
  537. }
  538. .flex-align-bottom {
  539. align-items: flex-end;
  540. }
  541. .flex-align-centre {
  542. align-items: center;
  543. }
  544. .flex-align-start {
  545. align-content: flex-start
  546. }
  547. .indent-2 {
  548. text-indent: 2rem;
  549. }
  550. .valign-mid {
  551. vertical-align: middle;
  552. }
  553. .justify {
  554. text-align: justify;
  555. }
  556. .centre {
  557. text-align: center;
  558. }
  559. .align-right {
  560. text-align: right;
  561. }
  562. /* CURSOR */
  563. .cursor-hand {
  564. cursor: pointer;
  565. }
  566. /* BORDER */
  567. .border-solid {
  568. border-style: solid;
  569. }
  570. .border-tb-transparent {
  571. border-top-color: transparent;
  572. border-bottom-color: transparent;
  573. }
  574. .border-none {
  575. border: none;
  576. }
  577. .border-bottom-white {
  578. border-bottom: 1px solid white;
  579. }
  580. .border-text {
  581. border: 1px solid var(--text);
  582. }
  583. .border-bottom {
  584. border-bottom: 1px solid var(--text);
  585. }
  586. .border-bottom:active, .border-bottom:focus, .border-bottom:focus-within {
  587. border-bottom: 1px solid var(--accent);
  588. }
  589. .border-_5 {
  590. border-width: .5px;
  591. }
  592. .border-grey {
  593. border-color: var(--grey);
  594. }
  595. .border-gradient {
  596. border-image: linear-gradient(to bottom, transparent, var(--grey), transparent) 1 100%;
  597. }
  598. .no-outline {
  599. outline: 0;
  600. }
  601. .no-outline:hover, .no-outline:focus {
  602. border-image: none;
  603. border: solid .5px var(--grey) !important;
  604. }
  605. .no-outline:active{
  606. border: solid .5px var(--accent);
  607. }
  608. /* HEIGHT */
  609. .height-2_8 {
  610. height: 2.8rem
  611. }
  612. .height-3_3 {
  613. height: 3.3rem
  614. }
  615. .height-30 {
  616. height: 30rem;
  617. }
  618. .height-_25 {
  619. height: .25rem;
  620. }
  621. .height-_1 {
  622. height: .1rem;
  623. }
  624. .height-fill {
  625. height: 100%;
  626. }
  627. .height-all {
  628. height: 100vh;
  629. }
  630. .min-height-231px {
  631. min-height: 14.4375rem;
  632. }
  633. .min-height-139px {
  634. min-height: 8.6875rem;
  635. }
  636. .min-height-104px {
  637. min-height: 6.5rem;
  638. }
  639. /* FONT STYLE */
  640. .monospace {
  641. font-family: monospace;
  642. }
  643. .sans {
  644. font-family: Fira Sans, sans-serif;
  645. }
  646. .serif {
  647. font-family: IBM Plex Serif, serif;
  648. }
  649. .material-icon {
  650. font-family: Material Icons;
  651. }
  652. .font-thin {
  653. font-weight: 200;
  654. }
  655. .font-normal {
  656. font-weight: normal;
  657. }
  658. .italic {
  659. font-style: italic;
  660. }
  661. .bold {
  662. font-weight: 600;
  663. }
  664. .hyphenate {
  665. hyphens: auto;
  666. }
  667. .decoration-none {
  668. text-decoration: none;
  669. }