This repository was archived by the owner on Mar 2, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +130
-407
lines changed
Expand file tree Collapse file tree 6 files changed +130
-407
lines changed Original file line number Diff line number Diff line change 99/docs /insect.1
1010insect.js
1111/web /* .js
12+ /web /terminal.css
Original file line number Diff line number Diff line change @@ -20,3 +20,7 @@ fs.copySync(
2020 "node_modules/jquery.terminal/js/jquery.mousewheel-min.js" ,
2121 "web/jquery.mousewheel-min.js" ,
2222)
23+ fs . copySync (
24+ "node_modules/jquery.terminal/css/jquery.terminal.min.css" ,
25+ "web/terminal.css" ,
26+ )
Original file line number Diff line number Diff line change 3232 "dependencies" : {
3333 "decimal.js" : " ^7.1.1" ,
3434 "historic-readline" : " ^1.0.8" ,
35- "jquery.terminal" : " =1.6.3 " ,
35+ "jquery.terminal" : " ^2.12.0 " ,
3636 "keyboardevent-key-polyfill" : " =1.1.0" ,
3737 "line-reader" : " ^0.4.0" ,
3838 "xdg-basedir" : " ^2.0.0"
Original file line number Diff line number Diff line change @@ -36,6 +36,37 @@ p.desc {
3636}
3737
3838/* jQuery Terminal */
39+
40+ .terminal {
41+ --color : # F8F8F2 ;
42+ --background : # 272822 ;
43+ --size : 1.6 ;
44+ --link-color : # F8F8F2 ;
45+ font-family : 'Fira Mono' , monospace;
46+ }
47+
48+ .terminal , .terminal .terminal-fill {
49+ padding : 1.2em ;
50+ }
51+
52+ .terminal ,
53+ .terminal-output > : not (.raw ) span ,
54+ .terminal-output > : not (.raw ) a ,
55+ .terminal-output > : not (.raw ) div ,
56+ .cmd ,
57+ .cmd span ,
58+ .cmd div {
59+ font-family : 'Fira Mono' , monospace;
60+ }
61+
62+ .terminal-output > div {
63+ padding-bottom : 1em ;
64+ }
65+
66+ .terminal-output > div .terminal-command {
67+ padding-bottom : 0em ;
68+ }
69+
3970.prompt {
4071 font-weight : bold;
4172 /* workaround for https://github.com/sharkdp/insect/issues/78 */
@@ -45,27 +76,27 @@ p.desc {
4576/* syntax highlighting */
4677
4778.hl-emphasized {
48- font-weight : 700 ;
79+ font-weight : 700 !important ;
4980}
5081
5182.hl-error {
52- color : # F92672 ;
83+ color : # F92672 !important ;
5384}
5485
5586.hl-value {
56- color : # 66D9EF ;
87+ color : # 66D9EF !important ;
5788}
5889
5990.hl-identifier {
60- color : # FD971F ;
91+ color : # FD971F !important ;
6192}
6293
6394.hl-function {
64- font-style : italic;
95+ font-style : italic !important ;
6596}
6697
6798.hl-unit {
68- color : # A6E22E ;
99+ color : # A6E22E !important ;
69100}
70101
71102/* Github Badge */
You can’t perform that action at this time.
0 commit comments