diff --git a/weblog/B0. Template/styles.css.md b/weblog/B0. Template/styles.css.md index 813479b..3e7dc93 100644 --- a/weblog/B0. Template/styles.css.md +++ b/weblog/B0. Template/styles.css.md @@ -463,6 +463,16 @@ pre code { padding: 1em; white-space: pre-wrap; word-wrap: break-word; + position: relative; +} + +code[data-lang]::after { + content: attr(data-lang); + position: absolute; + top: -1.5rem; + right: 0; + font-size: 1rem; + text-align: right; } img {