Add ping border to code blocks

This commit is contained in:
Aroy-Art 2024-02-11 19:18:10 +01:00
parent 52e5e734a9
commit 77d4252b75
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

@ -592,6 +592,7 @@ nav[aria-label="breadcrumb"] li:last-child a{
padding: 0; padding: 0;
margin: 0; margin: 0;
border-radius: 0 4px 4px 4px; border-radius: 0 4px 4px 4px;
border: 2px purple solid;
} }
.highlight > .chroma { .highlight > .chroma {
@ -630,13 +631,13 @@ pre.chroma {
.chroma [data-lang]:before { .chroma [data-lang]:before {
position:absolute; position:absolute;
z-index:0; z-index:0;
top: -24px; top: -26px;
left: 0; left: 0;
content:attr(data-lang); content:attr(data-lang);
font-size:1em; font-size:1em;
font-weight:700; font-weight:700;
color: #00fff9; color: #00fff9;
background-color: #212121; background-color: #575757;
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
border:none; border:none;
padding:5px 10px 7px; padding:5px 10px 7px;