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);
}

View File

@@ -21,3 +21,7 @@
// }
//}
//
button + button, .button-link + .button-link > button {
margin-left: 0.75rem;
}

View File

@@ -35,6 +35,12 @@ table.stylish {
}
}
&.table-v-center {
tr, td {
vertical-align: middle;
}
}
// Fixing border issues when using rounded corners by using a "fake" one using the background's color.
// It will look like utter shit when rounded on firefox because its rendering engine cannot clip rounded corners apparently.
// I guess that's what being at less than 3% of the market share does to you and your ability to care about basic shit.

View File

@@ -4,6 +4,10 @@ p, a, h1, h2, h3, td {
color: #{$color-text-regular-normal};
}
p {
line-height: 1.2;
}
// Setting colors for bland links.
// Done before muted text to make the footer privacy link possible.
a {
@@ -20,6 +24,10 @@ a:hover {
}
}
.t-half-muted {
opacity: 65%;
}
.t-muted {
//@if $undefined-toggle-css-variables {
// color: var(--color-white-muted);
@@ -36,6 +44,7 @@ a:hover {
.t-logo-text {
font-size: 1.775em;
line-height: 1;
}
a:not(.bland-link) {