Added scripts for content, Improved tables and buttons

Update scripts.php, sidebar.php, and 20 more files...
This commit is contained in:
2023-05-24 07:04:00 +02:00
parent 3cadb29be5
commit d5ea7e369b
22 changed files with 302 additions and 130 deletions

View File

@@ -11,7 +11,9 @@ code {
// For spans
.code, kbd {
border: 1px solid #{$color-unset};
background-color: #{$color-background-code};
border: 1px solid #{$color-border-code};
// Using '.r-s'
border-radius: calc(#{$border-base-radius} * 0.75);
@@ -20,3 +22,17 @@ code {
padding-left: calc(#{$border-base-radius} * 0.625);
padding-right: calc(#{$border-base-radius} * 0.625);
}
// Removes the background added by highlight.js
.code-line {
background: rgba(0,0,0,0) !important;
}
code, .code, .code-line {
line-height: 1.35;
}
// FIXME: Use a proper class !!!
.code:not(code) {
padding: calc(#{$border-base-radius} * 0.625);
}