/**
 * Motyw podświetlania składni dla skryptyJAVA.pl
 * Bazuje na PrismJS „Tomorrow Night" (MIT), dostrojony do kolorystyki strony.
 */

code[class*="language-"],
pre[class*="language-"] {
    color: #ccd2e3;
    background: none;
    text-shadow: none;
    font-family: inherit;
    direction: ltr;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    line-height: inherit;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

/* Komentarze (także Javadoc) */
.token.comment,
.token.doc-comment,
.token.block-comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: #707a94;
    font-style: italic;
}

/* Interpunkcja i operatory */
.token.punctuation { color: #9aa3ba; }
.token.operator,
.token.entity,
.token.url { color: #6fc2d0; }

/* Słowa kluczowe (public, class, static…) */
.token.tag,
.token.keyword,
.token.atrule,
.token.rule,
.token.important {
    color: #c792ea;
}

/* Stałe (MAX_VALUE), zmienne, właściwości */
.token.variable,
.token.constant,
.token.property,
.token.symbol,
.token.deleted {
    color: #e2777a;
}

/* Nazwy klas, metod i generyki */
.token.function,
.token.class-name,
.token.function-name,
.token.attr-name,
.token.selector {
    color: #82aaff;
}
.token.generics { color: #9aa3ba; }
.token.generics .token.class-name { color: #82aaff; }

/* Adnotacje: @Override, @FunctionalInterface… */
.token.annotation { color: #e3c078; }

/* Teksty (String) i znaki (char) */
.token.string,
.token.triple-quoted-string,
.token.char,
.token.attr-value,
.token.regex,
.token.inserted {
    color: #b5d28c;
}

/* Liczby, wartości logiczne */
.token.number,
.token.boolean {
    color: #f0a76c;
}

.token.namespace { opacity: 0.8; }
.token.important,
.token.bold { font-weight: 600; }
.token.italic { font-style: italic; }
.token.entity { cursor: help; }

/* Zaznaczenie w bloku kodu */
pre[class*="language-"]::selection,
pre[class*="language-"] ::selection,
code[class*="language-"]::selection,
code[class*="language-"] ::selection {
    background: #454059;
    color: inherit;
    text-shadow: none;
}
