/* general */
:root {
  font-size: 16px;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #1c1c1c;
}

::-webkit-scrollbar-thumb {
  background: #333;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff2e88;
}

/* Tighten nested list spacing */
.hack ul ul {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* viewer.html */
#openseadragon-viewer {
  width: 100%;
  height: 75vh;
  background-color: #1c1c1c;
  border: 1px solid #333;
  margin: 2rem 0;
}

/* notebook.html */
#notebook-container {
  opacity: 0;
  transition: opacity 0.2s ease-in;
}

#notebook-container.is-ready {
  opacity: 1;
}

.nb-notebook {
  padding: 1rem 0;
  max-width: 100%;
  overflow-x: hidden;
}

.nb-cell {
  margin-bottom: 2rem;
  max-width: 100%;
}

.nb-input pre {
  background-color: #111 !important;
  border: 1px solid #333 !important;
  padding: 1rem !important;
  color: #eee !important;
  font-family: "Hack", monospace !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.nb-input pre code[class*="language-"],
.nb-input pre[class*="language-"],
.nb-input code[class*="language-"],
.nb-input .token {
  background: transparent !important;
  text-shadow: none !important;
  font-family: inherit !important;
  font-weight: inherit !important;
}

.nb-output {
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  border-left: 2px solid #333;
  max-width: 100%;
  overflow-x: auto;
}

.nb-output table {
  width: auto;
  min-width: 100%;
  margin: 1rem 0;
}

.nb-output td,
.nb-output th {
  padding: 0.5rem;
  border: 1px solid #333;
}
