/
Undeadguy
/
matrix-spec
Обзор
Документация
Войти
/
Undeadguy
/
matrix-spec
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
scripts/css/codehighlight.css
16 строк
935 B
Mark Haines
Enable syntax highlighting for example http requests
26 окт 2015, 20:25
26 окт 2015, 20:25
7187487
Код
Авторство
О чём код?
pre.code .comment, code .comment { color: green } pre.code .keyword, code .keyword { color: darkred; font-weight: bold } pre.code .name.builtin, code .name.builtin { color: darkred; font-weight: bold } pre.code .name.tag, code .name.tag { color: darkgreen } pre.code .literal, code .literal { color: darkblue } pre.code .literal.number, code .literal.number { color: blue } /* HTTP Methods have class "name function" */ pre.code.http .name.function, code.http .name.function { color: black; font-weight: bold } /* HTTP Paths have class "name namespace" */ pre.code.http .name.namespace, code.http .name.namespace { color: darkgreen } /* HTTP "HTTP" strings have class "keyword reserved" */ pre.code.http .keyword.reserved, code.http .keyword.reserved { color: black; font-weight: bold } /* HTTP Header names have class "name attribute" */ pre.code.http .name.attribute, code.http .name.attribute { color: black; font-weight: bold }