/** * Nord theme styling for source code in docs */ .docblock-source { border: 6px solid #333 !important; overflow: hidden; border-radius: 6px !important; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23) !important; padding: 0 !important; button { background-color: #0071a1; color: white; border-top-left-radius: 0; &:focus { box-shadow: #4ee8c4 0 -3px 0 0 inset; } } } div pre.prismjs { background-color: #2e3440 !important; color: #f8f8f2; code[class*='language-'], pre[class*='language-'] { color: #f8f8f2; background: none; font-family: 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } /* Code blocks */ pre[class*='language-'] { padding: 1em; margin: 0.5em 0; overflow: auto; border-radius: 0.3em; } :not(pre) > code[class*='language-'], pre[class*='language-'] { background: #2e3440; } /* Inline code */ :not(pre) > code[class*='language-'] { padding: 0.1em; border-radius: 0.3em; white-space: normal; } .token.comment, .token.prolog, .token.doctype, .token.cdata { color: #9199aa; } .token.punctuation { color: #81a1c1; } .namespace { opacity: 0.7; } .token.property, .token.tag, .token.constant, .token.symbol, .token.deleted { color: #81a1c1; } .token.number { color: #b48ead; } .token.boolean { color: #81a1c1; } .token.selector, .token.attr-name, .token.string, .token.char, .token.builtin, .token.inserted { color: #a3be8c; } .token.operator, .token.entity, .token.url, .language-css .token.string, .style .token.string, .token.variable { color: #81a1c1; } .token.atrule, .token.attr-value, .token.function, .token.class-name { color: #88c0d0; } .token.keyword { color: #81a1c1; } .token.regex, .token.important { color: #ebcb8b; } .token.important, .token.bold { font-weight: bold; } .token.italic { font-style: italic; } .token.entity { cursor: help; } }