1
0
Fork 1
mirror of https://github.com/wezm/wezm.net.git synced 2025-04-03 02:10:42 +00:00

css: Make CSS, HTML, etc code block tags uppercase

This commit is contained in:
Wesley Moore 2025-02-17 11:44:52 +10:00
parent fde704e8cb
commit 612226c03c
No known key found for this signature in database

View file

@ -56,6 +56,15 @@ pre[data-lang]:after {
content: attr(data-lang);
text-transform: capitalize;
}
pre[data-lang="css"]:after,
pre[data-lang="html"]:after,
pre[data-lang="json"]:after,
pre[data-lang="toml"]:after,
pre[data-lang="xml"]:after,
pre[data-lang="yaml"]:after {
text-transform: uppercase;
}
h1,h2,h3,h4 {
font-family: $heading-family;
margin: $heading-margin;