@import url("evil-icons/assets/evil-icons.css"); @custom-media --viewport-desktop (width >=62.5rem); @custom-media --viewport-mobile (width < 62.5rem); :root { --main-width: 1000px; --main-background-color: #fdfdfe; --background-color: #f8f8f8; --border-color: #eee; --text-background-color: #fff; --text-color: #222; --link-color: #3c77aa; --dimmed-link-color: #88958d; } @media (prefers-color-scheme: dark) { :root { --main-background-color: #222; --background-color: #333; --text-background-color: #383838; --border-color: #4c4c4c; --text-color: #ccc; --link-color: #c38855; --dimmed-link-color: #88958d; } } * { box-sizing: border-box; } html, body, div, h1, h2, ul, li, p, form, input, textarea, pre { margin: 0; padding: 0; } html, body { width: 100%; height: 100%; overscroll-behavior: none; } body { background: var(--main-background-color); text-size-adjust: 100%; word-wrap: break-word; color: var(--text-color); line-height: 1.4; -webkit-overflow-scrolling: touch; } html, input, textarea, button { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; -webkit-font-smoothing: subpixel-antialiased; } input, textarea, button { font-size: 1em; } h1, h2 { font-weight: normal; padding: 24px; } ul { list-style-type: none; } legend { color: var(--dimmed-link-color); margin: 0; padding: 12px; width: 100%; } fieldset { border: 0; padding: 12px; margin: 0; min-width: 0; } body:not(:-moz-handler-blocked) fieldset { display: table-cell; } a { color: var(--link-color); text-decoration: none; } img, hr { border: none; } #app { display: grid; grid-template: auto 1fr auto / auto; grid-template-areas: "header" "content" "footer"; } #header { grid-area: header; background: var(--text-background-color); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; } #header_wrapper, .footer_container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; } #sidebar { grid-area: footer; position: sticky; bottom: 0; background: var(--text-background-color); z-index: 10; } #sidebar_wrapper { display: inline-block; width: 100%; } .nav_content { padding: 10px; } #content { grid-area: content; } .desktop { display: none; } .card { padding: 6px 24px; } #logo { height: 36px; width: 110px; } #logo a { background: url("./assets/logo@2x.png") no-repeat; background-size: cover; border: 0; display: block; height: 36px; overflow: hidden; text-indent: 100%; white-space: nowrap; width: 110px; } #ctitle { padding: 24px; } #global { display: flex; flex-direction: row; justify-content: space-around; width: 100%; } .l { display: flex; flex-flow: row wrap; } #global > a { display: flex; align-items: center; color: var(--dimmed-link-color); padding: 14px 16px; } #sidebar_wrapper > a, .l > a { color: var(--dimmed-link-color); display: flex; padding: 14px; align-items: center; vertical-align: middle; } #global > a:hover { background-color: var(--background-color); border-top: 2px solid #ff339a; cursor: pointer; } #sidebar .tags { line-height: 140%; padding: 12px; text-align: justify; } #sidebar .tags h4 { color: #88958d; display: block; text-align: center; font-weight: 400; } .l a, .msg-button { border-bottom: 2px solid transparent; } .l a:hover, .msg-button:hover { background-color: var(--background-color); border-bottom: 2px solid #ff339a; cursor: pointer; } .icon { vertical-align: middle; } #search input { background: var(--main-background-color); border: 1px solid var(--border-color); outline: none !important; padding: 4px; appearance: none; border-radius: 0; } .page { background: var(--main-background-color); border: 1px solid var(--border-color); margin-bottom: 12px; padding: 6px; text-align: center; } .page a { color: var(--dimmed-link-color); } .msg-cont .ir { padding: 12px; } .msg-cont .ir img { max-width: 100%; height: auto; } .msg-cont > .h, .msg-cont .msg-header { padding: 12px; } .msg-cont > .l { border-top: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-around; background: var(--main-background-color); } .msg-cont > .l a { color: var(--dimmed-link-color); margin-right: 15px; font-size: small; } .msg-tags { color: var(--dimmed-link-color); padding: 6px; } .badge, .msg-tags > a { color: var(--dimmed-link-color); display: inline-block; } article .tags > a::before, .msg-tags > a::before { content: "#"; } .msgthread { margin-bottom: 0; } .msg-cont { background: var(--text-background-color); border: 1px solid var(--border-color); line-height: 140%; margin-bottom: 12px; } .reply-new .msg-cont { border-right: 5px solid #0c0; } .msg-ts { font-size: small; vertical-align: top; word-wrap: break-word; overflow-wrap: break-word; word-break: break-word; } .msg-ts, .msg-ts > a { color: var(--dimmed-link-color); } .msg-txt { margin: 0 0 12px; padding: 12px; word-wrap: break-word; overflow-wrap: break-word; } q::before, q::after { content: ""; } q, blockquote { border-left: 3px solid #ccc; color: #666; display: block; margin: 10px 0 10px 10px; padding-left: 10px; word-break: break-word; } .msg-media { text-align: center; } .msg-media img { max-width: 100%; height: auto; } .msg-links { color: var(--dimmed-link-color); font-size: small; margin: 5px 0 0 0; padding: 12px; } .msg-comments { color: var(--dimmed-link-color); font-size: small; margin-top: 10px; overflow: hidden; text-indent: 10px; } .ta-wrapper { border: 1px solid #ddd; display: flex; flex-grow: 1; } .msg-comment { display: flex; margin-top: 10px; } .msg-comment-hidden { display: none; } .msg-comment textarea { border: 0; flex-grow: 1; outline: none !important; padding: 4px; resize: vertical; vertical-align: top; } .attach-photo { cursor: pointer; } .attach-photo-active { color: green; } .msg-comment input { align-self: flex-start; background: var(--background-color); border: 1px solid var(--border-color); color: #999; margin: 0 0 0 6px; position: sticky; top: 70px; vertical-align: top; width: 50px; } .msg-recomms { color: var(--dimmed-link-color); background: var(--main-background-color); font-size: small; margin-bottom: 10px; padding: 6px; border-bottom: 1px solid var(--border-color); overflow: hidden; text-indent: 10px; } .msg-summary, .msg-summary a { color: var(--dimmed-link-color); font-size: small; padding: 12px; text-align: right; } .msg-bubble { padding: 12px; display: inline-block; background: var(--border-color); color: #222; } #replies .msg-txt, #private-messages .msg-txt { margin: 0; } .title2 { background: #fff; margin: 20px 0; padding: 10px 20px; } .title2-right { float: right; line-height: 24px; } #content .title2 h2 { font-size: x-large; margin: 0; } .embedContainer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; padding: 12px; position: relative; } .embedContainer > * { box-sizing: border-box; flex-grow: 1; margin: 3px; min-width: 49%; } .embedContainer > .compact { flex-grow: 0; } .embedContainer .picture img { display: block; } .embedContainer img, .embedContainer video { max-width: 100%; max-height: 80vh; } .embedContainer > .audio, .embedContainer > .youtube { min-width: 90%; } .embedContainer audio { width: 100%; } .embedContainer iframe { overflow: hidden; resize: vertical; display: block; } .msg-cont .nsfw .embedContainer img, .msg-cont .nsfw .embedContainer video, .msg-cont .nsfw .embedContainer iframe, .msg-cont .nsfw .ir img { opacity: 0.1; } .msg-cont .nsfw .embedContainer img:hover, .msg-cont .nsfw .embedContainer video:hover, .msg-cont .nsfw .embedContainer iframe:hover, .msg-cont .nsfw .ir img:hover { opacity: 1; } .Button { background: #fff; border: 1px solid var(--border-color); color: #888; cursor: pointer; display: inline-block; margin: 5px; padding: 4px 10px; } .Button:hover { background: #f8f8f8; border-bottom: 1px solid #ff339a; } .Avatar { display: flex; } .msg-avatar { max-height: 48px; margin-right: 10px; max-width: 48px; } .msg-avatar img { max-height: 48px; vertical-align: top; max-width: 48px; } .info-avatar { white-space: nowrap; } .info-avatar img { max-height: 36px; max-width: 36px; padding: 6px; vertical-align: middle; } .Chat_messages { box-sizing: border-box; padding: 0 20px; overflow-y: auto; height: 100%; display: flex; flex-direction: column-reverse; width: 100%; } #dialogt { height: 100%; left: 0; position: fixed; top: 0; width: 100%; z-index: 10; display: flex; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.3); } #dialogw { z-index: 11; max-width: 96%; max-height: calc(100% - 100px); background-color: #fff; } #dialogw a { display: block; } #dialogw img { max-height: 100%; max-height: 90vh; max-width: 100%; } #dialog_header { width: 100%; height: 44px; display: flex; flex-direction: row-reverse; align-items: center; } .header_image { background: rgba(0, 0, 0, 0.28); } #dialogc { cursor: pointer; color: #ccc; padding-right: 6px; } .dialoglogin { background: #fff; padding: 25px; margin: 0 auto; } @media (--viewport-desktop) { .dialoglogin { width: 300px; } } .dialog-opened { overflow: hidden; } #signemail, #signfb, #signvk { display: block; line-height: 32px; margin: 10px 0; text-decoration: none; width: 100%; } #signvk { margin-bottom: 30px; } .dialoglogin form { margin-top: 7px; } .signinput, .signsubmit { border: 1px solid #ccc; margin: 3px 0; padding: 3px; } .signsubmit { width: 70px; } .dialogshare { background: #fff; min-width: 300px; overflow: auto; padding: 20px; } .dialogl { background: #fff; border: 1px solid #ddd; margin: 3px 0 20px; padding: 5px; } .dialogshare li { float: left; margin: 5px 10px 0 0; } .dialogshare a { display: block; } .dialogtxt { background: #fff; padding: 20px; } #replies { background: var(--main-background-color); border: 1px solid var(--border-color); padding: 12px; } .userinfo { padding: 40px; background-color: #fdfdfe; margin: 12px; } @media (--viewport-mobile) { #content { margin-bottom: 12px; } #sidebar { background: var(--text-background-color); } } @media (--viewport-desktop) { .desktop { display: block; } .mobile { display: none; } #app { grid-template: auto 1fr / 300px auto; grid-template-areas: "sidebar header header" "sidebar content content" "sidebar content content"; } #sidebar { grid-area: sidebar; height: 100%; } article, .page, .msg-cont { width: 640px; } #sidebar_wrapper { padding: 12px; display: inline-block; position: sticky; top: 0; } .l a { border-right: 2px solid transparent; } #global > a:hover { border-top: initial; border-right: 2px solid #ff339a; } #global { flex-direction: column; } #replies { width: 640px; } #footer { color: var(--dimmed-link-color); padding: 10px; font-size: 10pt; } }