bingus-blog/static/post.css

76 lines
1 KiB
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;
2024-04-30 11:14:39 +03:00
background-color: unset;
color: unset;
2024-04-18 04:05:38 +03:00
}
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;
}
2024-08-17 18:44:59 +03:00
blockquote {
margin-left: 1em;
padding-left: 1.5em;
border-left: 0.5em solid;
border-color: var(--blue);
& > blockquote {
border-color: var(--mauve);
& > blockquote {
border-color: var(--pink);
& > blockquote {
border-color: var(--rosewater);
& > blockquote {
border-color: var(--text);
}
}
}
}
}