UNPKG

mume-with-litvis

Version:

Fork of mume with added http://litvis.org/

174 lines (155 loc) 3.01 kB
@import url(http://fonts.googleapis.com/css?family=Fira+Mono); /* * Hopscotch * by Jan T. Sott * https://github.com/idleberg/Hopscotch * * This work is licensed under the Creative Commons CC0 1.0 Universal License */ code[class*="language-"], pre[class*="language-"] { color: #ffffff; font-family: "Fira Mono", Menlo, Monaco, "Lucida Console","Courier New", Courier, monospace; font-size: 16px; line-height: 1.375; direction: ltr; text-align: left; word-spacing: normal; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; white-space: pre; white-space: pre-wrap; word-break: break-all; word-wrap: break-word; background: #322931; color: #b9b5b8; } /* Code blocks */ pre[class*="language-"] { padding: 1em; margin: .5em 0; overflow: auto; } /* Inline code */ :not(pre) > code[class*="language-"] { padding: .1em; border-radius: .3em; } .token.comment, .token.prolog, .token.doctype, .token.cdata { color: #797379; } .token.punctuation { color: #b9b5b8; } .namespace { opacity: .7; } .token.null, .token.operator, .token.boolean, .token.number { color: #fd8b19; } .token.property { color: #fdcc59; } .token.tag { color: #1290bf; } .token.string { color: #149b93; } .token.selector { color: #c85e7c; } .token.attr-name { color: #fd8b19; } .token.entity, .token.url, .language-css .token.string, .style .token.string { color: #149b93; } .token.attr-value, .token.keyword, .token.control, .token.directive, .token.unit { color: #8fc13e; } .token.statement, .token.regex, .token.atrule { color: #149b93; } .token.placeholder, .token.variable { color: #1290bf; } .token.important { color: #dd464c; font-weight: bold; } .token.entity { cursor: help; } pre > code.highlight { outline: .4em solid red; outline-offset: .4em; } /* highlight */ pre[data-line] { position: relative; padding: 1em 0 1em 3em; } pre[data-line] .line-highlight-wrapper { position: absolute; top: 0; left: 0; background-color: transparent; display: block; width: 100%; } pre[data-line] .line-highlight { position: absolute; left: 0; right: 0; padding: inherit 0; margin-top: 1em; background: hsla(24, 20%, 50%,.08); background: linear-gradient(to right, hsla(24, 20%, 50%,.1) 70%, hsla(24, 20%, 50%,0)); pointer-events: none; line-height: inherit; white-space: pre; } pre[data-line] .line-highlight:before, pre[data-line] .line-highlight[data-end]:after { content: attr(data-start); position: absolute; top: .4em; left: .6em; min-width: 1em; padding: 0 .5em; background-color: hsla(24, 20%, 50%,.4); color: hsl(24, 20%, 95%); font: bold 65%/1.5 sans-serif; text-align: center; vertical-align: .3em; border-radius: 999px; text-shadow: none; box-shadow: 0 1px white; } pre[data-line] .line-highlight[data-end]:after { content: attr(data-end); top: auto; bottom: .4em; }