@import url('https://fonts.googleapis.com/css2?family=LXGW+WenKai+Mono+TC:wght@400;700&display=swap'); *, html, body { margin: 0; padding: 0; box-sizing: border-box; font-family: "LXGW WenKai Mono TC", monospace; } body { background-color: #000033; background-image: radial-gradient(circle at 25% 25%, #1a0033 0%, transparent 50%), radial-gradient(circle at 75% 75%, #001a33 0%, transparent 50%); color: #ccccff; margin: 0; padding: 0; min-height: 100vh; display: flex; flex-direction: column; min-width: 1200px; } a { color: #99ccff; text-decoration: none; } a:hover { color: #99ffcc; text-decoration: underline; } nav { background-color: #0d001a; padding: 16px 16px 16px 16px; display: flex; justify-content: space-between; align-items: center; position: relative; border-bottom: 1px solid #ff99cc; } nav::before { content: "✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧"; position: absolute; top: 15px; left: 0; right: 0; text-align: center; color: #ffccee; z-index: 0; } .nav-left, .nav-right { display: flex; align-items: center; gap: 16px; z-index: 1; } .nav-title { color: #ffccff; font-weight: bold; } .nav-title:hover { color: #ff99ff; text-decoration: none; } .user-status { color: #ccffcc; } main { display: flex; margin: 0 auto; gap: 10px; padding: 10px; flex: 1; } .sidebar { background-color: #0d0020; border: 1px solid #4d4d80; padding: 8px; height: fit-content; flex-shrink: 0; } .sidebar h3 { background: linear-gradient(to right, #330066, #1a0033); color: #ffccff; margin: 0 0 8px 0; padding: 4px; text-align: center; border: 1px solid #ff99cc; font-weight: bold; } .sidebar div:not(:first-child) h3 { margin-top: 16px; } .sidebar-content { display: flex; flex-direction: column; gap: 8px; } .sidebar-tag:hover { text-decoration: none; filter: brightness(1.3); } .sidebar-tag::before, .sidebar-stat::before { content: "»"; margin: 0px 8px; } .tag-count, .sidebar-stat-value { color: #cccccc; } .content { overflow: hidden; flex: 1; background-color: #0a0015; border: 1px solid #4d4d80; padding: 10px; } .content-main h1 { color: #ff99cc; margin-bottom: 8px; } .centered-main { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; min-height: 580px; } .centered-horizontal { display: flex; justify-content: center; align-items: center; width: 100%; } .centered-main h1, .centered-horizontal h1 { color: #ffccff; margin: 8px 0px; } .centered-main p, .centered-horizontal p { color: #99ffcc; } .main-img { max-width: 768px; max-height: 576px; } .search-container { background-color: #0d001a; border: 1px solid #6666cc; padding: 8px; text-align: center; } .search-container input[type="text"], .search-container .itext { width: 100%; flex: 1; } .centered-main>.search-container { width: 768px; } .search-container form { display: flex; gap: 8px; align-items: center; } .itext, input[type="text"], textarea, input[type="email"], input[type="password"], input[type="number"], input[type="url"] { background-color: #1a0033; border: 1px solid #9999ff; color: #ccccff; padding: 3px 5px; } .itext:focus, input[type="text"]:focus, textarea:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="number"]:focus, input[type="url"]:focus { border-color: #ff99cc; background-color: #260040; outline: none; } select { background-color: #1a0033; border: 1px solid #9999ff; color: #ccccff; padding: 3px 5px; width: 100%; } select:focus { border-color: #ff99cc; background-color: #260040; outline: none; } option { background-color: #1a0033; color: #ccccff; } option:hover { background-color: #260040; color: #ff99cc; } input[type="button"], button[type="button"], input[type="submit"] { background-color: #330066; border: 1px solid #9999ff; color: #ccccff; padding: 3px 8px; cursor: pointer; } input[type="button"]:hover, button[type="button"]:hover, input[type="submit"]:hover { background-color: #ff99cc; color: #1a001a; } .rating-toggles { display: flex; gap: 4px; align-items: center; } .rating-checkbox { display: flex; align-items: center; cursor: pointer; } .rating-checkbox input[type="checkbox"] { display: none; } .checkbox-custom { width: 24px; height: 24px; border: 2px solid #666; background-color: #1a0033; transition: all 0.2s ease; } .checkbox-custom.safe { border-color: #388e3c; } .checkbox-custom.questionable { border-color: #f57c00; } .checkbox-custom.sensitive { border-color: #7b1fa2; } .checkbox-custom.explicit { border-color: #d32f2f; } .rating-checkbox input[type="checkbox"]:checked+.checkbox-custom.safe { background-color: #4caf50; border-color: #388e3c; border-width: 2px; } .rating-checkbox input[type="checkbox"]:checked+.checkbox-custom.questionable { background-color: #ff9800; border-color: #f57c00; border-width: 2px; } .rating-checkbox input[type="checkbox"]:checked+.checkbox-custom.sensitive { background-color: #9c27b0; border-color: #7b1fa2; border-width: 2px; } .rating-checkbox input[type="checkbox"]:checked+.checkbox-custom.explicit { background-color: #f44336; border-color: #d32f2f; border-width: 2px; } footer { background-color: #0d001a; border-top: 1px solid #ff99cc; padding: 10px 0 16px 0; text-align: center; color: #ccccff; margin-top: 16px; } footer::before { content: "✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦"; display: block; color: #ffccee; margin-bottom: 10px; } .bordered-box { border: 1px solid #4d4d80; padding: 8px; } .bordered-box hr { border: 1px solid #4d4d80; margin: 8px 0; } .ibform { background-color: #0d001a; border: 1px solid #ff99cc; padding: 8px; margin: 16px auto; } .fgroup { border: 1px dashed #4d4d80; padding: 10px; display: flex; flex-direction: row; } .fg-main { display: flex; min-width: 128px; } .fg-sub { display: flex; flex: 1; flex-direction: column; gap: 4px; } .fg-sub-radio { display: flex; flex-direction: row; gap: 8px; align-items: center; } .fg-sub small, .fg-sub-radio small { color: #ff99cc; } .fg-main label { color: #ffccff; font-weight: bold; } .fg-sub input, .fg-sub textarea, .fg-sub.itext { border-style: double; border-width: 3px; border-color: #9999ff; width: 100%; } .fg-sub select { border-style: double; border-width: 3px; border-color: #9999ff; width: 100%; } .fbtngrp { margin: 8px 0 0 0; } .fbtngrp input { padding: 4px 8px; } .q-img { max-width: 768px; } .error { color: #ffccff; background-color: #330000; border: 1px solid #ff0000; padding: 8px; margin-bottom: 16px; text-align: center; } .success { color: #ccffcc; background-color: #003300; border: 1px solid #00ff00; padding: 8px; margin-bottom: 16px; text-align: center; } .info { background-color: #001a33; border: 1px solid #0066cc; padding: 8px; margin-bottom: 16px; } .upload-drag-box { border: 2px dashed #9999ff; background-color: #1a0033; padding-top: 20px; text-align: center; cursor: pointer; width: 768px; margin: 24px 0px 12px 0px; } .upload-drag-box.dragover { border-color: #ff99cc; background-color: #260040; transition: background 0.2s, border-color 0.2s, box-shadow 0.2s; } .upload-drag-box h1 { margin: 0; } .upload-drag-box p { margin: 8px 0 12px 0; } .upload-drag-box small { display: block; border-top: 1px dashed #9999ff; margin-top: 20px; padding-top: 10px; padding-bottom: 10px; } .upload-area { display: flex; flex-direction: column; align-items: flex-start; } .upload-via-link>form { display: flex; flex-direction: row; gap: 8px; align-items: center; width: 768px; } .upload-via-link>form input[type="url"] { flex: 1; width: 100%; } .upload-previews { margin-top: 16px; width: 768px; } .preview-area { display: flex; flex-direction: row; gap: 8px; margin-bottom: 16px; } .preview-image { width: 96px; height: 96px; object-fit: cover; border: 1px solid #9999ff; flex-shrink: 0; } .preview-details { display: flex; flex-direction: column; gap: 8px; flex: 1 1 0; min-width: 0; } .preview-link { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; min-width: 0; } .preview-rating-form { display: flex; flex-direction: row; gap: 8px; align-items: center; } .preview-remove-btn { display: inline-block; width: auto; align-self: flex-start; max-width: 120px; } .upload-area { position: relative; overflow: hidden; } .upload-drag-box { position: relative; } .upload-loading-indicator { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #1a0033cc; box-shadow: none; transition: none; z-index: 20; pointer-events: none; } .ib-loader-spinner { position: relative; width: 32px; height: 32px; } .ib-loader-seg { position: absolute; width: 7px; height: 7px; background: #222244; border: 1px solid #fff; border-radius: 1px; opacity: 0.35; box-shadow: none; transition: opacity 0.1s, background 0.1s; } .ib-loader-seg.active { opacity: 1; background: #ff99cc; box-shadow: 0 0 2px 0 #99ccff; } .ib-loader-seg:nth-child(1) { top: 0px; left: 12px; } .ib-loader-seg:nth-child(2) { top: 3px; left: 19px; } .ib-loader-seg:nth-child(3) { top: 8px; left: 24px; } .ib-loader-seg:nth-child(4) { top: 15px; left: 27px; } .ib-loader-seg:nth-child(5) { top: 22px; left: 24px; } .ib-loader-seg:nth-child(6) { top: 27px; left: 19px; } .ib-loader-seg:nth-child(7) { top: 30px; left: 12px; } .ib-loader-seg:nth-child(8) { top: 27px; left: 5px; } .ib-loader-seg:nth-child(9) { top: 22px; left: 0px; } .ib-loader-seg:nth-child(10) { top: 15px; left: -3px; } .ib-loader-seg:nth-child(11) { top: 8px; left: 0px; } .ib-loader-seg:nth-child(12) { top: 3px; left: 5px; } /* Upload All Button Styles */ .upload-all-btn { padding: 12px 24px; cursor: pointer; transition: all 0.3s ease; width: auto; min-width: 120px; } .upload-all-btn:disabled { cursor: not-allowed; opacity: 0.6; } .upload-all-btn.uploading { background-color: #444400; border-color: #ffff00; color: #ffffcc; } .upload-all-btn.success { background-color: #004400; border-color: #00ff00; color: #ccffcc; animation: successPulse 1s ease-in-out; } .upload-all-btn.warning { background-color: #664400; border-color: #ffaa00; color: #ffeecc; } .upload-all-btn.error { background-color: #440000; border-color: #ff0000; color: #ffcccc; } @keyframes successPulse { 0% { box-shadow: 0 0 0 rgba(0, 255, 0, 0.4); } 50% { box-shadow: 0 0 16px rgba(0, 255, 0, 0.6); } 100% { box-shadow: 0 0 0 rgba(0, 255, 0, 0.4); } } .preview-area.uploaded { opacity: 0.7; background-color: rgba(0, 68, 0, 0.1); border-left: 3px solid #00ff00; padding-left: 8px; } .preview-area.upload-error { background-color: rgba(68, 0, 0, 0.1); border-left: 3px solid #ff0000; padding-left: 8px; } .preview-remove-btn.uploaded { background-color: #004400; border-color: #00ff00; color: #ccffcc; cursor: default; } .preview-remove-btn.uploading { background-color: #333333; border-color: #666666; color: #999999; cursor: not-allowed; opacity: 0.6; } .preview-remove-btn.error { background-color: #440000; border-color: #ff0000; color: #ffcccc; } .post-list { margin: 16px auto; columns: 4; column-gap: 4px; } .post-item { break-inside: avoid; margin-bottom: 4px; cursor: pointer; position: relative; display: inline-block; width: 100%; overflow: hidden; border: 2px solid transparent; transition: border-color 0.3s ease; } .post-item:hover { border-color: #4a9eff; box-shadow: 0 0 10px rgba(74, 158, 255, 0.3); } .post-item img { width: 100%; height: auto; display: block; } .post-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(10, 14, 26, 0.95) 0%, rgba(10, 14, 26, 0.7) 60%, transparent 100%); color: #4a9eff; padding: 8px 6px 6px 6px; transform: translateY(100%); transition: transform 0.3s ease; } .post-item:hover .post-overlay { transform: translateY(0); } .post-overlay-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; } .post-id { color: #ffffff; font-weight: bold; } .post-score { color: #ffa500; } .post-rating { color: #ff6b6b; } .post-rating>a { color: inherit; } .post-rating.Safe { color: #4caf50; } .post-rating.Questionable { color: #ff9800; } .post-rating.Sensitive { color: #9c27b0; } .post-rating.Explicit { color: #f44336; } .post-tags { word-wrap: break-word; max-height: 40px; overflow: hidden; } .post-tags .tag { text-decoration: none; margin-right: 3px; cursor: pointer; padding: 1px 2px; border-radius: 2px; display: inline-block; margin-bottom: 1px; transition: all 0.2s ease; } .post-tags .post-tag:hover { background-color: rgba(255, 255, 255, 0.2); transform: scale(1.1); } .single-post { width: 100%; max-width: 100%; overflow: hidden; min-width: 0; } .post-image-container { width: 100%; max-width: 100%; overflow: auto; } .post-image-container img { display: block; max-width: none; height: auto; } .post-title { color: #ff99cc; } .single-post-bar { display: flex; margin-bottom: 12px; width: 100%; padding: 8px; border: 1px solid #4d4d80; background-color: #0d001a; flex-direction: row; justify-content: space-between; } .size-selected { color: #ff99cc; font-weight: 700; } #post-image { display: block; height: auto; margin-bottom: 8px; } #post-image.fit-width { width: 100%; height: auto; max-width: 100%; } #post-image.fit-height { width: auto; max-width: none; } #post-image.fit-both { max-width: 100%; height: auto; } #post-image.fixed-size { width: auto; height: auto; max-width: none; } .post-details { margin: 4px auto; display: flex; flex-direction: row; align-items: center; gap: 16px; } .post-detail-item { display: flex; align-items: center; gap: 4px; } .post-detail-label { color: #cccccc; } .post-favourite-actions { display: flex; align-items: center; gap: 4px; } .post-favourite-actions form { margin: 0; padding: 0; } .icon-button { background: none; border: none; cursor: pointer; padding: 2px; display: flex; align-items: center; justify-content: center; color: #99ccff; transition: color 0.3s ease; } .icon-button:hover { color: #99ffcc; } .icon-button svg { width: 16px; height: 16px; fill: currentColor; } .edit-post { display: flex; flex-direction: row; height: 100%; align-items: stretch; } .edit-main { flex: 1; padding-right: 8px; border-right: 1px solid #4d4d80; } .edit-sidebar { width: 264px; flex-shrink: 0; padding-left: 8px; height: 100%; display: flex; flex-direction: column; gap: 8px; } .edit-sidebar>.post-detail-item { align-items: flex-start; } .edit-sidebar>.post-detail-item>.post-detail-label { width: 72px; flex-shrink: 0; } .edit-sidebar>.post-detail-item>.post-detail-value { word-break: break-all; } /* Tag Editor Styles */ .tag-editor { margin-top: 24px; background-color: #0d0020; border: 1px solid #4d4d80; padding: 16px; } .tag-editor-title { color: #ff99cc; margin: 0 0 20px 0; text-align: left; } .tag-category { margin-bottom: 20px; background: rgba(13, 0, 26, 0.8); border: 1px solid #4d4d80; padding: 12px; } .tag-category:hover { border-color: #8080cc; } .tag-category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #6666cc; } .tag-category-title { margin: 0; color: #ffccff; display: flex; align-items: center; gap: 8px; } .tag-type-icon { font-weight: bold; } .tag-count { color: #cccccc; font-weight: normal; } .tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; min-height: 32px; padding: 8px; background: rgba(0, 0, 0, 0.3); border: 1px dashed #333366; } .tag-item { display: flex; align-items: center; background: #1a0033; border: 1px solid #6666cc; padding: 4px 8px; gap: 4px; } .tag-item:hover { background: #330066; border-color: #9999ff; } .tag-link { text-decoration: none; font-weight: bold; } .tag-link:hover { text-decoration: underline; } .tag-parent-indicator, .tag-children-indicator { opacity: 0.7; cursor: help; } .tag-parent-indicator { color: #99ffcc; } .tag-children-indicator { color: #ffcc99; } .tag-remove-btn { background: none; border: none; color: #ff6666; cursor: pointer; font-weight: bold; padding: 0; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; } .tag-remove-btn:hover { background: #ff6666; color: white; } .no-tags { color: #666699; font-style: italic; font-size: 14px; padding: 8px; text-align: center; width: 100%; } .tag-input-container { position: relative; } .tag-input-wrapper { position: relative; } .tag-input { width: 100%; background: rgba(0, 0, 0, 0.5); border: 1px solid #6666cc; border-radius: 4px; padding: 8px 12px; color: #ccccff; font-size: 14px; transition: all 0.3s ease; } .tag-input:focus { border-color: #9999ff; background: rgba(0, 0, 0, 0.7); box-shadow: 0 0 10px rgba(153, 153, 255, 0.3); outline: none; } .tag-input::placeholder { color: #666699; font-style: italic; } .tag-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: linear-gradient(135deg, #0a0015, #1a0033); border: 1px solid #6666cc; border-top: none; border-radius: 0 0 4px 4px; max-height: 200px; overflow-y: auto; z-index: 1000; display: none; } .tag-suggestions.show { display: block; } .tag-suggestion { padding: 8px 12px; cursor: pointer; border-bottom: 1px solid #333366; display: flex; justify-content: space-between; align-items: center; transition: all 0.2s ease; } .tag-suggestion:hover, .tag-suggestion.selected { background: rgba(102, 102, 204, 0.3); } .tag-suggestion:last-child { border-bottom: none; } .tag-suggestion-name { font-weight: bold; } .tag-suggestion-count { color: #666699; font-size: 12px; } .tag-suggestion-create { color: #99ffcc; font-style: italic; } .tag-suggestion-create .tag-suggestion-name { color: #99ffcc; } /* Tag type specific colors */ .tag-category[data-type="general"] .tag-category-title .tag-type-icon { color: #4ECDC4; } .tag-category[data-type="artist"] .tag-category-title .tag-type-icon { color: #FF6B9D; } .tag-category[data-type="character"] .tag-category-title .tag-type-icon { color: #FFB347; } .tag-category[data-type="copyright"] .tag-category-title .tag-type-icon { color: #A8E6CF; } .tag-category[data-type="meta"] .tag-category-title .tag-type-icon { color: #DDA0DD; } /* Loading animation */ .tag-input.loading { background-image: linear-gradient(90deg, transparent, rgba(153, 153, 255, 0.2), transparent); background-size: 200% 100%; animation: loading-shimmer 1.5s infinite; } @keyframes loading-shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }