Added code highlighting and copy button
Update .gitignore, composer.php, and 15 more files...
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
transition-timing-function: cubic-bezier(.47,1.64,.41,.8);
|
||||
|
||||
user-select: none;
|
||||
cursor: pointer;
|
||||
|
||||
&.primary {
|
||||
color: var(--dm-button-primary-text-color);
|
||||
@@ -92,4 +93,19 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.fold-top-right {
|
||||
top: 0;
|
||||
clip-path: polygon(0 0, 100% 0, 100% 100%);
|
||||
|
||||
i {
|
||||
top: 0.3em;
|
||||
right: 0.3rem;
|
||||
}
|
||||
|
||||
&:hover i {
|
||||
top: 0.4rem;
|
||||
right: 0.4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
3
resources/Azias/scss/highlightjs/fixes.scss
Normal file
3
resources/Azias/scss/highlightjs/fixes.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
.code-line {
|
||||
background: transparent !important;
|
||||
}
|
||||
@@ -25,3 +25,6 @@
|
||||
@import 'halfmoon/element/hr';
|
||||
@import 'halfmoon/element/image';
|
||||
@import 'halfmoon/element/video';
|
||||
|
||||
/* Highlight.JS */
|
||||
@import 'highlightjs/fixes';
|
||||
Reference in New Issue
Block a user