website: fix sytanx highlighting

This commit is contained in:
Jack Pearkes 2014-07-28 20:30:12 -04:00
parent 8ae47b5133
commit 39a7222045
2 changed files with 22 additions and 6 deletions

View File

@ -349,12 +349,22 @@
font-weight: 500;
-webkit-font-smoothing: subpixel-antialiased;
.txt-r {
color: lighten(@red, 17%);;
.txt-spe {
color: lighten(@blue, 5%);
}
.txt-p {
.txt-var {
color: lighten(@purple, 8%);
}
.txt-str {
color: lighten(@green, 2%);
}
.txt-int {
color: lighten(@orange, 2%);
}
p{
margin-bottom: 2px;
white-space: pre-wrap;

View File

@ -1333,12 +1333,18 @@ body.page-home #footer {
font-weight: 500;
-webkit-font-smoothing: subpixel-antialiased;
}
#demos .terminals .terminal-item .terminal .terminal-window .txt-r {
color: #eb979d;
#demos .terminals .terminal-item .terminal .terminal-window .txt-spe {
color: #7190ea;
}
#demos .terminals .terminal-item .terminal .terminal-window .txt-p {
#demos .terminals .terminal-item .terminal .terminal-window .txt-var {
color: #9a56f9;
}
#demos .terminals .terminal-item .terminal .terminal-window .txt-str {
color: #64e86c;
}
#demos .terminals .terminal-item .terminal .terminal-window .txt-int {
color: #e89264;
}
#demos .terminals .terminal-item .terminal .terminal-window p {
margin-bottom: 2px;
white-space: pre-wrap;