mirror of
https://github.com/susam/spcss.git
synced 2025-08-19 12:11:45 +02:00
Use green and amber to color code and output
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
0.9.0 (UNRELEASED)
|
||||
------------------
|
||||
|
||||
### Changed
|
||||
|
||||
- Change code and output colors from blue and green, respectively, to
|
||||
green and amber, respectively.
|
||||
|
||||
|
||||
0.8.0 (2021-09-11)
|
||||
------------------
|
||||
|
||||
|
10
index.html
10
index.html
@@ -40,11 +40,11 @@ int main()
|
||||
hello, world</samp>
|
||||
</pre>
|
||||
<p>
|
||||
The command displayed in green above denotes keyboard input entered by
|
||||
a user. SPCSS shows any <code><kbd></code> element nested within
|
||||
a <code><pre></code> in green in order to highlight keyboard
|
||||
input. For example, the above code example was created with the
|
||||
following HTML code:
|
||||
SPCSS shows any text in <code><samp></code> element in amber
|
||||
and any text in <code><kbd></code> element in green. This can
|
||||
be used to differentiate between the output of a computer program
|
||||
and the input a user types. For example, the above code example was
|
||||
created with the following HTML code:
|
||||
</p>
|
||||
<pre>
|
||||
<code><pre>
|
||||
|
19
sp.css
19
sp.css
@@ -45,11 +45,13 @@ figcaption {
|
||||
font-size: small;
|
||||
}
|
||||
pre, code, samp, kbd {
|
||||
color: #009;
|
||||
font-family: monospace, monospace;
|
||||
}
|
||||
pre kbd {
|
||||
color: #060;
|
||||
pre, code, kbd {
|
||||
color: #050;
|
||||
}
|
||||
samp {
|
||||
color: #730;
|
||||
}
|
||||
pre, blockquote {
|
||||
background: #eee;
|
||||
@@ -91,13 +93,14 @@ th, td {
|
||||
color: #9cf;
|
||||
}
|
||||
a:active {
|
||||
color: #faa;
|
||||
color: #f99;
|
||||
}
|
||||
pre, code, samp, kbd {
|
||||
color: #6cf;
|
||||
}
|
||||
pre kbd {
|
||||
pre, code, kbd {
|
||||
color: #9c6;
|
||||
font-family: monospace, monospace;
|
||||
}
|
||||
samp {
|
||||
color: #db0;
|
||||
}
|
||||
pre, blockquote {
|
||||
background: #000;
|
||||
|
Reference in New Issue
Block a user