/* ---------- Palette ---------- */ :root { --bg-main: #1d1f21; --text-color: #c5c8c6; --text-muted: #85a28a; --brand-red: #85280b; --form-header-bg: #282a2e; --border-light: #282a2e; --subject: #db9f12; --link-secondary: #85a28a; --post-bg: #282a2e; --post-highlight: #D6BAD0; --post-author: #c5c8c6; --greentext: #949055; --reply-link: #85a28a; --dialog-bg: #EDEFF7; --danger: #977732; --warning-bg: #929661; --black: #000000; --heading-bg: #4e5f3f; --heading-text: #FFFFFF; --box-bg: #282a2e; --shadow: rgba(0, 0, 0, 0.25); } /* ---------- Global ---------- */ body { font-family: Verdana, Tahoma, sans-serif; background: var(--bg-main); padding-left: 4px; padding-right: 4px; margin: 0 4px; font-size: 10pt; color: var(--text-color) } a { cursor: pointer; color: var(--text-muted); } a:hover { color: var(--danger); } /* INDEX */ #clavis { display: block; max-width: 300px; margin: 25px auto; } /* BOARD LIST */ #boardList { cursor: default; font-size: 14pt; margin: 10px; } /* BOARD */ .board-header { margin: 25px auto; text-align: center; color: var(--brand-red); } .board-header h1 { font-weight: bolder; font-size: 1.8rem; margin: 8px; margin-top: 12px; } .board-header p { font-size: .8rem; margin: 4px; } .board-header img { width: 300px; height: 100px; } .action-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; font-size: 12pt; } .action-bar>* { margin: 0; } .action-refresh { flex: 1 1 150px; } /* THREAD CATALOG */ #catalog { display: grid; gap: 10px; margin: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } .catalog-preview { margin: 10px; text-align: center; padding: 10px; max-height: 300px; overflow: hidden; } .catalog-preview h1 { font-size: 14px; font-weight: bolder; } .catalog-preview p { margin-top: 10px; font-size: 12px; } .catalog-preview-link { text-decoration: none; cursor: pointer; color: var(--subject); } .catalog-preview-img { max-width: 95%; border: 1px solid var(--border-light); box-shadow: 0 0 3px var(--shadow); } .catalog-preview-img-small { max-height: 50%; } .catalog-preview-img-large { max-height: 90%; } .catalog-preview-counts { font-size: 12px; margin-top: 2.5px; } .catalog-preview-counts-container { position: relative; margin-top: 4px; } .icons-container { position: absolute; right: 100%; margin-right: 6px; top: 50%; left: 5%; transform: translateY(-50%); display: flex; } .icons-container .icon { margin-left: 2px; } /* NEW THREAD BUTTON/FORM */ #newThreadBtn { margin-top: 12px; background: none; border: none; padding: 0; font-weight: bold; font-size: 1.2rem; color: var(--link-secondary); cursor: pointer; } #newThreadBtn:hover { color: var(--danger); } #newPostForm table { margin: auto; } #newPostForm button { display: block; margin-left: auto; } #newPostBody { width: 270px; height: 100px; } .new-post-container { width: max-content; margin: auto; margin-top: 16px; margin-bottom: 20px; } .new-post-form-field th { border: 1px solid var(--black); text-align: left; vertical-align: middle; padding: 4px; background: var(--form-header-bg); font-weight: bold; font-size: .8rem; } .new-post-form-field td { display: block; margin: 2px; } /* THREAD/POSTS */ .thread { margin: 2rem; } .thread-subject { font-weight: bold; color: var(--subject); margin-right: 5px; float: left; } .post-op { margin-bottom: 10px; } .post { display: inline-block; margin: 5x; padding: 10px; background-color: var(--post-bg); border: 1px solid var(--border-light); margin-bottom: 10px; } .post-highlighted { outline: 1px solid var(--link-secondary) } .post-header { clear: none; margin-bottom: 10px; } .post-header span { margin-right: 5px; } .post-author { font-weight: bold; color: var(--post-author); } .post-img { display: block; float: left; margin: 8px 8px 8px 0; cursor: pointer; height: auto; max-width: 50%; } .post-vid { display: block; float: left; margin: 8px 8px 8px 0; height: auto; max-width: 100%; } .post-file-loading { opacity: .4; transition: opacity .2s; } .post-img-info { display: inline-block; font-size: 10px; margin-left: 5px; } .post-body { margin-top: 10px; margin-left: 5px; clear: none; word-wrap: break-word; line-height: 1.3; } .post-num:hover { cursor: pointer; color: var(--danger); } .post-banned-message { margin-top: 2px; font-weight: bold; color: var(--danger); } .greentext { color: var(--greentext); } .post-filename { color: var(--link-secondary); text-decoration: underline; cursor: pointer; } .post-filename:hover { color: var(--danger); } .reply-link { color: var(--reply-link); text-decoration: underline; cursor: pointer; } .reply-link:hover { opacity: 60%; } .reply-link-header { color: var(--link-secondary); text-decoration: none; cursor: pointer; margin-left: 4px; } .reply-link-header:hover { opacity: 60%; } .ext-link { color: var(--link-secondary); } /* ADMIN */ .admin-login-container { width: max-content; margin: auto; margin-top: 32px; } #adminLoginForm form { margin: auto; } #adminLoginForm button { display: block; margin-left: auto; } .admin-dialog { border: 1px solid var(--border-light); background: var(--dialog-bg); padding: 6px 8px; min-width: 160px; box-shadow: 2px 2px 4px var(--shadow); font-size: 12px; color: var(--black); position: fixed; z-index: 2000; } .admin-dialog h1 { margin: 0 0 8px 0; font-size: 14px; font-weight: bold; color: var(--brand-red); text-align: center; } .admin-dialog button { display: block; margin: 5px auto; } .admin-dialog-close-btn { font-weight: bold; margin-top: 20px !important; } /* GENERAL LAYOUT */ .container { max-width: 600px; margin: auto; } .box { font-size: 10pt; border: 1px solid var(--black); background-color: var(--box-bg); } .box-table { font-size: 10pt; border: 1px solid var(--black); background-color: var(--box-bg); width: 100%; text-align: center; } .box-table td { padding: 5px; } .box h2, .box-table th { padding: 5px; margin: 0; background-color: var(--heading-bg); color: var(--heading-text); font-weight: bold; } .box p { padding: 10px; } .warning { background: var(--warning-bg); color: var(--black); border: 1px solid var(--black); padding: 8px; margin: 5px 0; font-size: 12px; } .link-button { background: none; border: none; padding: 0; font-size: .8rem; color: var(--link-secondary); cursor: pointer; text-decoration: underline; } .link-button:hover { color: var(--danger); } .icon { width: 12px; height: 12px; vertical-align: middle; } .icon:not(:last-child) { margin-right: 2px; } hr { border: none; border-top: 1px solid var(--border-light); height: 0; clear: left; } footer { margin-top: 50px; margin-bottom: 10px; font-size: 10px; text-align: center; } /* 404 NOT FOUND */ .not-found-container { min-height: 90vh; display: flex; align-items: center; } .not-found-container .box { text-align: center; } .not-found-container .box div { padding: 20px; } #notFoundImg { max-width: 80%; display: block; margin: auto; } @media (max-width: 600px) { body { margin: 0; } #catalog { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } .action-bar { flex-direction: column; justify-items: center; } .action-bar select, .action-bar input, .action-bar .link-button { width: 100%; } .action-refresh { flex: 1; } .post-img-full { max-width: 100%; } textarea { font-size: 16px; } }