forked from lda/telodendria
62 lines
1.1 KiB
CSS
62 lines
1.1 KiB
CSS
|
body {
|
||
|
margin: auto;
|
||
|
max-width: 8.5in;
|
||
|
padding: 0.25in;
|
||
|
}
|
||
|
.code {
|
||
|
background-color: #eee;
|
||
|
border-radius: 5px;
|
||
|
display: block;
|
||
|
padding: 0.5em 1em 1.5em 1em;
|
||
|
|
||
|
font-family: monospace;
|
||
|
white-space: pre;
|
||
|
overflow-x: scroll;
|
||
|
}
|
||
|
kbd {
|
||
|
background-color: #eee;
|
||
|
border-radius: 3px;
|
||
|
border: 1px solid #b4b4b4;
|
||
|
box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 0 0 rgba(255, 255, 255, .7) inset;
|
||
|
color: #333;
|
||
|
display: inline-block;
|
||
|
font-size: .85em;
|
||
|
font-weight: 700;
|
||
|
line-height: 1;
|
||
|
padding: 2px 4px;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
h1, h4, h5, h6 {
|
||
|
border-bottom: 1px dashed gray;
|
||
|
}
|
||
|
h4, h5, h6 {
|
||
|
width: fit-content;
|
||
|
}
|
||
|
a {
|
||
|
color: #0969da;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
a:hover {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
table {
|
||
|
width: 100%;
|
||
|
border-collapse: collapse;
|
||
|
}
|
||
|
td, th {
|
||
|
border: 1px solid #eee;
|
||
|
text-align: left;
|
||
|
padding: 8px;
|
||
|
}
|
||
|
tr:nth-child(even) {
|
||
|
background-color: #eee;
|
||
|
}
|
||
|
@media (prefers-color-scheme: dark) {
|
||
|
body {
|
||
|
background-color: #212121;
|
||
|
color: white;
|
||
|
}
|
||
|
.code, tr:nth-child(even) {
|
||
|
background-color: #333333;
|
||
|
}
|
||
|
}
|