docs/styles.css

83 lines
1.3 KiB
CSS
Raw Normal View History

2021-12-20 04:39:28 +01:00
body {
/* font-family: sans-serif; */
2021-12-20 05:03:59 +01:00
line-height: 1.25;
2021-12-21 02:19:43 +01:00
max-width: 1000px;
2021-12-20 05:03:59 +01:00
margin: 16px auto;
color: #222;
2021-12-21 02:19:43 +01:00
padding: 0 16px;
2021-12-20 04:39:28 +01:00
}
table {
border-collapse: collapse;
font-family: monospace;
letter-spacing: .02em;
2021-12-20 04:50:51 +01:00
max-width: 100%;
overflow-x: auto;
display: block;
2021-12-20 04:39:28 +01:00
}
thead {
font-weight: bold;
border-bottom: 2px solid #000;
}
td {
border: 1px solid #111;
padding: 2px;
text-align: center;
min-width: 32px;
}
td a {
display: block;
padding: 4px 8px;
}
2021-12-20 04:50:51 +01:00
p {
word-break: break-word;
}
2021-12-20 04:39:28 +01:00
code {
letter-spacing: .02em;
padding: 2px 4px;
font-size: 90%;
color: #c7254e;
background-color: #f9f2f4;
border-radius: 4px;
2021-12-20 04:50:51 +01:00
word-break: break-word;
2021-12-20 04:39:28 +01:00
}
2021-12-21 02:19:43 +01:00
code > a {
color: inherit;
}
2021-12-20 04:39:28 +01:00
pre > code {
2021-12-21 02:19:43 +01:00
display: block;
2021-12-20 04:50:51 +01:00
word-break: normal;
2021-12-20 04:39:28 +01:00
border-radius: 4px;
background: #f8f8f8;
border: 1px solid #ccc;
padding: 4px;
color: #333;
padding: 9.5px;
line-height: 1.4;
2021-12-21 02:19:43 +01:00
width: min-content;
}
pre {
2021-12-20 04:50:51 +01:00
max-width: 100%;
overflow-x: auto;
display: block;
2021-12-20 04:39:28 +01:00
}
summary {
user-select: none;
cursor: pointer;
}
details {
background: lightblue;
border: 1px solid cornflowerblue;
padding: 4px;
margin: 4px 0;
2021-12-20 04:50:51 +01:00
overflow-x: auto;
max-width: 100%;
2021-12-20 04:39:28 +01:00
}