Add code block header

This commit is contained in:
Cotes Chung
2021-09-11 00:30:21 +08:00
parent 39b09b97c0
commit 7dc7a7efc8
5 changed files with 55 additions and 48 deletions
-10
View File
@@ -299,16 +299,6 @@
margin-top: 1rem;
}
}
.post-content > div[class^='language-'] {
@include ml-mr(-1.25rem);
border-radius: 0;
&::before { // the lang badge
right: 1rem;
}
}
}
@media all and (max-width: 768px) {