您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1746 行
27KB

  1. /*
  2. ! tailwindcss v3.2.7 | MIT License | https://tailwindcss.com
  3. *//*
  4. 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
  5. 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
  6. */
  7. *,
  8. ::before,
  9. ::after {
  10. box-sizing: border-box; /* 1 */
  11. border-width: 0; /* 2 */
  12. border-style: solid; /* 2 */
  13. border-color: #e5e7eb; /* 2 */
  14. }
  15. ::before,
  16. ::after {
  17. --tw-content: '';
  18. }
  19. /*
  20. 1. Use a consistent sensible line-height in all browsers.
  21. 2. Prevent adjustments of font size after orientation changes in iOS.
  22. 3. Use a more readable tab size.
  23. 4. Use the user's configured `sans` font-family by default.
  24. 5. Use the user's configured `sans` font-feature-settings by default.
  25. */
  26. html {
  27. line-height: 1.5; /* 1 */
  28. -webkit-text-size-adjust: 100%; /* 2 */
  29. -moz-tab-size: 4; /* 3 */
  30. -o-tab-size: 4;
  31. tab-size: 4; /* 3 */
  32. font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  33. font-feature-settings: normal; /* 5 */
  34. }
  35. /*
  36. 1. Remove the margin in all browsers.
  37. 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
  38. */
  39. body {
  40. margin: 0; /* 1 */
  41. line-height: inherit; /* 2 */
  42. }
  43. /*
  44. 1. Add the correct height in Firefox.
  45. 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
  46. 3. Ensure horizontal rules are visible by default.
  47. */
  48. hr {
  49. height: 0; /* 1 */
  50. color: inherit; /* 2 */
  51. border-top-width: 1px; /* 3 */
  52. }
  53. /*
  54. Add the correct text decoration in Chrome, Edge, and Safari.
  55. */
  56. abbr:where([title]) {
  57. -webkit-text-decoration: underline dotted;
  58. text-decoration: underline dotted;
  59. }
  60. /*
  61. Remove the default font size and weight for headings.
  62. */
  63. h1,
  64. h2,
  65. h3,
  66. h4,
  67. h5,
  68. h6 {
  69. font-size: inherit;
  70. font-weight: inherit;
  71. }
  72. /*
  73. Reset links to optimize for opt-in styling instead of opt-out.
  74. */
  75. a {
  76. color: inherit;
  77. text-decoration: inherit;
  78. }
  79. /*
  80. Add the correct font weight in Edge and Safari.
  81. */
  82. b,
  83. strong {
  84. font-weight: bolder;
  85. }
  86. /*
  87. 1. Use the user's configured `mono` font family by default.
  88. 2. Correct the odd `em` font sizing in all browsers.
  89. */
  90. code,
  91. kbd,
  92. samp,
  93. pre {
  94. font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  95. font-size: 1em; /* 2 */
  96. }
  97. /*
  98. Add the correct font size in all browsers.
  99. */
  100. small {
  101. font-size: 80%;
  102. }
  103. /*
  104. Prevent `sub` and `sup` elements from affecting the line height in all browsers.
  105. */
  106. sub,
  107. sup {
  108. font-size: 75%;
  109. line-height: 0;
  110. position: relative;
  111. vertical-align: baseline;
  112. }
  113. sub {
  114. bottom: -0.25em;
  115. }
  116. sup {
  117. top: -0.5em;
  118. }
  119. /*
  120. 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
  121. 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
  122. 3. Remove gaps between table borders by default.
  123. */
  124. table {
  125. text-indent: 0; /* 1 */
  126. border-color: inherit; /* 2 */
  127. border-collapse: collapse; /* 3 */
  128. }
  129. /*
  130. 1. Change the font styles in all browsers.
  131. 2. Remove the margin in Firefox and Safari.
  132. 3. Remove default padding in all browsers.
  133. */
  134. button,
  135. input,
  136. optgroup,
  137. select,
  138. textarea {
  139. font-family: inherit; /* 1 */
  140. font-size: 100%; /* 1 */
  141. font-weight: inherit; /* 1 */
  142. line-height: inherit; /* 1 */
  143. color: inherit; /* 1 */
  144. margin: 0; /* 2 */
  145. padding: 0; /* 3 */
  146. }
  147. /*
  148. Remove the inheritance of text transform in Edge and Firefox.
  149. */
  150. button,
  151. select {
  152. text-transform: none;
  153. }
  154. /*
  155. 1. Correct the inability to style clickable types in iOS and Safari.
  156. 2. Remove default button styles.
  157. */
  158. button,
  159. [type='button'],
  160. [type='reset'],
  161. [type='submit'] {
  162. -webkit-appearance: button; /* 1 */
  163. background-color: transparent; /* 2 */
  164. background-image: none; /* 2 */
  165. }
  166. /*
  167. Use the modern Firefox focus style for all focusable elements.
  168. */
  169. :-moz-focusring {
  170. outline: auto;
  171. }
  172. /*
  173. Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
  174. */
  175. :-moz-ui-invalid {
  176. box-shadow: none;
  177. }
  178. /*
  179. Add the correct vertical alignment in Chrome and Firefox.
  180. */
  181. progress {
  182. vertical-align: baseline;
  183. }
  184. /*
  185. Correct the cursor style of increment and decrement buttons in Safari.
  186. */
  187. ::-webkit-inner-spin-button,
  188. ::-webkit-outer-spin-button {
  189. height: auto;
  190. }
  191. /*
  192. 1. Correct the odd appearance in Chrome and Safari.
  193. 2. Correct the outline style in Safari.
  194. */
  195. [type='search'] {
  196. -webkit-appearance: textfield; /* 1 */
  197. outline-offset: -2px; /* 2 */
  198. }
  199. /*
  200. Remove the inner padding in Chrome and Safari on macOS.
  201. */
  202. ::-webkit-search-decoration {
  203. -webkit-appearance: none;
  204. }
  205. /*
  206. 1. Correct the inability to style clickable types in iOS and Safari.
  207. 2. Change font properties to `inherit` in Safari.
  208. */
  209. ::-webkit-file-upload-button {
  210. -webkit-appearance: button; /* 1 */
  211. font: inherit; /* 2 */
  212. }
  213. /*
  214. Add the correct display in Chrome and Safari.
  215. */
  216. summary {
  217. display: list-item;
  218. }
  219. /*
  220. Removes the default spacing and border for appropriate elements.
  221. */
  222. blockquote,
  223. dl,
  224. dd,
  225. h1,
  226. h2,
  227. h3,
  228. h4,
  229. h5,
  230. h6,
  231. hr,
  232. figure,
  233. p,
  234. pre {
  235. margin: 0;
  236. }
  237. fieldset {
  238. margin: 0;
  239. padding: 0;
  240. }
  241. legend {
  242. padding: 0;
  243. }
  244. ol,
  245. menu {
  246. list-style: none;
  247. margin: 0;
  248. padding: 0;
  249. }
  250. ul {
  251. list-style: disc;
  252. }
  253. /*
  254. Prevent resizing textareas horizontally by default.
  255. */
  256. textarea {
  257. resize: vertical;
  258. }
  259. /*
  260. 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
  261. 2. Set the default placeholder color to the user's configured gray 400 color.
  262. */
  263. input::-moz-placeholder, textarea::-moz-placeholder {
  264. opacity: 1; /* 1 */
  265. color: #9ca3af; /* 2 */
  266. }
  267. input::placeholder,
  268. textarea::placeholder {
  269. opacity: 1; /* 1 */
  270. color: #9ca3af; /* 2 */
  271. }
  272. /*
  273. Set the default cursor for buttons.
  274. */
  275. button,
  276. [role="button"] {
  277. cursor: pointer;
  278. }
  279. /*
  280. Make sure disabled buttons don't get the pointer cursor.
  281. */
  282. :disabled {
  283. cursor: default;
  284. }
  285. /*
  286. 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
  287. 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
  288. This can trigger a poorly considered lint error in some tools but is included by design.
  289. */
  290. img,
  291. svg,
  292. video,
  293. canvas,
  294. audio,
  295. iframe,
  296. embed,
  297. object {
  298. display: block; /* 1 */
  299. vertical-align: middle; /* 2 */
  300. }
  301. /*
  302. Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
  303. */
  304. img,
  305. video {
  306. max-width: 100%;
  307. height: auto;
  308. }
  309. /* Make elements with the HTML hidden attribute stay hidden by default */
  310. [hidden] {
  311. display: none;
  312. }
  313. *, ::before, ::after {
  314. --tw-border-spacing-x: 0;
  315. --tw-border-spacing-y: 0;
  316. --tw-translate-x: 0;
  317. --tw-translate-y: 0;
  318. --tw-rotate: 0;
  319. --tw-skew-x: 0;
  320. --tw-skew-y: 0;
  321. --tw-scale-x: 1;
  322. --tw-scale-y: 1;
  323. --tw-pan-x: ;
  324. --tw-pan-y: ;
  325. --tw-pinch-zoom: ;
  326. --tw-scroll-snap-strictness: proximity;
  327. --tw-ordinal: ;
  328. --tw-slashed-zero: ;
  329. --tw-numeric-figure: ;
  330. --tw-numeric-spacing: ;
  331. --tw-numeric-fraction: ;
  332. --tw-ring-inset: ;
  333. --tw-ring-offset-width: 0px;
  334. --tw-ring-offset-color: #fff;
  335. --tw-ring-color: rgb(59 130 246 / 0.5);
  336. --tw-ring-offset-shadow: 0 0 #0000;
  337. --tw-ring-shadow: 0 0 #0000;
  338. --tw-shadow: 0 0 #0000;
  339. --tw-shadow-colored: 0 0 #0000;
  340. --tw-blur: ;
  341. --tw-brightness: ;
  342. --tw-contrast: ;
  343. --tw-grayscale: ;
  344. --tw-hue-rotate: ;
  345. --tw-invert: ;
  346. --tw-saturate: ;
  347. --tw-sepia: ;
  348. --tw-drop-shadow: ;
  349. --tw-backdrop-blur: ;
  350. --tw-backdrop-brightness: ;
  351. --tw-backdrop-contrast: ;
  352. --tw-backdrop-grayscale: ;
  353. --tw-backdrop-hue-rotate: ;
  354. --tw-backdrop-invert: ;
  355. --tw-backdrop-opacity: ;
  356. --tw-backdrop-saturate: ;
  357. --tw-backdrop-sepia: ;
  358. }
  359. ::backdrop {
  360. --tw-border-spacing-x: 0;
  361. --tw-border-spacing-y: 0;
  362. --tw-translate-x: 0;
  363. --tw-translate-y: 0;
  364. --tw-rotate: 0;
  365. --tw-skew-x: 0;
  366. --tw-skew-y: 0;
  367. --tw-scale-x: 1;
  368. --tw-scale-y: 1;
  369. --tw-pan-x: ;
  370. --tw-pan-y: ;
  371. --tw-pinch-zoom: ;
  372. --tw-scroll-snap-strictness: proximity;
  373. --tw-ordinal: ;
  374. --tw-slashed-zero: ;
  375. --tw-numeric-figure: ;
  376. --tw-numeric-spacing: ;
  377. --tw-numeric-fraction: ;
  378. --tw-ring-inset: ;
  379. --tw-ring-offset-width: 0px;
  380. --tw-ring-offset-color: #fff;
  381. --tw-ring-color: rgb(59 130 246 / 0.5);
  382. --tw-ring-offset-shadow: 0 0 #0000;
  383. --tw-ring-shadow: 0 0 #0000;
  384. --tw-shadow: 0 0 #0000;
  385. --tw-shadow-colored: 0 0 #0000;
  386. --tw-blur: ;
  387. --tw-brightness: ;
  388. --tw-contrast: ;
  389. --tw-grayscale: ;
  390. --tw-hue-rotate: ;
  391. --tw-invert: ;
  392. --tw-saturate: ;
  393. --tw-sepia: ;
  394. --tw-drop-shadow: ;
  395. --tw-backdrop-blur: ;
  396. --tw-backdrop-brightness: ;
  397. --tw-backdrop-contrast: ;
  398. --tw-backdrop-grayscale: ;
  399. --tw-backdrop-hue-rotate: ;
  400. --tw-backdrop-invert: ;
  401. --tw-backdrop-opacity: ;
  402. --tw-backdrop-saturate: ;
  403. --tw-backdrop-sepia: ;
  404. }
  405. .container {
  406. width: 100%;
  407. }
  408. @media (min-width: 640px) {
  409. .container {
  410. max-width: 640px;
  411. }
  412. }
  413. @media (min-width: 768px) {
  414. .container {
  415. max-width: 768px;
  416. }
  417. }
  418. @media (min-width: 1024px) {
  419. .container {
  420. max-width: 1024px;
  421. }
  422. }
  423. @media (min-width: 1280px) {
  424. .container {
  425. max-width: 1280px;
  426. }
  427. }
  428. @media (min-width: 1536px) {
  429. .container {
  430. max-width: 1536px;
  431. }
  432. }
  433. .sr-only {
  434. position: absolute;
  435. width: 1px;
  436. height: 1px;
  437. padding: 0;
  438. margin: -1px;
  439. overflow: hidden;
  440. clip: rect(0, 0, 0, 0);
  441. white-space: nowrap;
  442. border-width: 0;
  443. }
  444. .pointer-events-none {
  445. pointer-events: none;
  446. }
  447. .static {
  448. position: static;
  449. }
  450. .fixed {
  451. position: fixed;
  452. }
  453. .absolute {
  454. position: absolute;
  455. }
  456. .sticky {
  457. position: sticky;
  458. }
  459. .left-0 {
  460. left: 0px;
  461. }
  462. .right-0 {
  463. right: 0px;
  464. }
  465. .right-10 {
  466. right: 2.5rem;
  467. }
  468. .top-0 {
  469. top: 0px;
  470. }
  471. .top-10 {
  472. top: 2.5rem;
  473. }
  474. .z-10 {
  475. z-index: 10;
  476. }
  477. .z-20 {
  478. z-index: 20;
  479. }
  480. .z-30 {
  481. z-index: 30;
  482. }
  483. .z-50 {
  484. z-index: 50;
  485. }
  486. .z-\[60\] {
  487. z-index: 60;
  488. }
  489. .row-start-1 {
  490. grid-row-start: 1;
  491. }
  492. .float-right {
  493. float: right;
  494. }
  495. .-m-4 {
  496. margin: -1rem;
  497. }
  498. .m-1 {
  499. margin: 0.25rem;
  500. }
  501. .mx-4 {
  502. margin-left: 1rem;
  503. margin-right: 1rem;
  504. }
  505. .my-4 {
  506. margin-top: 1rem;
  507. margin-bottom: 1rem;
  508. }
  509. .mx-2 {
  510. margin-left: 0.5rem;
  511. margin-right: 0.5rem;
  512. }
  513. .mx-1 {
  514. margin-left: 0.25rem;
  515. margin-right: 0.25rem;
  516. }
  517. .mb-2 {
  518. margin-bottom: 0.5rem;
  519. }
  520. .mb-3 {
  521. margin-bottom: 0.75rem;
  522. }
  523. .mb-4 {
  524. margin-bottom: 1rem;
  525. }
  526. .mb-8 {
  527. margin-bottom: 2rem;
  528. }
  529. .mb-\[1em\] {
  530. margin-bottom: 1em;
  531. }
  532. .ml-3 {
  533. margin-left: 0.75rem;
  534. }
  535. .ml-auto {
  536. margin-left: auto;
  537. }
  538. .mr-2 {
  539. margin-right: 0.5rem;
  540. }
  541. .mt-16 {
  542. margin-top: 4rem;
  543. }
  544. .mt-20 {
  545. margin-top: 5rem;
  546. }
  547. .mt-3 {
  548. margin-top: 0.75rem;
  549. }
  550. .mt-4 {
  551. margin-top: 1rem;
  552. }
  553. .block {
  554. display: block;
  555. }
  556. .inline-block {
  557. display: inline-block;
  558. }
  559. .flex {
  560. display: flex;
  561. }
  562. .grid {
  563. display: grid;
  564. }
  565. .hidden {
  566. display: none;
  567. }
  568. .h-10 {
  569. height: 2.5rem;
  570. }
  571. .h-14 {
  572. height: 3.5rem;
  573. }
  574. .h-5 {
  575. height: 1.25rem;
  576. }
  577. .h-fit {
  578. height: -moz-fit-content;
  579. height: fit-content;
  580. }
  581. .h-full {
  582. height: 100%;
  583. }
  584. .h-screen {
  585. height: 100vh;
  586. }
  587. .min-h-\[2rem\] {
  588. min-height: 2rem;
  589. }
  590. .w-10 {
  591. width: 2.5rem;
  592. }
  593. .w-14 {
  594. width: 3.5rem;
  595. }
  596. .w-48 {
  597. width: 12rem;
  598. }
  599. .w-5 {
  600. width: 1.25rem;
  601. }
  602. .w-\[12rem\] {
  603. width: 12rem;
  604. }
  605. .w-\[4\.5rem\] {
  606. width: 4.5rem;
  607. }
  608. .w-\[calc\(100\%-2rem\)\] {
  609. width: calc(100% - 2rem);
  610. }
  611. .w-fit {
  612. width: -moz-fit-content;
  613. width: fit-content;
  614. }
  615. .w-full {
  616. width: 100%;
  617. }
  618. .min-w-\[5rem\] {
  619. min-width: 5rem;
  620. }
  621. .max-w-\[30rem\] {
  622. max-width: 30rem;
  623. }
  624. .max-w-\[65ch\] {
  625. max-width: 65ch;
  626. }
  627. .shrink-0 {
  628. flex-shrink: 0;
  629. }
  630. .-rotate-12 {
  631. --tw-rotate: -12deg;
  632. transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  633. }
  634. .rotate-\[15deg\] {
  635. --tw-rotate: 15deg;
  636. transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  637. }
  638. .cursor-pointer {
  639. cursor: pointer;
  640. }
  641. .grid-flow-col {
  642. grid-auto-flow: column;
  643. }
  644. .grid-rows-1 {
  645. grid-template-rows: repeat(1, minmax(0, 1fr));
  646. }
  647. .flex-col {
  648. flex-direction: column;
  649. }
  650. .content-start {
  651. align-content: flex-start;
  652. }
  653. .items-start {
  654. align-items: flex-start;
  655. }
  656. .items-center {
  657. align-items: center;
  658. }
  659. .items-stretch {
  660. align-items: stretch;
  661. }
  662. .justify-center {
  663. justify-content: center;
  664. }
  665. .justify-between {
  666. justify-content: space-between;
  667. }
  668. .gap-2 {
  669. gap: 0.5rem;
  670. }
  671. .gap-4 {
  672. gap: 1rem;
  673. }
  674. .gap-6 {
  675. gap: 1.5rem;
  676. }
  677. .gap-8 {
  678. gap: 2rem;
  679. }
  680. .overflow-hidden {
  681. overflow: hidden;
  682. }
  683. .overflow-x-auto {
  684. overflow-x: auto;
  685. }
  686. .overflow-y-auto {
  687. overflow-y: auto;
  688. }
  689. .overflow-y-scroll {
  690. overflow-y: scroll;
  691. }
  692. .overscroll-none {
  693. overscroll-behavior: none;
  694. }
  695. .truncate {
  696. overflow: hidden;
  697. text-overflow: ellipsis;
  698. white-space: nowrap;
  699. }
  700. .rounded-full {
  701. border-radius: 9999px;
  702. }
  703. .border-b-2 {
  704. border-bottom-width: 2px;
  705. }
  706. .border-b-\[2px\] {
  707. border-bottom-width: 2px;
  708. }
  709. .border-l-2 {
  710. border-left-width: 2px;
  711. }
  712. .border-black {
  713. --tw-border-opacity: 1;
  714. border-color: rgb(0 0 0 / var(--tw-border-opacity));
  715. }
  716. .bg-black {
  717. --tw-bg-opacity: 1;
  718. background-color: rgb(0 0 0 / var(--tw-bg-opacity));
  719. }
  720. .bg-purple-700\/50 {
  721. background-color: rgb(126 34 206 / 0.5);
  722. }
  723. .bg-red-400 {
  724. --tw-bg-opacity: 1;
  725. background-color: rgb(248 113 113 / var(--tw-bg-opacity));
  726. }
  727. .bg-white {
  728. --tw-bg-opacity: 1;
  729. background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  730. }
  731. .object-contain {
  732. -o-object-fit: contain;
  733. object-fit: contain;
  734. }
  735. .p-3 {
  736. padding: 0.75rem;
  737. }
  738. .p-4 {
  739. padding: 1rem;
  740. }
  741. .px-2 {
  742. padding-left: 0.5rem;
  743. padding-right: 0.5rem;
  744. }
  745. .px-4 {
  746. padding-left: 1rem;
  747. padding-right: 1rem;
  748. }
  749. .px-8 {
  750. padding-left: 2rem;
  751. padding-right: 2rem;
  752. }
  753. .py-2 {
  754. padding-top: 0.5rem;
  755. padding-bottom: 0.5rem;
  756. }
  757. .py-3 {
  758. padding-top: 0.75rem;
  759. padding-bottom: 0.75rem;
  760. }
  761. .py-4 {
  762. padding-top: 1rem;
  763. padding-bottom: 1rem;
  764. }
  765. .py-6 {
  766. padding-top: 1.5rem;
  767. padding-bottom: 1.5rem;
  768. }
  769. .py-8 {
  770. padding-top: 2rem;
  771. padding-bottom: 2rem;
  772. }
  773. .pl-1 {
  774. padding-left: 0.25rem;
  775. }
  776. .pr-4 {
  777. padding-right: 1rem;
  778. }
  779. .pr-40 {
  780. padding-right: 10rem;
  781. }
  782. .pr-8 {
  783. padding-right: 2rem;
  784. }
  785. .text-center {
  786. text-align: center;
  787. }
  788. .text-base {
  789. font-size: 1.1rem;
  790. line-height: 1.22;
  791. }
  792. .text-lg {
  793. font-size: 1.24rem;
  794. line-height: 1.1;
  795. }
  796. .text-sm {
  797. font-size: 0.95rem;
  798. line-height: 1.35;
  799. }
  800. .text-xs {
  801. font-size: 0.75rem;
  802. line-height: 1rem;
  803. }
  804. .capitalize {
  805. text-transform: capitalize;
  806. }
  807. .italic {
  808. font-style: italic;
  809. }
  810. .text-\[\#f52d2d\] {
  811. --tw-text-opacity: 1;
  812. color: rgb(245 45 45 / var(--tw-text-opacity));
  813. }
  814. .text-white {
  815. --tw-text-opacity: 1;
  816. color: rgb(255 255 255 / var(--tw-text-opacity));
  817. }
  818. .opacity-30 {
  819. opacity: 0.3;
  820. }
  821. .opacity-40 {
  822. opacity: 0.4;
  823. }
  824. .opacity-50 {
  825. opacity: 0.5;
  826. }
  827. .opacity-70 {
  828. opacity: 0.7;
  829. }
  830. .grayscale {
  831. --tw-grayscale: grayscale(100%);
  832. filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  833. }
  834. .filter {
  835. filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  836. }
  837. .transition-opacity {
  838. transition-property: opacity;
  839. transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  840. transition-duration: 150ms;
  841. }
  842. @font-face {
  843. font-family: 'ag';
  844. src: url('ApfelGrotezk-Regular.woff') format("woff");
  845. }
  846. @font-face {
  847. font-family: 'ag-brukt';
  848. src: url('ApfelGrotezk-Brukt.woff') format("woff");
  849. }
  850. @font-face {
  851. font-family: 'ag-fett';
  852. src: url('ApfelGrotezk-Fett.woff') format("woff");
  853. }
  854. @font-face {
  855. font-family: 'dauphine';
  856. src: url('Dauphine-Regular.ttf') format("truetype");
  857. }
  858. @font-face {
  859. font-family: 'dauphine';
  860. src: url('Dauphine-Italic.ttf') format("truetype");
  861. font-style: italic;
  862. }
  863. @font-face {
  864. font-family: 'robo';
  865. src: url('roboto-regular.ttf') format("truetype");
  866. }
  867. @font-face {
  868. font-family: 'robo';
  869. src: url('roboto-italic.ttf') format("truetype");
  870. font-style: italic;
  871. }
  872. @font-face {
  873. font-family: 'cirrus';
  874. src: url('CirrusCumulus.woff') format("woff");
  875. }
  876. body {
  877. font-family: 'dauphine';
  878. }
  879. strong {
  880. font-family: 'ag-fett';
  881. }
  882. b,strong {
  883. font-weight: normal !important;
  884. }
  885. select {
  886. padding: 0.25rem;
  887. }
  888. .book {
  889. font-family: 'ag-fett', 'Arial Black';
  890. }
  891. .tool {
  892. font-family: 'robo';
  893. }
  894. .practice {
  895. font-family: 'cirrus';
  896. }
  897. .std-margin {
  898. padding: 0.5rem;
  899. }
  900. .cell {
  901. position: relative;
  902. max-height: 30vh;
  903. }
  904. @media (min-width: 1024px) {
  905. .cell {
  906. max-height: none;
  907. }
  908. }
  909. .cell {
  910. overflow: hidden;
  911. }
  912. /*
  913. .cell::after {
  914. content:'';
  915. @apply absolute w-full h-[3rem] left-0 bottom-0;
  916. background-color: red;
  917. } */
  918. .cell.size-1 {
  919. min-width: 30rem;
  920. }
  921. .related {
  922. width: 6rem;
  923. padding-left: 0.5rem;
  924. padding-right: 0.5rem;
  925. padding-top: 1rem;
  926. padding-bottom: 1rem;
  927. text-align: right;
  928. }
  929. @media (min-width: 1024px) {
  930. .related {
  931. width: 12rem;
  932. padding: 1.25rem;
  933. padding-left: 4rem;
  934. }
  935. }
  936. .cell-margin {
  937. padding: 1rem;
  938. }
  939. .block-margin {
  940. margin-bottom: 2rem;
  941. }
  942. .std-padding {
  943. padding: 0.5rem;
  944. }
  945. .std-padding-x {
  946. padding-left: 0.5rem;
  947. padding-right: 0.5rem;
  948. }
  949. .std-grid {
  950. display: grid;
  951. }
  952. @media (min-width: 768px) {
  953. .std-grid {
  954. grid-template-columns: repeat(2, minmax(0, 1fr));
  955. }
  956. }
  957. @media (min-width: 1024px) {
  958. .std-grid {
  959. grid-template-columns: repeat(3, minmax(0, 1fr));
  960. }
  961. }
  962. .cell {
  963. padding: 1rem;
  964. }
  965. .cell .lead-inner-link {
  966. position: relative;
  967. }
  968. .cell .lead-inner-link::after {
  969. content: '';
  970. position: absolute;
  971. bottom: 0px;
  972. left: 0px;
  973. height: 3rem;
  974. width: 100%;
  975. background-image: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  976. }
  977. .cell::before {
  978. content: '';
  979. position: absolute;
  980. top: 10px;
  981. right: 0px;
  982. width: 2px;
  983. height: calc(100% - 20px);
  984. background-color: black;
  985. }
  986. .cell::after {
  987. content: '';
  988. position: absolute;
  989. bottom: 0px;
  990. left: 8px;
  991. width: calc(100% - 20px);
  992. height: 2px;
  993. background-color: black;
  994. }
  995. .slash {
  996. position: relative;
  997. }
  998. .slash::after {
  999. content: '';
  1000. position: absolute;
  1001. bottom: 0px;
  1002. left: 8px;
  1003. width: calc(100% - 20px);
  1004. height: 3px;
  1005. background-color: black;
  1006. transform-origin: 100% 100%;
  1007. transform: rotate(45deg);
  1008. }
  1009. /* .meta {
  1010. transform: rotate(-3.5deg);
  1011. } */
  1012. .facts {
  1013. display: grid;
  1014. gap: 1rem;
  1015. }
  1016. .facts a {
  1017. overflow-wrap: break-word;
  1018. }
  1019. @media (min-width: 1024px) {
  1020. .facts {
  1021. grid-template-columns: repeat(2, minmax(0, 1fr));
  1022. }
  1023. }
  1024. .facts h3 {
  1025. }
  1026. @media (min-width: 1024px) {
  1027. .facts > * {
  1028. max-width: 65ch;
  1029. }
  1030. }
  1031. .resource a {
  1032. text-decoration: underline;
  1033. }
  1034. a:hover {
  1035. opacity: 0.9;
  1036. }
  1037. a.link:hover {
  1038. opacity: 1;
  1039. }
  1040. h2,h3 {
  1041. -webkit-hyphens: auto;
  1042. hyphens: auto;
  1043. }
  1044. h1, h2, h3 {
  1045. font-family: 'ag-fett';
  1046. }
  1047. h4 {
  1048. font-style: italic;
  1049. font-weight: 700;
  1050. margin: 15px 0px 10px 0;
  1051. }
  1052. .huge-title {
  1053. font-size: 1.85rem;
  1054. line-height: 1;
  1055. }
  1056. @media (min-width: 1024px) {
  1057. .huge-title {
  1058. word-break: break-word;
  1059. font-size: 3.8rem;
  1060. line-height: 0.9;
  1061. }
  1062. }
  1063. .big-title {
  1064. font-size: 1.24rem;
  1065. line-height: 1.1;
  1066. }
  1067. @media (min-width: 1024px) {
  1068. .big-title {
  1069. font-size: 3rem;
  1070. line-height: 1;
  1071. }
  1072. }
  1073. .medium-title {
  1074. font-size: 1.5rem;
  1075. line-height: 1.1;
  1076. }
  1077. @media (min-width: 1024px) {
  1078. .medium-title {
  1079. font-size: 2rem;
  1080. line-height: 1;
  1081. }
  1082. }
  1083. .small-title {
  1084. font-size: 1.24rem;
  1085. line-height: 1.1;
  1086. }
  1087. @media (min-width: 1024px) {
  1088. .small-title {
  1089. font-size: 1.85rem;
  1090. line-height: 1;
  1091. }
  1092. }
  1093. .big-text {
  1094. font-size: 1.1rem;
  1095. line-height: 1.22;
  1096. }
  1097. @media (min-width: 1024px) {
  1098. .big-text {
  1099. font-size: 1.5rem;
  1100. line-height: 1.1;
  1101. }
  1102. }
  1103. .small-text {
  1104. font-size: 1.1rem;
  1105. line-height: 1.22;
  1106. }
  1107. .indent {
  1108. margin-left: 1rem;
  1109. margin-right: 1rem;
  1110. margin-top: 1rem;
  1111. margin-bottom: 1rem;
  1112. }
  1113. .text > h3 {
  1114. margin-left: 1.5rem;
  1115. margin-top: 2rem;
  1116. }
  1117. h2 + *,
  1118. h3 + * {
  1119. /* @apply ml-6 mt-1; */
  1120. }
  1121. p + p {
  1122. margin-top: 1em;
  1123. }
  1124. .loading {
  1125. }
  1126. /* .loading .bg-white {
  1127. @apply bg-white/90;
  1128. opacity: 0;
  1129. transform: opacity 0.2s;
  1130. }
  1131. .htmx-request .bg-white {
  1132. opacity: 1;
  1133. } */
  1134. .loading .bg {
  1135. opacity: 0;
  1136. background-image: linear-gradient(to top, rgb(103, 48, 255,0.8), rgb(255, 255, 255, 0),rgb(255, 255, 255, 0));
  1137. }
  1138. .htmx-request .loading .bg {
  1139. transition: opacity 4000ms ease;
  1140. /* transition: opacity 4000ms cubic-bezier(.16, .01, .31, .99); */
  1141. opacity: 1;
  1142. }
  1143. .loading .spinner .inner {
  1144. opacity:0;
  1145. transition: opacity 0.4s ease;
  1146. width:-moz-min-content;
  1147. width:min-content;
  1148. height:-moz-min-content;
  1149. height:min-content;
  1150. /* height:200px; */
  1151. }
  1152. .htmx-request .loading .spinner .inner {
  1153. opacity:1;
  1154. }
  1155. #modal-content main {
  1156. opacity: 1;
  1157. }
  1158. .htmx-request #modal-content main {
  1159. /* transition: opacity 0.2s ease; */
  1160. opacity: 0;
  1161. }
  1162. .htmx-request .loading {
  1163. opacity: 1;
  1164. }
  1165. #modal-content {
  1166. transition: box-shadow 0.3s ease;
  1167. box-shadow: 0 0 4rem rgba(103, 48, 255, 0.8)
  1168. }
  1169. .htmx-request #modal-content {
  1170. box-shadow: 0 0 4rem rgba(103, 48, 255, 0.0)
  1171. }
  1172. .active {
  1173. background-color: rgba(103, 48, 255,0.5);
  1174. --tw-text-opacity: 1;
  1175. color: rgb(255 255 255 / var(--tw-text-opacity));
  1176. /* background-image: linear-gradient(to top, purple, transparent) ; */
  1177. }
  1178. .link:hover path,
  1179. .active path {
  1180. stroke: white;
  1181. }
  1182. .link:hover rect,
  1183. .active rect {
  1184. fill: white;
  1185. }
  1186. .link:hover {
  1187. background-color: rgba(103, 48, 255,0.5);
  1188. --tw-text-opacity: 1;
  1189. color: rgb(255 255 255 / var(--tw-text-opacity));
  1190. }
  1191. details[open]::details-content {
  1192. display: contents;
  1193. }
  1194. .text a {
  1195. /* font-family: 'ag-fett'; */
  1196. text-decoration: underline;
  1197. }
  1198. #resources.expanded .filter-header::before {
  1199. content:'- ';
  1200. }
  1201. #resources .filter-header::before {
  1202. content:'+ ';
  1203. }
  1204. .fade-right {
  1205. position: relative;
  1206. }
  1207. .fade-right::after {
  1208. pointer-events: none;
  1209. position: absolute;
  1210. top: 0px;
  1211. right: 0px;
  1212. height: 100%;
  1213. width: 4rem;
  1214. }
  1215. @media (min-width: 1024px) {
  1216. .fade-right::after {
  1217. width: 10rem;
  1218. }
  1219. }
  1220. .fade-right::after {
  1221. content: '';
  1222. background-image: linear-gradient(to left,#fff 0%, #fff 5%, rgba(255,255,255,0) 100%);
  1223. }
  1224. .menuitem {
  1225. align-items: center;
  1226. padding-left: 1rem;
  1227. padding-right: 1rem;
  1228. padding-top: 0.5rem;
  1229. padding-bottom: 0.5rem;
  1230. }
  1231. a.menuitem:hover {
  1232. opacity: 1;
  1233. }
  1234. .menuitem:hover path {
  1235. stroke: white;
  1236. }
  1237. .menuitem:hover rect {
  1238. fill: white;
  1239. }
  1240. .menuitem:hover {
  1241. background-color: rgba(103, 48, 255,0.5);
  1242. --tw-text-opacity: 1;
  1243. color: rgb(255 255 255 / var(--tw-text-opacity));
  1244. }
  1245. .logo-secondary {
  1246. color: #B398FF;
  1247. }
  1248. .menuitem:hover .logo-secondary, .menuitem.hover .logo-secondary {
  1249. color: #000000;
  1250. }
  1251. /* The switch - the box around the slider */
  1252. .switch {
  1253. position: relative;
  1254. display: inline-block;
  1255. width: 60px;
  1256. height: 34px;
  1257. }
  1258. /* Hide default HTML checkbox */
  1259. .switch input {
  1260. opacity: 0;
  1261. width: 0;
  1262. height: 0;
  1263. }
  1264. /* The slider */
  1265. .slider {
  1266. position: absolute;
  1267. cursor: pointer;
  1268. top: 0;
  1269. left: 0;
  1270. right: 0;
  1271. bottom: 0;
  1272. background-color: #000000;
  1273. transition: .4s;
  1274. }
  1275. .slider:before {
  1276. position: absolute;
  1277. content: "";
  1278. height: 26px;
  1279. width: 26px;
  1280. left: 4px;
  1281. bottom: 4px;
  1282. background-color: white;
  1283. transition: .4s;
  1284. }
  1285. input:checked+.slider {
  1286. background-color: #000000;
  1287. }
  1288. input:focus+.slider {
  1289. box-shadow: 0 0 1px #000000;
  1290. }
  1291. input:checked+.slider:before {
  1292. transform: translateX(26px);
  1293. }
  1294. /* Rounded sliders */
  1295. .slider.round {
  1296. border-radius: 34px;
  1297. }
  1298. .slider.round:before {
  1299. border-radius: 50%;
  1300. }
  1301. hr {
  1302. border:0;
  1303. border-bottom: 2px solid;
  1304. width:50%;
  1305. margin:4ch;
  1306. margin-left:0;
  1307. }
  1308. .hover\:opacity-60:hover {
  1309. opacity: 0.6;
  1310. }
  1311. @media (min-width: 1024px) {
  1312. .lg\:static {
  1313. position: static;
  1314. }
  1315. .lg\:col-span-2 {
  1316. grid-column: span 2 / span 2;
  1317. }
  1318. .lg\:row-span-3 {
  1319. grid-row: span 3 / span 3;
  1320. }
  1321. .lg\:float-right {
  1322. float: right;
  1323. }
  1324. .lg\:m-0 {
  1325. margin: 0px;
  1326. }
  1327. .lg\:m-16 {
  1328. margin: 4rem;
  1329. }
  1330. .lg\:m-4 {
  1331. margin: 1rem;
  1332. }
  1333. .lg\:my-16 {
  1334. margin-top: 4rem;
  1335. margin-bottom: 4rem;
  1336. }
  1337. .lg\:my-8 {
  1338. margin-top: 2rem;
  1339. margin-bottom: 2rem;
  1340. }
  1341. .lg\:ml-\[13rem\] {
  1342. margin-left: 13rem;
  1343. }
  1344. .lg\:mt-0 {
  1345. margin-top: 0px;
  1346. }
  1347. .lg\:block {
  1348. display: block;
  1349. }
  1350. .lg\:flex {
  1351. display: flex;
  1352. }
  1353. .lg\:hidden {
  1354. display: none;
  1355. }
  1356. .lg\:h-20 {
  1357. height: 5rem;
  1358. }
  1359. .lg\:h-40 {
  1360. height: 10rem;
  1361. }
  1362. .lg\:w-20 {
  1363. width: 5rem;
  1364. }
  1365. .lg\:w-40 {
  1366. width: 10rem;
  1367. }
  1368. .lg\:w-\[12rem\] {
  1369. width: 12rem;
  1370. }
  1371. .lg\:w-\[25rem\] {
  1372. width: 25rem;
  1373. }
  1374. .lg\:w-\[30rem\] {
  1375. width: 30rem;
  1376. }
  1377. .lg\:w-\[32rem\] {
  1378. width: 32rem;
  1379. }
  1380. .lg\:w-\[35rem\] {
  1381. width: 35rem;
  1382. }
  1383. .lg\:max-w-\[30rem\] {
  1384. max-width: 30rem;
  1385. }
  1386. .lg\:grid-cols-2 {
  1387. grid-template-columns: repeat(2, minmax(0, 1fr));
  1388. }
  1389. .lg\:grid-cols-3 {
  1390. grid-template-columns: repeat(3, minmax(0, 1fr));
  1391. }
  1392. .lg\:grid-cols-\[2fr\2c 1fr\] {
  1393. grid-template-columns: 2fr 1fr;
  1394. }
  1395. .lg\:grid-cols-\[52rem\2c 30rem\] {
  1396. grid-template-columns: 52rem 30rem;
  1397. }
  1398. .lg\:grid-rows-1 {
  1399. grid-template-rows: repeat(1, minmax(0, 1fr));
  1400. }
  1401. .lg\:grid-rows-\[auto\2c auto\2c auto\] {
  1402. grid-template-rows: auto auto auto;
  1403. }
  1404. .lg\:flex-row {
  1405. flex-direction: row;
  1406. }
  1407. .lg\:flex-wrap {
  1408. flex-wrap: wrap;
  1409. }
  1410. .lg\:items-center {
  1411. align-items: center;
  1412. }
  1413. .lg\:gap-4 {
  1414. gap: 1rem;
  1415. }
  1416. .lg\:border-r-2 {
  1417. border-right-width: 2px;
  1418. }
  1419. .lg\:border-black {
  1420. --tw-border-opacity: 1;
  1421. border-color: rgb(0 0 0 / var(--tw-border-opacity));
  1422. }
  1423. .lg\:p-0 {
  1424. padding: 0px;
  1425. }
  1426. .lg\:pr-8 {
  1427. padding-right: 2rem;
  1428. }
  1429. .lg\:text-xl {
  1430. font-size: 1.5rem;
  1431. line-height: 1.1;
  1432. }
  1433. .lg\:opacity-100 {
  1434. opacity: 1;
  1435. }
  1436. }
  1437. /* CSS for forms */
  1438. input.form-control {
  1439. margin: 8px 0;
  1440. box-sizing: border-box;
  1441. border: 2px solid black;
  1442. border-radius: 4px;
  1443. }
  1444. input.form-control[type=text] {
  1445. width: 100%;
  1446. padding: 12px 20px;
  1447. margin: 8px 0;
  1448. box-sizing: border-box;
  1449. border: 2px solid black;
  1450. border-radius: 4px;
  1451. }
  1452. textarea.form-control {
  1453. width: 100%;
  1454. padding: 35px 20px;
  1455. margin: 8px 0;
  1456. box-sizing: border-box;
  1457. border: 2px solid black;
  1458. border-radius: 4px;
  1459. }
  1460. select.selectpicker {
  1461. border: 2px solid black;
  1462. border-radius: 4px;
  1463. }
  1464. select.form-select {
  1465. border: 2px solid black;
  1466. border-radius: 4px;
  1467. }
  1468. .btn {
  1469. display: inline-block;
  1470. margin: 10px;
  1471. margin-bottom: 0;
  1472. font-weight: 400;
  1473. text-align: center;
  1474. white-space: nowrap;
  1475. vertical-align: middle;
  1476. -ms-touch-action: manipulation;
  1477. touch-action: manipulation;
  1478. cursor: pointer;
  1479. background-image: none;
  1480. border: 1px solid transparent;
  1481. padding: 6px 12px;
  1482. line-height: 1.42857143;
  1483. border-radius: 4px;
  1484. -webkit-user-select: none;
  1485. -moz-user-select: none;
  1486. -ms-user-select: none;
  1487. user-select: none;
  1488. }
  1489. .btn-default {
  1490. color: #333;
  1491. background-color: #fff;
  1492. border-color: #ccc;
  1493. }
  1494. .btn-danger {
  1495. color: #fff;
  1496. background-color: #d9534f;
  1497. border-color: #d43f3a;
  1498. }