UNPKG

nostr-web-components

Version:

collection of web components that provide quick access to basic nostr things

1,731 lines (1,403 loc) 32.8 kB
/* ! tailwindcss v3.4.9 | MIT License | https://tailwindcss.com */ /* 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) */ *, ::before, ::after { box-sizing: border-box; /* 1 */ border-width: 0; /* 2 */ border-style: solid; /* 2 */ border-color: #e5e7eb; /* 2 */ } ::before, ::after { --tw-content: ''; } /* 1. Use a consistent sensible line-height in all browsers. 2. Prevent adjustments of font size after orientation changes in iOS. 3. Use a more readable tab size. 4. Use the user's configured `sans` font-family by default. 5. Use the user's configured `sans` font-feature-settings by default. 6. Use the user's configured `sans` font-variation-settings by default. 7. Disable tap highlights on iOS */ html, :host { line-height: 1.5; /* 1 */ -webkit-text-size-adjust: 100%; /* 2 */ -moz-tab-size: 4; /* 3 */ -o-tab-size: 4; tab-size: 4; /* 3 */ font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */ font-feature-settings: normal; /* 5 */ font-variation-settings: normal; /* 6 */ -webkit-tap-highlight-color: transparent; /* 7 */ } /* 1. Remove the margin in all browsers. 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element. */ body { margin: 0; /* 1 */ line-height: inherit; /* 2 */ } /* 1. Add the correct height in Firefox. 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) 3. Ensure horizontal rules are visible by default. */ hr { height: 0; /* 1 */ color: inherit; /* 2 */ border-top-width: 1px; /* 3 */ } /* Add the correct text decoration in Chrome, Edge, and Safari. */ abbr:where([title]) { -webkit-text-decoration: underline dotted; text-decoration: underline dotted; } /* Remove the default font size and weight for headings. */ h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; } /* Reset links to optimize for opt-in styling instead of opt-out. */ a { color: inherit; text-decoration: inherit; } /* Add the correct font weight in Edge and Safari. */ b, strong { font-weight: bolder; } /* 1. Use the user's configured `mono` font-family by default. 2. Use the user's configured `mono` font-feature-settings by default. 3. Use the user's configured `mono` font-variation-settings by default. 4. Correct the odd `em` font sizing in all browsers. */ code, kbd, samp, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */ font-feature-settings: normal; /* 2 */ font-variation-settings: normal; /* 3 */ font-size: 1em; /* 4 */ } /* Add the correct font size in all browsers. */ small { font-size: 80%; } /* Prevent `sub` and `sup` elements from affecting the line height in all browsers. */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } /* 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) 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) 3. Remove gaps between table borders by default. */ table { text-indent: 0; /* 1 */ border-color: inherit; /* 2 */ border-collapse: collapse; /* 3 */ } /* 1. Change the font styles in all browsers. 2. Remove the margin in Firefox and Safari. 3. Remove default padding in all browsers. */ button, input, optgroup, select, textarea { font-family: inherit; /* 1 */ font-feature-settings: inherit; /* 1 */ font-variation-settings: inherit; /* 1 */ font-size: 100%; /* 1 */ font-weight: inherit; /* 1 */ line-height: inherit; /* 1 */ letter-spacing: inherit; /* 1 */ color: inherit; /* 1 */ margin: 0; /* 2 */ padding: 0; /* 3 */ } /* Remove the inheritance of text transform in Edge and Firefox. */ button, select { text-transform: none; } /* 1. Correct the inability to style clickable types in iOS and Safari. 2. Remove default button styles. */ button, input:where([type='button']), input:where([type='reset']), input:where([type='submit']) { -webkit-appearance: button; /* 1 */ background-color: transparent; /* 2 */ background-image: none; /* 2 */ } /* Use the modern Firefox focus style for all focusable elements. */ :-moz-focusring { outline: auto; } /* Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) */ :-moz-ui-invalid { box-shadow: none; } /* Add the correct vertical alignment in Chrome and Firefox. */ progress { vertical-align: baseline; } /* Correct the cursor style of increment and decrement buttons in Safari. */ ::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; } /* 1. Correct the odd appearance in Chrome and Safari. 2. Correct the outline style in Safari. */ [type='search'] { -webkit-appearance: textfield; /* 1 */ outline-offset: -2px; /* 2 */ } /* Remove the inner padding in Chrome and Safari on macOS. */ ::-webkit-search-decoration { -webkit-appearance: none; } /* 1. Correct the inability to style clickable types in iOS and Safari. 2. Change font properties to `inherit` in Safari. */ ::-webkit-file-upload-button { -webkit-appearance: button; /* 1 */ font: inherit; /* 2 */ } /* Add the correct display in Chrome and Safari. */ summary { display: list-item; } /* Removes the default spacing and border for appropriate elements. */ blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre { margin: 0; } fieldset { margin: 0; padding: 0; } legend { padding: 0; } ol, ul, menu { list-style: none; margin: 0; padding: 0; } /* Reset default styling for dialogs. */ dialog { padding: 0; } /* Prevent resizing textareas horizontally by default. */ textarea { resize: vertical; } /* 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300) 2. Set the default placeholder color to the user's configured gray 400 color. */ input::-moz-placeholder, textarea::-moz-placeholder { opacity: 1; /* 1 */ color: #9ca3af; /* 2 */ } input::placeholder, textarea::placeholder { opacity: 1; /* 1 */ color: #9ca3af; /* 2 */ } /* Set the default cursor for buttons. */ button, [role="button"] { cursor: pointer; } /* Make sure disabled buttons don't get the pointer cursor. */ :disabled { cursor: default; } /* 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14) 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210) This can trigger a poorly considered lint error in some tools but is included by design. */ img, svg, video, canvas, audio, iframe, embed, object { display: block; /* 1 */ vertical-align: middle; /* 2 */ } /* Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14) */ img, video { max-width: 100%; height: auto; } /* Make elements with the HTML hidden attribute stay hidden by default */ [hidden] { display: none; } *, ::before, ::after { --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgb(59 130 246 / 0.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; } ::backdrop { --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgb(59 130 246 / 0.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; } .container { width: 100%; } @media (min-width: 640px) { .container { max-width: 640px; } } @media (min-width: 768px) { .container { max-width: 768px; } } @media (min-width: 1024px) { .container { max-width: 1024px; } } @media (min-width: 1280px) { .container { max-width: 1280px; } } @media (min-width: 1536px) { .container { max-width: 1536px; } } .static { position: static; } .mx-auto { margin-left: auto; margin-right: auto; } .my-4 { margin-top: 1rem; margin-bottom: 1rem; } .mb-16 { margin-bottom: 4rem; } .mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; } .ml-6 { margin-left: 1.5rem; } .mt-16 { margin-top: 4rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .block { display: block; } .inline-block { display: inline-block; } .flex { display: flex; } .grid { display: grid; } .hidden { display: none; } .h-16 { height: 4rem; } .w-full { width: 100%; } .max-w-none { max-width: none; } .transform { 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)); } .list-disc { list-style-type: disc; } .columns-1 { -moz-columns: 1; columns: 1; } .break-inside-avoid { -moz-column-break-inside: avoid; break-inside: avoid; } .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); } .items-center { align-items: center; } .justify-end { justify-content: flex-end; } .gap-2 { gap: 0.5rem; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; } .space-y-2 > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 0; margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)); } .whitespace-pre-wrap { white-space: pre-wrap; } .text-wrap { text-wrap: wrap; } .break-words { overflow-wrap: break-word; } .break-all { word-break: break-all; } .rounded { border-radius: 0.25rem; } .rounded-lg { border-radius: 0.5rem; } .border { border-width: 1px; } .border-4 { border-width: 4px; } .border-white { --tw-border-opacity: 1; border-color: rgb(255 255 255 / var(--tw-border-opacity)); } .bg-blue-100 { --tw-bg-opacity: 1; background-color: rgb(219 234 254 / var(--tw-bg-opacity)); } .bg-blue-50 { --tw-bg-opacity: 1; background-color: rgb(239 246 255 / var(--tw-bg-opacity)); } .bg-blue-600 { --tw-bg-opacity: 1; background-color: rgb(37 99 235 / var(--tw-bg-opacity)); } .bg-emerald-100 { --tw-bg-opacity: 1; background-color: rgb(209 250 229 / var(--tw-bg-opacity)); } .bg-emerald-50 { --tw-bg-opacity: 1; background-color: rgb(236 253 245 / var(--tw-bg-opacity)); } .bg-fuchsia-900 { --tw-bg-opacity: 1; background-color: rgb(112 26 117 / var(--tw-bg-opacity)); } .bg-gray-100 { --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity)); } .bg-gray-50 { --tw-bg-opacity: 1; background-color: rgb(249 250 251 / var(--tw-bg-opacity)); } .bg-gray-800 { --tw-bg-opacity: 1; background-color: rgb(31 41 55 / var(--tw-bg-opacity)); } .bg-gray-900 { --tw-bg-opacity: 1; background-color: rgb(17 24 39 / var(--tw-bg-opacity)); } .bg-lime-100 { --tw-bg-opacity: 1; background-color: rgb(236 252 203 / var(--tw-bg-opacity)); } .bg-lime-50 { --tw-bg-opacity: 1; background-color: rgb(247 254 231 / var(--tw-bg-opacity)); } .bg-orange-100 { --tw-bg-opacity: 1; background-color: rgb(255 237 213 / var(--tw-bg-opacity)); } .bg-orange-50 { --tw-bg-opacity: 1; background-color: rgb(255 247 237 / var(--tw-bg-opacity)); } .bg-pink-100 { --tw-bg-opacity: 1; background-color: rgb(252 231 243 / var(--tw-bg-opacity)); } .bg-pink-50 { --tw-bg-opacity: 1; background-color: rgb(253 242 248 / var(--tw-bg-opacity)); } .bg-purple-100 { --tw-bg-opacity: 1; background-color: rgb(243 232 255 / var(--tw-bg-opacity)); } .bg-purple-50 { --tw-bg-opacity: 1; background-color: rgb(250 245 255 / var(--tw-bg-opacity)); } .bg-purple-600 { --tw-bg-opacity: 1; background-color: rgb(147 51 234 / var(--tw-bg-opacity)); } .bg-red-50 { --tw-bg-opacity: 1; background-color: rgb(254 242 242 / var(--tw-bg-opacity)); } .bg-sky-100 { --tw-bg-opacity: 1; background-color: rgb(224 242 254 / var(--tw-bg-opacity)); } .bg-sky-50 { --tw-bg-opacity: 1; background-color: rgb(240 249 255 / var(--tw-bg-opacity)); } .bg-white { --tw-bg-opacity: 1; background-color: rgb(255 255 255 / var(--tw-bg-opacity)); } .bg-yellow-200 { --tw-bg-opacity: 1; background-color: rgb(254 240 138 / var(--tw-bg-opacity)); } .bg-yellow-50 { --tw-bg-opacity: 1; background-color: rgb(254 252 232 / var(--tw-bg-opacity)); } .p-4 { padding: 1rem; } .p-6 { padding: 1.5rem; } .p-8 { padding: 2rem; } .px-2 { padding-left: 0.5rem; padding-right: 0.5rem; } .px-3 { padding-left: 0.75rem; padding-right: 0.75rem; } .px-4 { padding-left: 1rem; padding-right: 1rem; } .py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; } .py-12 { padding-top: 3rem; padding-bottom: 3rem; } .py-4 { padding-top: 1rem; padding-bottom: 1rem; } .py-8 { padding-top: 2rem; padding-bottom: 2rem; } .text-center { text-align: center; } .font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; } .text-2xl { font-size: 1.5rem; line-height: 2rem; } .text-3xl { font-size: 1.875rem; line-height: 2.25rem; } .text-4xl { font-size: 2.25rem; line-height: 2.5rem; } .text-5xl { font-size: 3rem; line-height: 1; } .text-lg { font-size: 1.125rem; line-height: 1.75rem; } .text-sm { font-size: 0.875rem; line-height: 1.25rem; } .text-xl { font-size: 1.25rem; line-height: 1.75rem; } .text-xs { font-size: 0.75rem; line-height: 1rem; } .font-bold { font-weight: 700; } .font-semibold { font-weight: 600; } .text-blue-600 { --tw-text-opacity: 1; color: rgb(37 99 235 / var(--tw-text-opacity)); } .text-gray-100 { --tw-text-opacity: 1; color: rgb(243 244 246 / var(--tw-text-opacity)); } .text-gray-400 { --tw-text-opacity: 1; color: rgb(156 163 175 / var(--tw-text-opacity)); } .text-gray-700 { --tw-text-opacity: 1; color: rgb(55 65 81 / var(--tw-text-opacity)); } .text-gray-800 { --tw-text-opacity: 1; color: rgb(31 41 55 / var(--tw-text-opacity)); } .text-green-500 { --tw-text-opacity: 1; color: rgb(34 197 94 / var(--tw-text-opacity)); } .text-green-600 { --tw-text-opacity: 1; color: rgb(22 163 74 / var(--tw-text-opacity)); } .text-orange-500 { --tw-text-opacity: 1; color: rgb(249 115 22 / var(--tw-text-opacity)); } .text-purple-600 { --tw-text-opacity: 1; color: rgb(147 51 234 / var(--tw-text-opacity)); } .text-red-500 { --tw-text-opacity: 1; color: rgb(239 68 68 / var(--tw-text-opacity)); } .text-red-600 { --tw-text-opacity: 1; color: rgb(220 38 38 / var(--tw-text-opacity)); } .text-rose-500 { --tw-text-opacity: 1; color: rgb(244 63 94 / var(--tw-text-opacity)); } .text-sky-500 { --tw-text-opacity: 1; color: rgb(14 165 233 / var(--tw-text-opacity)); } .text-white { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); } .text-yellow-600 { --tw-text-opacity: 1; color: rgb(202 138 4 / var(--tw-text-opacity)); } .opacity-90 { opacity: 0.9; } .shadow { --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } .shadow-lg { --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } .shadow-md { --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } .hover\:bg-blue-700:hover { --tw-bg-opacity: 1; background-color: rgb(29 78 216 / var(--tw-bg-opacity)); } .hover\:bg-purple-700:hover { --tw-bg-opacity: 1; background-color: rgb(126 34 206 / var(--tw-bg-opacity)); } .hover\:text-blue-800:hover { --tw-text-opacity: 1; color: rgb(30 64 175 / var(--tw-text-opacity)); } .hover\:text-purple-800:hover { --tw-text-opacity: 1; color: rgb(107 33 168 / var(--tw-text-opacity)); } .hover\:text-white:hover { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); } .hover\:underline:hover { text-decoration-line: underline; } .part-\[status\]\:mx-4::part(status) { margin-left: 1rem; margin-right: 1rem; } .part-\[buttons\]\:mt-4::part(buttons) { margin-top: 1rem; } .part-\[container\]\:mb-4::part(container) { margin-bottom: 1rem; } .part-\[content\]\:mb-3::part(content) { margin-bottom: 0.75rem; } .part-\[description\]\:mb-4::part(description) { margin-bottom: 1rem; } .part-\[description\]\:mt-4::part(description) { margin-top: 1rem; } .part-\[header\]\:mb-3::part(header) { margin-bottom: 0.75rem; } .part-\[header\]\:mb-4::part(header) { margin-bottom: 1rem; } .part-\[time\]\:mb-4::part(time) { margin-bottom: 1rem; } .part-\[title\]\:mb-2::part(title) { margin-bottom: 0.5rem; } .part-\[title\]\:ml-2::part(title) { margin-left: 0.5rem; } .part-\[audio\]\:block::part(audio) { display: block; } .part-\[image\]\:block::part(image) { display: block; } .part-\[video\]\:block::part(video) { display: block; } .part-\[status\]\:inline-block::part(status) { display: inline-block; } .part-\[buttons\]\:flex::part(buttons) { display: flex; } .part-\[header\]\:flex::part(header) { display: flex; } .part-\[stats\]\:flex::part(stats) { display: flex; } .part-\[author-npub-short\]\:hidden::part(author-npub-short) { display: none; } .part-\[img\]\:h-16::part(img) { height: 4rem; } .part-\[img\]\:h-full::part(img) { height: 100%; } .part-\[picture\]\:h-12::part(picture) { height: 3rem; } .part-\[picture\]\:h-16::part(picture) { height: 4rem; } .part-\[header\]\:w-full::part(header) { width: 100%; } .part-\[img\]\:w-16::part(img) { width: 4rem; } .part-\[input\]\:w-full::part(input) { width: 100%; } .part-\[picture\]\:w-12::part(picture) { width: 3rem; } .part-\[picture\]\:w-16::part(picture) { width: 4rem; } .part-\[image\]\:max-w-full::part(image) { max-width: 100%; } .part-\[name\]\:max-w-64::part(name) { max-width: 16rem; } .part-\[button\]\:cursor-pointer::part(button) { cursor: pointer; } .part-\[item\]\:cursor-pointer::part(item) { cursor: pointer; } .part-\[container\]\:break-inside-avoid::part(container) { -moz-column-break-inside: avoid; break-inside: avoid; } .part-\[header\]\:items-center::part(header) { align-items: center; } .part-\[stats\]\:justify-end::part(stats) { justify-content: flex-end; } .part-\[buttons\]\:justify-center::part(buttons) { justify-content: center; } .part-\[header\]\:justify-between::part(header) { justify-content: space-between; } .part-\[buttons\]\:gap-2::part(buttons) { gap: 0.5rem; } .part-\[pre\]\:overflow-x-auto::part(pre) { overflow-x: auto; } .part-\[button\]\:rounded::part(button) { border-radius: 0.25rem; } .part-\[container\]\:rounded-lg::part(container) { border-radius: 0.5rem; } .part-\[image\]\:rounded::part(image) { border-radius: 0.25rem; } .part-\[img\]\:rounded::part(img) { border-radius: 0.25rem; } .part-\[img\]\:rounded-full::part(img) { border-radius: 9999px; } .part-\[input\]\:rounded::part(input) { border-radius: 0.25rem; } .part-\[picture\]\:rounded-full::part(picture) { border-radius: 9999px; } .part-\[pre\]\:rounded::part(pre) { border-radius: 0.25rem; } .part-\[pre\]\:rounded-lg::part(pre) { border-radius: 0.5rem; } .part-\[status\]\:rounded::part(status) { border-radius: 0.25rem; } .part-\[video\]\:rounded::part(video) { border-radius: 0.25rem; } .part-\[button\]\:border-0::part(button) { border-width: 0px; } .part-\[img\]\:border-4::part(img) { border-width: 4px; } .part-\[img\]\:border-8::part(img) { border-width: 8px; } .part-\[input\]\:border::part(input) { border-width: 1px; } .part-\[picture\]\:border::part(picture) { border-width: 1px; } .part-\[img\]\:border-solid::part(img) { border-style: solid; } .part-\[img\]\:border-rose-600::part(img) { --tw-border-opacity: 1; border-color: rgb(225 29 72 / var(--tw-border-opacity)); } .part-\[accepted\]\:bg-green-500::part(accepted) { --tw-bg-opacity: 1; background-color: rgb(34 197 94 / var(--tw-bg-opacity)); } .part-\[button\]\:bg-blue-600::part(button) { --tw-bg-opacity: 1; background-color: rgb(37 99 235 / var(--tw-bg-opacity)); } .part-\[button\]\:bg-white::part(button) { --tw-bg-opacity: 1; background-color: rgb(255 255 255 / var(--tw-bg-opacity)); } .part-\[container\]\:bg-white::part(container) { --tw-bg-opacity: 1; background-color: rgb(255 255 255 / var(--tw-bg-opacity)); } .part-\[declined\]\:bg-red-500::part(declined) { --tw-bg-opacity: 1; background-color: rgb(239 68 68 / var(--tw-bg-opacity)); } .part-\[pre\]\:bg-sky-800::part(pre) { --tw-bg-opacity: 1; background-color: rgb(7 89 133 / var(--tw-bg-opacity)); } .part-\[pre\]\:bg-slate-800::part(pre) { --tw-bg-opacity: 1; background-color: rgb(30 41 59 / var(--tw-bg-opacity)); } .part-\[status\]\:bg-yellow-400::part(status) { --tw-bg-opacity: 1; background-color: rgb(250 204 21 / var(--tw-bg-opacity)); } .part-\[tentative\]\:bg-yellow-500::part(tentative) { --tw-bg-opacity: 1; background-color: rgb(234 179 8 / var(--tw-bg-opacity)); } .part-\[button\]\:p-2::part(button) { padding: 0.5rem; } .part-\[container\]\:p-4::part(container) { padding: 1rem; } .part-\[pre\]\:p-4::part(pre) { padding: 1rem; } .part-\[status\]\:p-2::part(status) { padding: 0.5rem; } .part-\[button\]\:px-4::part(button) { padding-left: 1rem; padding-right: 1rem; } .part-\[button\]\:py-2::part(button) { padding-top: 0.5rem; padding-bottom: 0.5rem; } .part-\[input\]\:px-1::part(input) { padding-left: 0.25rem; padding-right: 0.25rem; } .part-\[input\]\:px-4::part(input) { padding-left: 1rem; padding-right: 1rem; } .part-\[input\]\:py-2::part(input) { padding-top: 0.5rem; padding-bottom: 0.5rem; } .part-\[item\]\:px-1::part(item) { padding-left: 0.25rem; padding-right: 0.25rem; } .part-\[item\]\:px-4::part(item) { padding-left: 1rem; padding-right: 1rem; } .part-\[item\]\:py-2::part(item) { padding-top: 0.5rem; padding-bottom: 0.5rem; } .part-\[status\]\:px-2::part(status) { padding-left: 0.5rem; padding-right: 0.5rem; } .part-\[status\]\:py-1::part(status) { padding-top: 0.25rem; padding-bottom: 0.25rem; } .part-\[container\]\:pt-2::part(container) { padding-top: 0.5rem; } .part-\[title\]\:text-center::part(title) { text-align: center; } .part-\[id\]\:text-sm::part(id) { font-size: 0.875rem; line-height: 1.25rem; } .part-\[input\]\:text-xl::part(input) { font-size: 1.25rem; line-height: 1.75rem; } .part-\[item\]\:text-xl::part(item) { font-size: 1.25rem; line-height: 1.75rem; } .part-\[kind\]\:text-xl::part(kind) { font-size: 1.25rem; line-height: 1.75rem; } .part-\[link\]\:text-sm::part(link) { font-size: 0.875rem; line-height: 1.25rem; } .part-\[link\]\:text-xs::part(link) { font-size: 0.75rem; line-height: 1rem; } .part-\[parent-link\]\:text-sm::part(parent-link) { font-size: 0.875rem; line-height: 1.25rem; } .part-\[pubkey\]\:text-sm::part(pubkey) { font-size: 0.875rem; line-height: 1.25rem; } .part-\[sig\]\:text-sm::part(sig) { font-size: 0.875rem; line-height: 1.25rem; } .part-\[title\]\:text-xl::part(title) { font-size: 1.25rem; line-height: 1.75rem; } .part-\[author-name\]\:font-semibold::part(author-name) { font-weight: 600; } .part-\[error\]\:font-bold::part(error) { font-weight: 700; } .part-\[key\]\:font-bold::part(key) { font-weight: 700; } .part-\[name\]\:font-semibold::part(name) { font-weight: 600; } .part-\[reference\]\:font-semibold::part(reference) { font-weight: 600; } .part-\[title\]\:font-bold::part(title) { font-weight: 700; } .part-\[author-link\]\:text-black::part(author-link) { --tw-text-opacity: 1; color: rgb(0 0 0 / var(--tw-text-opacity)); } .part-\[button\]\:text-white::part(button) { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); } .part-\[content\]\:text-blue-200::part(content) { --tw-text-opacity: 1; color: rgb(191 219 254 / var(--tw-text-opacity)); } .part-\[content\]\:text-gray-700::part(content) { --tw-text-opacity: 1; color: rgb(55 65 81 / var(--tw-text-opacity)); } .part-\[error\]\:text-red-500::part(error) { --tw-text-opacity: 1; color: rgb(239 68 68 / var(--tw-text-opacity)); } .part-\[key\]\:text-emerald-200::part(key) { --tw-text-opacity: 1; color: rgb(167 243 208 / var(--tw-text-opacity)); } .part-\[key\]\:text-emerald-300::part(key) { --tw-text-opacity: 1; color: rgb(110 231 183 / var(--tw-text-opacity)); } .part-\[kind\]\:text-yellow-300::part(kind) { --tw-text-opacity: 1; color: rgb(253 224 71 / var(--tw-text-opacity)); } .part-\[link\]\:text-gray-500::part(link) { --tw-text-opacity: 1; color: rgb(107 114 128 / var(--tw-text-opacity)); } .part-\[parent-link\]\:text-gray-800::part(parent-link) { --tw-text-opacity: 1; color: rgb(31 41 55 / var(--tw-text-opacity)); } .part-\[pre\]\:text-white::part(pre) { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); } .part-\[reference\]\:text-black::part(reference) { --tw-text-opacity: 1; color: rgb(0 0 0 / var(--tw-text-opacity)); } .part-\[relay\]\:text-orange-600::part(relay) { --tw-text-opacity: 1; color: rgb(234 88 12 / var(--tw-text-opacity)); } .part-\[stats\]\:text-gray-600::part(stats) { --tw-text-opacity: 1; color: rgb(75 85 99 / var(--tw-text-opacity)); } .part-\[time\]\:text-gray-600::part(time) { --tw-text-opacity: 1; color: rgb(75 85 99 / var(--tw-text-opacity)); } .part-\[url\]\:text-blue-600::part(url) { --tw-text-opacity: 1; color: rgb(37 99 235 / var(--tw-text-opacity)); } .part-\[url\]\:underline::part(url) { text-decoration-line: underline; } .part-\[author-link\]\:no-underline::part(author-link) { text-decoration-line: none; } .part-\[container\]\:shadow::part(container) { --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } .part-\[container\]\:shadow-md::part(container) { --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } .part-\[button\]\:drop-shadow::part(button) { --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06)); 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); } .part-\[button\]\:transition-colors::part(button) { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } .part-\[pre\]\:transition-colors::part(pre) { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } .hover\:part-\[pre\]\:bg-sky-600::part(pre):hover { --tw-bg-opacity: 1; background-color: rgb(2 132 199 / var(--tw-bg-opacity)); } .part-\[accepted\]\:hover\:bg-green-600:hover::part(accepted) { --tw-bg-opacity: 1; background-color: rgb(22 163 74 / var(--tw-bg-opacity)); } .part-\[button\]\:hover\:bg-blue-700:hover::part(button) { --tw-bg-opacity: 1; background-color: rgb(29 78 216 / var(--tw-bg-opacity)); } .part-\[button\]\:hover\:bg-gray-100:hover::part(button) { --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity)); } .part-\[button\]\:hover\:bg-gray-50:hover::part(button) { --tw-bg-opacity: 1; background-color: rgb(249 250 251 / var(--tw-bg-opacity)); } .part-\[declined\]\:hover\:bg-red-600:hover::part(declined) { --tw-bg-opacity: 1; background-color: rgb(220 38 38 / var(--tw-bg-opacity)); } .part-\[item\]\:hover\:bg-gray-100:hover::part(item) { --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity)); } .part-\[tentative\]\:hover\:bg-yellow-600:hover::part(tentative) { --tw-bg-opacity: 1; background-color: rgb(202 138 4 / var(--tw-bg-opacity)); } .part-\[button\]\:active\:shadow-inner:active::part(button) { --tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05); --tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } .part-\[button\]\:disabled\:cursor-default:disabled::part(button) { cursor: default; } @media (min-width: 768px) { .md\:columns-2 { -moz-columns: 2; columns: 2; } .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (min-width: 1024px) { .lg\:columns-3 { -moz-columns: 3; columns: 3; } .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }