pre {
  background-color: var(--panel);
  box-shadow: inset 0 0 0 2px #2e2a20;
  color: #c9c3b2;
  padding: 1em 1.2em;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
  overflow: auto;
}

/* 地と余白は pre に任せ、highlight.js のテーマからは色だけを使う */
.hljs {
  background: transparent;
  padding: 0 !important;
}

pre.src {
  position: relative;
}

pre.src:before {
  display: none;
  position: absolute;
  right: 12px;
  padding: 3px;
  color: #7d7766;
}

pre.src:hover:before { display: inline; margin-top: 14px; }
pre.src-asm:before { content: 'Assembler'; }
pre.src-bash:before { content: 'bash'; }
pre.src-C:before { content: 'C'; }
pre.src-clojure:before { content: 'Clojure'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-haskell:before { content: 'Haskell'; }
pre.src-html:before { content: 'HTML'; }
pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; }
pre.src-lisp:before { content: 'Lisp'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-org:before { content: 'Org mode'; }
pre.src-python:before { content: 'Python'; }
pre.src-ruby:before { content: 'Ruby'; }
pre.src-scala:before { content: 'Scala'; }
pre.src-sh:before { content: 'shell'; }
pre.src-shell:before { content: 'Shell Script'; }
pre.src-sql:before { content: 'SQL'; }
