Skip to content

Commit f555e0d

Browse files
committed
change code highlight style
1 parent 8067920 commit f555e0d

File tree

1 file changed

+36
-49
lines changed

1 file changed

+36
-49
lines changed

docs/static/css/app.css

Lines changed: 36 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -916,74 +916,61 @@ footer img {
916916
**/
917917

918918
.hljs {
919-
display: block;
920-
overflow-x: auto;
921-
padding: 0.5em;
922-
background: #fdf6e3;
923-
color: #657b83;
919+
display: block;
920+
overflow-x: auto;
921+
background: #f5f7ff;
922+
color: #5e6687;
923+
padding: 0.5em;
924924
}
925925

926-
.hljs-comment,
927-
.hljs-quote {
928-
color: #93a1a1;
926+
.hljs-emphasis {
927+
font-style: italic;
929928
}
930929

931-
.hljs-keyword,
932-
.hljs-selector-tag,
933-
.hljs-addition {
934-
color: #859900;
930+
.hljs-strong {
931+
font-weight: bold;
935932
}
936933

937-
.hljs-number,
938-
.hljs-string,
939-
.hljs-meta .hljs-meta-string,
940-
.hljs-literal,
941-
.hljs-doctag,
942-
.hljs-regexp {
943-
color: #2aa198;
934+
.hljs-comment,
935+
.hljs-quote {
936+
color: #7f9a80;
944937
}
945938

946-
.hljs-title,
947-
.hljs-section,
939+
.hljs-variable,
940+
.hljs-template-variable,
941+
.hljs-attribute,
942+
.hljs-tag,
943+
.hljs-name,
944+
.hljs-regexp,
945+
.hljs-link,
948946
.hljs-name,
949947
.hljs-selector-id,
950948
.hljs-selector-class {
951-
color: #268bd2;
949+
color: #c94922;
952950
}
953951

954-
.hljs-attribute,
955-
.hljs-attr,
956-
.hljs-variable,
957-
.hljs-template-variable,
958-
.hljs-class .hljs-title,
959-
.hljs-type {
960-
color: #b58900;
961-
}
962-
963-
.hljs-symbol,
964-
.hljs-bullet,
965-
.hljs-subst,
952+
.hljs-number,
966953
.hljs-meta,
967-
.hljs-meta .hljs-keyword,
968-
.hljs-selector-attr,
969-
.hljs-selector-pseudo,
970-
.hljs-link {
971-
color: #cb4b16;
972-
}
973-
974954
.hljs-built_in,
975-
.hljs-deletion {
976-
color: #dc322f;
955+
.hljs-builtin-name,
956+
.hljs-literal,
957+
.hljs-type,
958+
.hljs-params {
959+
color: #c76b29;
977960
}
978961

979-
.hljs-formula {
980-
background: #eee8d5;
962+
.hljs-string,
963+
.hljs-symbol,
964+
.hljs-bullet {
965+
color: #ac9739;
981966
}
982967

983-
.hljs-emphasis {
984-
font-style: italic;
968+
.hljs-title,
969+
.hljs-section {
970+
color: #3d8fd1;
985971
}
986972

987-
.hljs-strong {
988-
font-weight: bold;
973+
.hljs-keyword,
974+
.hljs-selector-tag {
975+
color: #6679cc;
989976
}

0 commit comments

Comments
 (0)