/* Header styling */ .site-header { position: sticky; display: flex; align-items: center; justify-content: space-between; top: 0; max-width: 100vw; z-index: 1000; background: #eee; border-bottom: 1px solid #ddd; padding: 0 1em; } body { font-family: sans-serif; margin: 0; padding: 0; } main { max-width: 50vw; margin: 2em auto; } fieldset { margin-left: 0; margin-right: -1px; margin-bottom: 1.5em; padding: 1em; } fieldset input[type="text"] { flex-grow: 1; max-width: 36ch; } button { padding: 0.5em 1em; cursor: pointer; } header .info-btn { background: none; border: none; font-size: 1rem; padding: 0; } fieldset .info-btn { padding: revert; } header #page-title { display: flex; align-items: center; gap: 0.5rem; margin: 0; /* space between icon and text */ } .crab-icon { width: 40px; /* adjust size as you like */ height: auto; } #progress-container div { display: flex; width: 100%; align-items: center; gap: .5em; } #progress-bar { flex-grow: 1; width: 100%; } .results-container { justify-items: center; } .results-container h3 { display: flex; width: 100%; flex-direction: row; justify-content: space-between; } .results-container#comment table { width: 100%; } .results-container#refinement table { text-align: center; } table { border-collapse: collapse; } table thead { background-color: #f4f4f4; border-bottom: 2px solid #ddd; cursor: default; } table thead th { padding: 8px; } table thead th:hover { cursor: pointer; background-color: #eee; } table td { padding: 8px; border-bottom: 1px solid #eee; } table tbody tr:nth-child(even) { background-color: #fafafa; } table tbody tr:hover { background-color: #f1f1f1; } /* style id column values */ table tbody td:nth-child(1) { font-family: monospace; width: 8ch; white-space: normal; word-break: break-all; } .comment-cell { overflow-wrap: break-word; word-break: break-word; } /* style score header */ .results-container#comment table th:nth-child(3) { white-space: nowrap; } /* style score column values */ .results-container#comment table tbody td:nth-child(3) { text-align: right; } .hidden { display: none !important; } /* Full-screen translucent backdrop */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; } /* The white box */ .modal-container { background: #fff; padding: 1.5rem; border-radius: 8px; min-width: 30vw; max-width: 75vw; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); position: relative; overflow-y: auto; max-height: 90vh; } .modal-container details summary { cursor: pointer; } /* Close button in corner */ .modal-close { position: absolute; top: 0; right: 0; background: none; border: none; font-size: 1.5rem; cursor: pointer; } .modal-container h2 { margin-top: 0; } .json-schemas { display: flex; flex-direction: column; gap: .5em; }