This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0
wcui/js/lib/prism/highlight.scss

49 lines
1.3 KiB
SCSS
Raw Normal View History

2017-09-04 01:02:25 +08:00
@charset "UTF-8";
/**
*
2017-09-04 01:02:25 +08:00
* @authors yutent (yutent@doui.cc)
* @date 2017-02-13 13:53:38
*
2017-09-04 01:02:25 +08:00
*/
/*代码块*/
.do-ui-blockcode {position: relative;border: 1px solid #ddd;margin: 15px 0;padding: 8px 0;line-height: 1.5;background: #fafafa;
/*语法高亮*/
.lang {position: relative;display: block;padding: 0 8px;color: #383a42;word-wrap: break-word;white-space: pre-wrap;font-family: Courier;
.c-comment{color: #8e908c;font-style:italic;}
.c-smartyx {color: #607d8b;}
.c-important {color: #f5871f;font-style:italic;}
.c-punctuation {color: #986756;}
.c-regex {color: #c82829;}
.c-boolean,
.c-number {color: #f5871f;}
.c-function {color:#009688;}
.c-class-name,
.c-build-in {color:#3aa9f3;}
.c-class-name,
.c-build-in {font-style:italic;font-weight:bold;}
.c-attr-name,
.c-property {color: #c79f0f;font-weight:bold;}
.c-property {font-style:italic;}
.c-string,
.c-attr-value {color: #5ab302;}
.c-tag,
.c-keyword,
.c-selector,
.c-operator {color: #d81406;}
2017-09-04 01:02:25 +08:00
.c-keyword {font-style:italic;}
}
}
/*行内代码*/
.do-ui-inlinecode {margin:0 2px;padding:0 5px;color:#d14;border:1px solid #ddd;border-radius:3px;}