body { background-color: #f2f2f2; color: #444; font-family: "Source Sans 3", sans-serif; max-width: 100%; margin-top: 45px; margin-bottom: 10em; } #scroller {max-width: 680px; margin-left: auto; margin-right: auto;} blockquote { border-left: 5px solid #f5f5f5; margin-left: none; padding-left: 10px; color: #777; } p, h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 5px;} pre { //color: #dd1144; background: #f5f5f5; width: 100%; display: block; } code { background: #f5f5f5; padding: 5px; border-radius: 5px; display: inline-block; vertical-align: bottom; } code, pre { font-family: "Roboto Mono", monospace; font-size: .9em; overflow: auto; word-break: break-all; word-wrap: break-word; white-space: pre; white-space: -moz-pre-wrap; white-space: pre-wrap; white-space: pre\9; } button { margin-left: 5px; font-size: .85em; background: #fff; background-image: linear-gradient(to bottom, #ffffff, #f2f2f2); border: 1px solid #e4e4e4; padding: 5px 10px 5px 10px; border-radius: 5px; } hr { border: 1px solid #e4e4e4;} button:hover { background: #f2f2f2; cursor: pointer; } textarea, input { font-size: 1em; font-family: "Source Sans 3", sans-serif; border: 1px solid #f8f8f8; border-radius: 5px; background: #f8f8f8; color: #555; padding: 5px; //box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } .composer { margin-left: 0; margin-top: 0;} textarea:hover, textarea:focus, input:hover, input:focus, { background: transparent; } textarea:focus, input:focus { outline: none !important; } textarea { margin-top: 5px; margin-bottom: 5px; width: 99%; height: 150px; } a { color: #045fd0; text-decoration: none; } a:hover { color: #8d82fe; } img {width: 95%;} img.post-image { width: 150px; height: 150px; object-fit: cover; border-radius: 6px; cursor: zoom-in; display: block; } img.post-image:focus { outline: 2px solid #045fd0; outline-offset: 2px; } .material-symbols-outlined { color: #666; vertical-align: middle; font-size: 18px; cursor: pointer;} iframe { width: 100%; border: 1px solid #e4e4e4; border-radius: 5px; margin-top: 5px; height: 275px; } #navbar { padding-top: .5em; padding-left: 1em; padding-bottom: .5em; padding-right: 1em; position: fixed; width: 100%; box-sizing: border-box; z-index: 1; top: 0; left: 0; background-color: rgba(248,248,248,0.5); border-bottom: 1px solid #eee; backdrop-filter: blur(10px); display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; } .navbar-left, .navbar-right { display: inline-flex; align-items: center; gap: 6px; } .navbar-right { margin-left: auto; } .message { padding: .75em; background: #f8f8f8; border: 1px solid #f5f5f5; margin-top: 5px; min-height: 35px; border-radius: 5px; overflow: hidden; position: relative; } .message.edit-message { padding: .75em .75em 0 .75em; } .message-main { display: flex; align-items: flex-start; gap: 10px; } .message-main > a { display: inline-flex; align-items: center; } .message-main .avatar { float: none; } .message-stack { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; } .message-stack .avatarlink { line-height: 33px; display: inline-block; } .message-body { flex: 1; min-width: 0; } .message-meta { position: absolute; top: .75em; right: .75em; display: inline-flex; align-items: center; gap: .35em; } .premessage { min-height: 35px; } .message:hover { border: 1px solid #eee; } .new-posts-banner { position: sticky; top: 52px; z-index: 2; display: flex; justify-content: center; padding: 6px 0; } .new-posts-button { background: #fff5cc; border: 1px solid #f2d675; color: #6a4c00; } @media (prefers-color-scheme: dark) { body { background-color: #181818; color: #ccc; } #navbar { background-color: rgba(34,34,34,0.5); border-bottom: 1px solid #333; } .message { background-color: #222; border: 1px solid #1e1e1e;} .message:hover { border: 1px solid #333;} .new-posts-button { background: #3a2f12; border: 1px solid #6b5320; color: #f5d27a; } textarea, input, iframe { background: #222; color: #f5f5f5; border: 1px solid #222;} button { color: #ccc; background: #333; border: 1px solid #444;} button:hover { background: #222;} hr { border: 1px solid #333;} pre, code { background: #333; color: #f5f5f5;} a {color: #50afe4;} } @media (max-width: 640px) { #navbar { padding-right: 1em; gap: 4px; flex-wrap: wrap; } .navbar-left, .navbar-right { gap: 4px; } } .content {margin-top: 5px;} .message, .message > * { animation: fadein .5s; } @keyframes fadein { from { opacity: 0; } to { opacity: 1; } } .reply { margin-left: 1em; } .reply-preview { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; } .reply-preview-icon { font-size: 1em; } .reply-preview-author { font-weight: 600; } .reply-preview-link { font-weight: 500; } .pubkey { color: #9da0a4; font-family: monospace; } .edit-nav { font-family: monospace; font-size: 1em; } .edit-nav-btn { color: #777; margin: 0 2px; cursor: pointer; } .edit-nav-btn.disabled { color: #bbb; cursor: default; pointer-events: none; } .edit-nav-index { color: #888; margin: 0 2px; } .message-actions { margin-top: 6px; display: flex; align-items: center; gap: 6px; width: 100%; } .message-actions-reply { } .message-actions-edit { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; justify-content: flex-end; } .edit-hint { font-family: monospace; } .keypair-notice { position: fixed; top: 64px; left: 50%; transform: translateX(-50%); z-index: 2000; margin: 0; padding: 8px 12px; max-width: min(520px, 90vw); background: #f8f8f8; border: 1px solid #f5f5f5; border-left: 4px solid #ff8c00; border-radius: 6px; color: inherit; font-weight: 600; display: none; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); } .keypair-notice.show { display: block; } .keypair-highlight { box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.6); border-color: #ff8c00; } .disabled { opacity: 0.5; pointer-events: auto; } @media (prefers-color-scheme: dark) { .keypair-notice { background: #222; border: 1px solid #1e1e1e; border-left: 4px solid #ff8c00; color: #ccc; } } .edit-summary { display: inline-flex; align-items: center; line-height: 33px; min-height: 33px; gap: 4px; } .edit-summary-verb { font-weight: 400; } .avatar, .avatar_small { border-radius: 100%; margin: 0px; margin-right: 0px; object-fit: cover; vertical-align: top; display: block; } .avatar { height: 35px; width: 35px; } .avatar_small { height: 25px; width: 25px;} .breadcrumbs { font-size: 1em; } .avatarlink { font-weight: 600;} .unstyled { color: #ccc;} .hljs { padding: 10px; border-radius: 5px; background: #555; color: #f2f2f2;} .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px); z-index: 1000; display: flex; justify-content: center; align-items: center; } .modal-content { width: 90%; max-width: 600px; z-index: 1001; } .image-popover { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); z-index: 1100; padding: 20px; box-sizing: border-box; } .image-popover.open { display: flex; } .image-popover-frame { position: relative; display: inline-flex; align-items: center; justify-content: center; max-width: 90vw; max-height: 90vh; } .image-popover-close { position: absolute; top: 8px; right: 8px; border: 0; background: transparent; border-radius: 999px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; } .image-popover-close:hover { background: rgba(255, 255, 255, 0.25); } .image-popover-image { width: auto; height: auto; max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 6px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); background: #fff; } @media (prefers-color-scheme: dark) { .image-popover-close { background: transparent; color: #ddd; } .image-popover-close:hover { background: rgba(0, 0, 0, 0.35); } .image-popover-image { background: #222; } } /* Share page layout tweaks */ body { margin-top: 0; } main { max-width: 720px; margin: 0 auto; padding: 56px 16px 96px; } .panel { margin-top: 24px; padding: 16px; border-radius: 5px; background: #f8f8f8; border: 1px solid #e4e4e4; display: inline-flex; flex-direction: column; gap: 16px; } .examples { display: grid; gap: 16px; width: 100%; } .examples h2 { font-size: 1rem; margin: 0; } .examples pre { margin: 0; padding: 16px; border-radius: 5px; background: #f5f5f5; border: 1px solid #e4e4e4; overflow: auto; font-family: "Roboto Mono", monospace; font-size: 0.85rem; } button.demo { margin-left: 0; }