Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions static/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,20 @@ a.bj-card:hover, .bj-card.is-link:hover { transform: translateY(-3px); box-shado
@media (max-width: 640px) {
.bj-report table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* --- Code blocks -------------------------------------------------------------
main.css gives .prose pre a white background but leaves Tailwind Typography's
text colour at #e5e7eb, which that stylesheet picked for its own dark panel.
Near-white on white is unreadable, so set both sides of the pair here. */
.prose pre:not(.mermaid) {
background: #f4f7f5;
color: var(--bj-ink);
border: 1px solid #dde5e0;
border-left: 3px solid var(--bj-green);
box-shadow: none;
overflow-x: auto;
line-height: 1.55;
-moz-tab-size: 4;
tab-size: 4;
}
.prose pre:not(.mermaid) code { color: inherit; font-weight: 400; }