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