jae-blog/static/post.css

57 lines
721 B
CSS
Raw Normal View History

2024-04-18 04:05:38 +03:00
.anchor {
text-decoration: none;
2024-04-19 16:46:26 +03:00
font-size: x-large;
vertical-align: middle;
2024-04-18 04:05:38 +03:00
}
.anchor::before {
content: "§";
}
.anchor::after {
content: " ";
}
code {
2024-04-19 16:46:26 +03:00
padding: 0.15em 0.3em;
overflow-wrap: break-word;
word-break: break-all;
white-space: pre-wrap;
2024-04-18 04:05:38 +03:00
background-color: var(--surface0);
color: var(--subtext1);
}
/* code blocks */
pre > code {
border: 2px solid var(--surface0);
padding: 1.25em 1.5em;
display: block;
background-color: var(--base);
color: var(--text);
}
2024-04-18 05:06:49 +03:00
img {
max-width: 100%;
}
2024-04-19 16:46:26 +03:00
table,
td,
th {
border: 1px solid var(--text);
border-collapse: collapse;
padding: 0.5em;
}
th {
font-weight: bold;
}
td {
word-break: break-word;
}
th,
td:nth-child(1) {
word-break: keep-all;
}