pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 1em
}
/*
Code styling section from https://highlightjs.org/
Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>
adapted for djin purposes
*/
code.hljs {
  padding: 3px 5px
}

.hljs {
  background: white;
  color: black
}
.hljs-comment,
.hljs-quote,
.hljs-variable {
  color: #008000
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-built_in,
.hljs-name,
.hljs-tag {
  color: #0000a0
}
.hljs-template-tag,
.hljs-template-variable,
.hljs-addition {
  color: #00ffff
}
.hljs-type,
.hljs-literal
{
  color: #0000a0
}
.hljs-title,
.hljs-section,
.hljs-attribute
{
  color: #0000a0
}
.hljs-string
{
  color: #a31515
}
.hljs-deletion,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-meta {
  color: #2b91af
}
.hljs-doctag {
  color: #808080
}
.hljs-attr {
  color: #f00
}
.hljs-symbol,
.hljs-bullet,
.hljs-link {
  color: #000000;
}
.hljs-emphasis {
  font-style: italic
}
.hljs-strong {
  font-weight: bold
}

/* ############ djin settings ####  */
pre code[class^="language-"] {
  width: 100%;
  max-width: 1200px;
  max-height: 300px;
  overflow: auto;
  display: block;
  padding: 10px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  font-family: monospace;
  font-size: 0.8em;
  box-sizing: border-box;
  margin: 0 auto;
}

.code-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 1em auto;
}

.copy-button {
  position: absolute;
  top: 0px;
  right: 16px;
  padding: 2px 2px;
  font-size: 0.8em;
  background: #eee;
  border: 1px solid #aaa;
  cursor: pointer;
  z-index: 10;
}

.copy-button:hover {
  background: #ddd;
}

