返回资讯中心
外部精选
软件工程
#开发者实时流

Tangled.org ongoing outage (>= 7 hours) due to AT protocol

background-image: url("data:image/svg+xml,");

Hacker News 最新paaloeye2026/10/29 · 3 天前30 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

"); }

input[type="checkbox"]:indeterminate { background-image: url("data:image/svg+xml,"); }

input[type="checkbox"]:disabled:indeterminate { background-image: url("data:image/svg+xml,"); }

[data-theme="dark"] input[type="checkbox"]:checked { background-image: url("data:image/svg+xml,"); }

[data-theme="dark"] input[type="checkbox"]:indeterminate { background-image: url("data:image/svg+xml,"); }

[data-theme="dark"] input[type="checkbox"]:disabled:indeterminate { background-image: url("data:image/svg+xml,"); }

input[type="radio"] { width: 1rem; height: 1rem; -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: 9999px; border-width: 1px; --tw-border-opacity: 1; border-color: rgb(156 163 175 / var(--tw-border-opacity, 1)); background-color: transparent; padding: 0px; }

input[type="radio"]:hover { --tw-border-opacity: 1; border-color: rgb(17 24 39 / var(--tw-border-opacity, 1)); --tw-bg-opacity: 1; background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)); }

input[type="radio"]:focus { outline: 2px solid transparent; outline-offset: 2px; --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); --tw-ring-opacity: 1; --tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity, 1)); }

input[type="radio"]:disabled { cursor: not-allowed; --tw-border-opacity: 1; border-color: rgb(209 213 219 / var(--tw-border-opacity, 1)); }

input[type="radio"]:checked:disabled { --tw-border-opacity: 1; border-color: rgb(209 213 219 / var(--tw-border-opacity, 1)); }

input[type="radio"]:hover:disabled { background-color: inherit; }

input[type="radio"]:where([data-theme="dark"], [data-theme="dark"] *) { --tw-border-opacity: 1; border-color: rgb(156 163 175 / var(--tw-border-opacity, 1)); }

input[type="radio"]:checked:where([data-theme="dark"], [data-theme="dark"] *) { --tw-border-opacity: 1; border-color: rgb(156 163 175 / var(--tw-border-opacity, 1)); }

input[type="radio"]:hover:where([data-theme="dark"], [data-theme="dark"] *) { --tw-border-opacity: 1; border-color: rgb(243 244 246 / var(--tw-border-opacity, 1)); --tw-bg-opacity: 1; background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1)); }

input[type="radio"]:focus:where([data-theme="dark"], [data-theme="dark"] *) { --tw-ring-opacity: 1; --tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity, 1)); }

input[type="radio"]:disabled:where([data-theme="dark"], [data-theme="dark"] *) { --tw-border-opacity: 1; border-color: rgb(107 114 128 / var(--tw-border-opacity, 1)); }

input[type="radio"]:checked:disabled:where([data-theme="dark"], [data-theme="dark"] *) { --tw-border-opacity: 1; border-color: rgb(107 114 128 / var(--tw-border-opacity, 1)); }

input[type="radio"] { background-position: center; background-repeat: no-repeat; background-size: 8px; }

input[type="radio"]:checked { background-image: url("data:image/svg+xml,"); }

input[type="radio"]:disabled:checked { background-image: url("data:image/svg+xml,"); }

[data-theme="dark"] input[type="radio"]:checked { background-image: url("data:image/svg+xml,"); }

[data-theme="dark"] input[type="radio"]:disabled:checked { background-image: url("data:image/svg+xml,"); }

select { display: flex; height: 32px; align-items: center; border-radius: 0.25rem; border-width: 1px; --tw-border-opacity: 1; border-color: rgb(229 231 235 / var(--tw-border-opacity, 1)); --tw-bg-opacity: 1; background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)); padding: 0.5rem; }

select:where([data-theme="dark"], [data-theme="dark"] *) { --tw-border-opacity: 1; border-color: rgb(55 65 81 / var(--tw-border-opacity, 1)); --tw-bg-opacity: 1; background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1)); --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity, 1)); }

/* iOS Safari zooms the viewport when focusing a form control whose font-size is under 16px; with the 14px root font size even text-lg (1.125rem) falls short. !important so this also wins over text-* utilities applied in templates. */

@media (max-width: 639px) { input:not([type="checkbox"]):not([type="radio"]), textarea, select { font-size: 16px !important; } }

details summary::-webkit-details-marker { display: none; }

code { border-radius: 0.25rem; --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1)); font-family: IBMPlexMono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace; --tw-text-opacity: 1; color: rgb(0 0 0 / var(--tw-text-opacity, 1)); }

code:where([data-theme="dark"], [data-theme="dark"] *) { --tw-bg-opacity: 1; background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1)); --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity, 1)); }

.!container { width: 100% !important; margin-right: auto !important; margin-left: auto !important; padding-right: 2rem !important; padding-left: 2rem !important; }

.container { width: 100%; margin-right: auto; margin-left: auto; padding-right: 2rem; padding-left: 2rem; }

@media (min-width: 500px) { .!container { max-width: 500px !important; }

.container { max-width: 500px; } }

@media (min-width: 600px) { .!container { max-width: 600px !important; }

.container { max-width: 600px; } }

@media (min-width: 800px) { .!container { max-width: 800px !important; }

.container { max-width: 800px; } }

@media (min-width: 1000px) { .!container { max-width: 1000px !important; }

.container { max-width: 1000px; } }

@media (min-width: 1200px) { .!container { max-width: 1200px !important; }

.container { max-width: 1200px; } }

.prose { color: var(--tw-prose-body); max-width: none; }

.prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.25em; margin-bottom: 1.25em; }

.prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-lead); font-size: 1.25em; line-height: 1.6; margin-top: 1.2em; margin-bottom: 1.2em; }

.prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-links); text-decoration: underline; font-weight: 500; }

.prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-bold); font-weight: 600; }

.prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: inherit; }

.prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: inherit; }

.prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: inherit; }

.prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: decimal; margin-top: 1.25em; margin-bottom: 1.25em; padding-inline-start: 1.625em; }

.prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: upper-alpha; }

.prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: lower-alpha; }

.prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: upper-alpha; }

.prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: lower-alpha; }

.prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: upper-roman; }

.prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: lower-roman; }

.prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: upper-roman; }

.prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: lower-roman; }

.prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: decimal; }

.prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: disc; margin-top: 1.25em; margin-bottom: 1.25em; padding-inline-start: 1.625em; }

.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker { font-weight: 400; color: var(--tw-prose-counters); }

.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker { color: var(--tw-prose-bullets); }

.prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-headings); font-weight: 600; margin-top: 1.25em; }

.prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) { border-color: var(--tw-prose-hr); border-top-width: 1px; margin-top: 3em; margin-bottom: 3em; }

.prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-weight: 400; font-style: italic; color: var(--tw-prose-quotes); border-inline-start-width: 0.25rem; border-inline-start-color: var(--tw-prose-quote-borders); quotes: none; margin-top: 1.6em; margin-bottom: 1.6em; padding-inline-start: 1em; --tw-text-opacity: 1; color: rgb(107 114 128 / var(--tw-text-opacity, 1)); }

.prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)):where([data-theme="dark"], [data-theme="dark"] *) { --tw-text-opacity: 1; color: rgb(156 163 175 / var(--tw-text-opacity, 1)); }

.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before { content: open-quote; }

.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after { content: close-quote; }

.prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-headings); font-weight: 800; font-size: 2.25em; margin-top: 0; margin-bottom: 0.8888889em; line-height: 1.1111111; margin-top: 0.75rem; border-bottom-width: 1px; --tw-border-opacity: 1; border-color: rgb(209 213 219 / var(--tw-border-opacity, 1)); padding-bottom: 0.75rem; }

.prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)):where([data-theme="dark"], [data-theme="dark"] *) { --tw-border-opacity: 1; border-color: rgb(75 85 99 / var(--tw-border-opacity, 1)); }

.prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-weight: 900; color: inherit; }

.prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-headings); font-weight: 700; font-size: 1.5em; margin-top: 2em; margin-bottom: 1em; line-height: 1.3333333; margin-top: 0.75rem; border-bottom-width: 1px; --tw-border-opacity: 1; border-color: rgb(229 231 235 / var(--tw-border-opacity, 1)); padding-bottom: 0.75rem; }

.prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)):where([data-theme="dark"], [data-theme="dark"] *) { --tw-border-opacity: 1; border-color: rgb(55 65 81 / var(--tw-border-opacity, 1)); }

.prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-weight: 800; color: inherit; }

.prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-headings); font-weight: 600; font-size: 1.25em; margin-top: 1.6em; margin-bottom: 0.6em; line-height: 1.6; margin-top: 0.5rem; }

.prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-weight: 700; color: inherit; }

.prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-headings); font-weight: 600; margin-top: 1.5em; margin-bottom: 0.5em; line-height: 1.5; }

.prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-weight: 700; color: inherit; }

.prose :where(img):no

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →