This commit is contained in:
Benjamin Toby
2024-12-05 08:03:33 +01:00
parent 9686a22c96
commit 3ffd2d6777
821 changed files with 3251 additions and 91996 deletions
+31
View File
@@ -367,3 +367,34 @@ html.dark .box-shadow {
.row {
.flex;
}
pre[class*="language-"] {
// .flex;
overflow: hidden;
flex-wrap: wrap;
img {
opacity: 0.3;
object-fit: contain;
position: absolute;
top: 10px;
right: 10px;
&:hover {
opacity: 1;
}
}
code {
word-wrap: break-word;
overflow-wrap: break-word;
text-overflow: ellipsis;
text-wrap: wrap;
text-align: center;
}
@media (@media_xl) {
width: 100%;
justify-content: center;
}
}
+4
View File
@@ -354,6 +354,10 @@ html.dark .RTE-DOCS .code-block {
.copy-code {
display: none;
&.show {
display: flex;
}
}
.code-block {