syntax-highlighting
Version:
Syntax Highlighting Colorschemes for many applications
109 lines (95 loc) • 5.32 kB
CSS
/* Solarized colorscheme
* Author: Ethan Schoonover <es@ethanschoonover.com>
* URL: http://ethanschoonover.com/solarized
* (see this url for latest release & screenshots)
* License: OSI approved MIT license (see end of this file)
*/
code[class*="language-"], pre[class*="language-"] {
-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;
font-family: Menlo, Monaco, "Courier New", monospace;
font-size: 15px;
line-height: 1.5;
/* color: #dc322f; */
color: #2aa198;
text-shadow: 0;
background: #fdf6e3; }
pre[class*="language-"], :not(pre) > code[class*="language-"] {
border-radius: 5px;
border: 1px solid #e1e1e8;
box-shadow: 1px 1px 0.3em -0.1em rgba(0,0,0,.5) inset; }
pre[class*="language-"] {
padding: 12px; }
:not(pre) > code[class*="language-"] {
padding: 2px 6px; }
code[class*="language-"] .namespace, pre[class*="language-"] .namespace {
opacity: .7; }
code[class*="language-"] .token.comment, code[class*="language-"] .token.prolog, code[class*="language-"] .token.doctype, code[class*="language-"] .token.cdata, pre[class*="language-"] .token.comment, pre[class*="language-"] .token.prolog, pre[class*="language-"] .token.doctype, pre[class*="language-"] .token.cdata {
color: #586e75; }
code[class*="language-"] .token.null, code[class*="language-"] .token.operator, code[class*="language-"] .token.boolean, pre[class*="language-"] .token.null, pre[class*="language-"] .token.operator, pre[class*="language-"] .token.boolean {
color: #b58900; }
code[class*="language-"] .token.number,
code[class*="language-"] .token.string, pre[class*="language-"] .token.string, pre[class*="language-"] .token.number {
color: #2aa198;
}
code[class*="language-"] .token.attr-name,
pre[class*="language-"] .token.attr-name {
color: #93a1a1;
}
code[class*="language-"] .token.entity, code[class*="language-"] .token.url, .language-css code[class*="language-"] .token.string, .style code[class*="language-"] .token.string, pre[class*="language-"] .token.entity, pre[class*="language-"] .token.url, .language-css pre[class*="language-"] .token.string, .style pre[class*="language-"] .token.string {
color: #b58900; }
code[class*="language-"] .token.selector, pre[class*="language-"] .token.selector {
color: #859900; }
code[class*="language-"] .token.atrule, code[class*="language-"] code[class*="language-"] .token.keyword, code[class*="language-"] .token.control, code[class*="language-"] .token.directive, code[class*="language-"] .token.important, code[class*="language-"] .token.unit, pre[class*="language-"] .token.atrule, pre[class*="language-"] .token.keyword, pre[class*="language-"] .token.control, pre[class*="language-"] .token.directive, pre[class*="language-"] .token.important, pre[class*="language-"] .token.unit {
color: #2aa198;
}
.token.attr-value,
pre[class*="language-"] .token.attr-value {
color: #2aa198;
}
code[class*="language-"] .token.regex, code[class*="language-"] .token.statement, pre[class*="language-"] .token.regex, pre[class*="language-"] .token.statement {
color: ; }
code[class*="language-"] .token.placeholder, code[class*="language-"] .token.variable, pre[class*="language-"] .token.placeholder, pre[class*="language-"] .token.variable {
color: #268bd2; }
.token.property, .token.tag, .token.boolean, .token.number, code[class*="language-"] .token.property, pre[class*="language-"] .token.property {
color: #657b83;
}
code[class*="language-"] .token.tag, pre[class*="language-"] .token.tag {
color: #268bd2; }
code[class*="language-"] .token.important, code[class*="language-"] .token.statement, pre[class*="language-"] .token.important, pre[class*="language-"] .token.statement {
/* font-weight: bold; */
color: #dc322f;
}
code[class*="language-"] .token.punctuation, pre[class*="language-"] .token.punctuation {
color: #657b83; }
code[class*="language-"] .token.entity, pre[class*="language-"] .token.entity {
cursor: help; }
code[class*="language-"] .token.debug, pre[class*="language-"] .token.debug {
color: red; }
/* License
* Copyright (c) 2011 Ethan Schoonover
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/