/* ============================================
   Solarized Light Theme for Gas Town
   Based on Ethan Schoonover's Solarized palette
   ============================================ */

/* Solarized palette reference:
   base03:  #002b36
   base02:  #073642
   base01:  #586e75  (emphasis)
   base00:  #657b83  (body text)
   base0:   #839496
   base1:   #93a1a1  (comments / secondary)
   base2:   #eee8d5  (bg highlights)
   base3:   #fdf6e3  (bg light)
   yellow:  #b58900
   orange:  #cb4b16
   red:     #dc322f
   magenta: #d33682
   violet:  #6c71c4
   blue:    #268bd2
   cyan:    #2aa198
   green:   #859900
*/

body {
  color: #657b83;
  background-color: #fdf6e3;
}

h1, h2, h3, h4, h5, h6 {
  color: #586e75;
}

/* Links */
a, a:link, a:visited, a:active {
  color: #268bd2;
}

a:hover {
  color: #2aa198;
}

.removed-link {
  color: #93a1a1;
}

.link-not-tracked {
  background-color: rgba(181, 137, 0, 0.12);
  color: #b58900;
}

/* Version pointer banner */
.new-version-pointer {
  border: 1px solid #eee8d5;
  background-color: #eee8d5;
  color: #586e75;
}

.new-version-pointer a,
.new-version-pointer a:link,
.new-version-pointer a:visited,
.new-version-pointer a:active {
  color: #268bd2;
}

.new-version-pointer a:hover {
  color: #2aa198;
}

.new-version-pointer.page-removed {
  border: 1px solid rgba(203, 75, 22, 0.3);
  background-color: rgba(203, 75, 22, 0.08);
  color: #cb4b16;
}

.new-version-pointer.page-removed a,
.new-version-pointer.page-removed a:link,
.new-version-pointer.page-removed a:visited,
.new-version-pointer.page-removed a:active {
  color: #cb4b16;
}

.new-version-pointer.page-removed a:hover {
  color: #dc322f;
}

/* Backlinks */
.backlink-context-container {
  background-color: #eee8d5;
  border-left: 3px solid #93a1a1;
}

.backlink-context {
  color: #839496;
}

.backlink-context a {
  color: #268bd2;
}

.backlink-see-in-context {
  color: #93a1a1;
}

/* Block IDs */
.block-id {
  color: #93a1a1;
}

/* Code */
code.fenced-code, code.language-python {
  background-color: #eee8d5;
  color: #586e75;
}

code.inline-code {
  background-color: #eee8d5;
  color: #2aa198;
}

/* Uninteresting leaf pages */
.uninteresting-leaf-page {
  color: #93a1a1;
}

/* Blockquotes */
blockquote {
  background-color: #eee8d5;
  border-left: 4px solid #268bd2;
  color: #657b83;
}

/* Transclusions */
.transcluded {
  background-color: #eee8d5;
  border-left: 3px solid #93a1a1;
}

.transcluded-see-in-context {
  color: #268bd2;
}

.transcluded-see-in-context:hover {
  color: #2aa198;
}

/* Highlight (do not link) */
.highlight-do-not-link {
  background-color: rgba(181, 137, 0, 0.12);
  color: #b58900;
}

/* Frontmatter table */
.frontmatter {
  border: 1px solid #eee8d5;
}

.frontmatter tr:nth-child(even) {
  background-color: #eee8d5;
}

.frontmatter tr:nth-child(odd) {
  background-color: #fdf6e3;
}

.frontmatter td:first-child {
  color: #93a1a1;
}

.frontmatter td:last-child {
  color: #657b83;
}

/* Tables */
th, td {
  border: 1px solid #eee8d5;
}

th {
  background-color: #eee8d5;
  color: #586e75;
}

/* Breadcrumbs */
.breadcrumbs {
  color: #93a1a1;
  background-color: #eee8d5;
}

.breadcrumb-link {
  color: #268bd2;
}

.breadcrumb-link:hover {
  color: #2aa198;
}

.breadcrumb-separator {
  color: #93a1a1;
}

.breadcrumb-current {
  color: #839496;
}

/* Semantic Title Popup — adapted for light theme */
.semantic-title-popup {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  background: #eee8d5;
  border: 1px solid #93a1a1;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.65em;
  font-weight: normal;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: -2px;
  padding-top: 6px;
}
.semantic-title-popup a {
  color: #268bd2;
  text-decoration: underline;
}
.semantic-title-popup a:hover {
  color: #2aa198;
}
.semantic-title-popup.visible {
  display: block;
}
@media (hover: hover) {
  h1:hover .semantic-title-popup {
    display: block;
  }
}

/* Selection highlight */
::selection {
  background-color: #eee8d5;
  color: #586e75;
}

/* Scrollbar (webkit) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #fdf6e3;
}

::-webkit-scrollbar-thumb {
  background: #93a1a1;
  border-radius: 4px;
}

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