Skip to content

Commit 55801a1

Browse files
committed
better console color scheme
1 parent e67b9b3 commit 55801a1

File tree

4 files changed

+56
-0
lines changed

4 files changed

+56
-0
lines changed

theme/epub/epub.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,17 @@ pre code.nx { color: #000088 } /* Name.Other */
7878
pre code.py { color: #9966FF } /* Name.Property */
7979
pre code.p { color: #000000 } /* Punctuation */
8080
pre code.x { color: #FF0066 } /* Other */
81+
82+
/* Chacon's additions to make command line look more like a command line */
83+
pre[data-code-language="console"] {
84+
background: #ddd;
85+
padding: 10px;
86+
}
87+
pre[data-code-language="console"] code.go {
88+
color: #555;
89+
font-size: 1.0em;
90+
}
91+
pre[data-code-language="console"] code.gp {
92+
color: #009900;
93+
font-weight: bold;
94+
}

theme/html/html.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,17 @@ pre code.nx { color: #000088 } /* Name.Other */
7878
pre code.py { color: #9966FF } /* Name.Property */
7979
pre code.p { color: #000000 } /* Punctuation */
8080
pre code.x { color: #FF0066 } /* Other */
81+
82+
/* Chacon's additions to make command line look more like a command line */
83+
pre[data-code-language="console"] {
84+
background: #ddd;
85+
padding: 10px;
86+
}
87+
pre[data-code-language="console"] code.go {
88+
color: #555;
89+
font-size: 1.0em;
90+
}
91+
pre[data-code-language="console"] code.gp {
92+
color: #009900;
93+
font-weight: bold;
94+
}

theme/mobi/mobi.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,17 @@ pre code.nx { color: #000088 } /* Name.Other */
7878
pre code.py { color: #9966FF } /* Name.Property */
7979
pre code.p { color: #000000 } /* Punctuation */
8080
pre code.x { color: #FF0066 } /* Other */
81+
82+
/* Chacon's additions to make command line look more like a command line */
83+
pre[data-code-language="console"] {
84+
background: #ddd;
85+
padding: 10px;
86+
}
87+
pre[data-code-language="console"] code.go {
88+
color: #555;
89+
font-size: 1.0em;
90+
}
91+
pre[data-code-language="console"] code.gp {
92+
color: #009900;
93+
font-weight: bold;
94+
}

theme/pdf/pdf.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,17 @@ pre code.nx { color: #000088 } /* Name.Other */
7878
pre code.py { color: #9966FF } /* Name.Property */
7979
pre code.p { color: #000000 } /* Punctuation */
8080
pre code.x { color: #FF0066 } /* Other */
81+
82+
/* Chacon's additions to make command line look more like a command line */
83+
pre[data-code-language="console"] {
84+
background: #ddd;
85+
padding: 10px;
86+
}
87+
pre[data-code-language="console"] code.go {
88+
color: #555;
89+
font-size: 1.0em;
90+
}
91+
pre[data-code-language="console"] code.gp {
92+
color: #009900;
93+
font-weight: bold;
94+
}

0 commit comments

Comments
 (0)