mirror of
https://gitea.tendokyu.moe/eamuse/docs.git
synced 2024-11-24 06:50:11 +01:00
157 lines
2.1 KiB
CSS
157 lines
2.1 KiB
CSS
body {
|
|
font-family: sans-serif;
|
|
line-height: 1.35;
|
|
max-width: 1000px;
|
|
margin: 16px auto;
|
|
color: #222;
|
|
padding: 0 16px;
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
letter-spacing: .02em;
|
|
max-width: 100%;
|
|
overflow-x: auto;
|
|
display: block;
|
|
}
|
|
|
|
table.code {
|
|
font-family: monospace;
|
|
}
|
|
|
|
thead {
|
|
font-weight: bold;
|
|
border-bottom: 2px solid #000;
|
|
}
|
|
|
|
td {
|
|
border: 1px solid #111;
|
|
padding: 2px;
|
|
min-width: 32px;
|
|
}
|
|
|
|
table:not(.code) td {
|
|
padding: 2px 6px;
|
|
}
|
|
|
|
table.code td {
|
|
text-align: center;
|
|
}
|
|
|
|
td a {
|
|
display: block;
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
p {
|
|
word-break: break-word;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
code {
|
|
vertical-align: middle;
|
|
letter-spacing: .02em;
|
|
padding: 2px 4px;
|
|
font-size: 90%;
|
|
color: #c7254e;
|
|
background-color: #f9f2f4;
|
|
border-radius: 4px;
|
|
word-break: break-word;
|
|
}
|
|
|
|
dfn {
|
|
border-bottom: 1px dashed currentColor;
|
|
cursor: help;
|
|
}
|
|
|
|
td>code {
|
|
word-break: normal;
|
|
}
|
|
|
|
code>a {
|
|
color: inherit;
|
|
}
|
|
|
|
pre>code, .highlight {
|
|
display: block;
|
|
word-break: normal;
|
|
border-radius: 4px;
|
|
background: #f8f8f8;
|
|
border: 1px solid #ccc;
|
|
padding: 4px;
|
|
color: #333;
|
|
padding: 9.5px;
|
|
line-height: 1.4;
|
|
width: min-content;
|
|
}
|
|
|
|
pre>.highlight {
|
|
margin-bottom: -16px;
|
|
}
|
|
|
|
.highlight>pre {
|
|
margin: 0;
|
|
}
|
|
|
|
pre {
|
|
max-width: 100%;
|
|
overflow-x: auto;
|
|
display: block;
|
|
}
|
|
|
|
summary {
|
|
user-select: none;
|
|
cursor: pointer;
|
|
color: #c7254e;
|
|
}
|
|
|
|
details {
|
|
background: #f9f2f4;
|
|
border: 1px solid #c7b3b8;
|
|
border-radius: 2px;
|
|
padding: 4px 8px;
|
|
margin: 4px 0;
|
|
overflow-x: auto;
|
|
max-width: 100%;
|
|
}
|
|
details code {
|
|
background: #fff;
|
|
}
|
|
|
|
table.nav {
|
|
padding-right: 1px;
|
|
padding-bottom: 1px;
|
|
}
|
|
|
|
table.nav td {
|
|
display: inline-block;
|
|
margin-right: -1px;
|
|
margin-bottom: -1px;
|
|
}
|
|
|
|
.haspara {
|
|
position: relative;
|
|
}
|
|
|
|
.haspara:hover .pilcrow {
|
|
opacity: 1;
|
|
}
|
|
|
|
.pilcrow {
|
|
position: absolute;
|
|
right: calc(100%);
|
|
padding-right: 4px;
|
|
top: .1em;
|
|
font-size: .9em;
|
|
text-decoration: none;
|
|
opacity: 0;
|
|
color: #e68aa2;
|
|
}
|
|
|
|
.pilcrow:hover {
|
|
opacity: 1;
|
|
color: #c7254e;
|
|
} |