UNPKG

1.69 kBCSSView Raw
1body {
2 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
3 line-height: 1.4;
4 margin: 1rem;
5}
6table {
7 border-collapse: collapse;
8}
9/* Apply a default padding if legacy cellpadding attribute is missing */
10table:not([cellpadding]) th,
11table:not([cellpadding]) td {
12 padding: 0.4rem;
13}
14/* Set default table styles if a table has a positive border attribute
15 and no inline css */
16table[border]:not([border="0"]):not([style*="border-width"]) th,
17table[border]:not([border="0"]):not([style*="border-width"]) td {
18 border-width: 1px;
19}
20/* Set default table styles if a table has a positive border attribute
21 and no inline css */
22table[border]:not([border="0"]):not([style*="border-style"]) th,
23table[border]:not([border="0"]):not([style*="border-style"]) td {
24 border-style: solid;
25}
26/* Set default table styles if a table has a positive border attribute
27 and no inline css */
28table[border]:not([border="0"]):not([style*="border-color"]) th,
29table[border]:not([border="0"]):not([style*="border-color"]) td {
30 border-color: #ccc;
31}
32figure {
33 display: table;
34 margin: 1rem auto;
35}
36figure figcaption {
37 color: #999;
38 display: block;
39 margin-top: 0.25rem;
40 text-align: center;
41}
42hr {
43 border-color: #ccc;
44 border-style: solid;
45 border-width: 1px 0 0 0;
46}
47code {
48 background-color: #e8e8e8;
49 border-radius: 3px;
50 padding: 0.1rem 0.2rem;
51}
52.mce-content-body:not([dir=rtl]) blockquote {
53 border-left: 2px solid #ccc;
54 margin-left: 1.5rem;
55 padding-left: 1rem;
56}
57.mce-content-body[dir=rtl] blockquote {
58 border-right: 2px solid #ccc;
59 margin-right: 1.5rem;
60 padding-right: 1rem;
61}