12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- body {
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
- line-height: 1.4;
- margin: 1rem auto;
- max-width: 900px;
- }
- table {
- border-collapse: collapse;
- }
- /* Apply a default padding if legacy cellpadding attribute is missing */
- table:not([cellpadding]) th,
- table:not([cellpadding]) td {
- padding: 0.4rem;
- }
- /* Set default table styles if a table has a positive border attribute
- and no inline css */
- table[border]:not([border="0"]):not([style*="border-width"]) th,
- table[border]:not([border="0"]):not([style*="border-width"]) td {
- border-width: 1px;
- }
- /* Set default table styles if a table has a positive border attribute
- and no inline css */
- table[border]:not([border="0"]):not([style*="border-style"]) th,
- table[border]:not([border="0"]):not([style*="border-style"]) td {
- border-style: solid;
- }
- /* Set default table styles if a table has a positive border attribute
- and no inline css */
- table[border]:not([border="0"]):not([style*="border-color"]) th,
- table[border]:not([border="0"]):not([style*="border-color"]) td {
- border-color: #ccc;
- }
- figure {
- display: table;
- margin: 1rem auto;
- }
- hr {
- border-color: #ccc;
- border-style: solid;
- border-width: 1px 0 0 0;
- }
- code {
- background-color: #e8e8e8;
- border-radius: 3px;
- padding: 0.1rem 0.2rem;
- }
|