summaryrefslogtreecommitdiff
path: root/p-code-box.css
blob: 397e5e72a92a26763fefe9f1ceba2f9c7d402b9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* file      : p-code-box.css
 * license   : MIT; see accompanying LICENSE file
 */

/* This is the pre-like paragraph produced by CLI for code-only fragments. */

/* Note: see also pre-box.css. */

.code
{
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 0.2em;
  padding: .8em .4em .8em .4em;
  margin: 2em -.4em 2em -.4em; /* Use margins of #content. */
}

/* Undo code-box.css inside .code. */
.code code
{
  background-color: transparent;
  border-radius: 0;
  padding: 0;
}