Skip to content

Commit

Permalink
design: style of language name in a code block
Browse files Browse the repository at this point in the history
  • Loading branch information
EATSTEAK committed Jun 27, 2024
1 parent 7c21737 commit a7d8b2f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/styles/prose.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@
.content pre[data-language]::before {
content: attr(data-language);
display: block;
width: 100%;
text-align: right;
font-size: 0.75em;
text-align: left;
font-size: 1em;
position: sticky;
margin-top: -2em;
top: -2em;
padding-right: 1em;
@apply text-gray-400;
left: 0;
margin-top: -2em;
padding-left: 1em;
@apply text-gray-400 font-head;
}

.content pre {
Expand Down

0 comments on commit a7d8b2f

Please sign in to comment.