Tune title padding, add title with sudo micro cmd

This commit is contained in:
2024-02-01 03:18:19 -06:00
parent 33cbe005b8
commit 6366375ef2
2 changed files with 9 additions and 3 deletions

View File

@@ -129,7 +129,7 @@ $ sudo find /var/lib/bluetooth -name info
Once you've found the file, open it with `sudo` and your favorite text editor. You'll see a file that looks like this:
```ini /48F826B9E93EAF7B9494C951A5E47A33/#purple
```ini /48F826B9E93EAF7B9494C951A5E47A33/#purple title="sudo micro /var/lib/bluetooth/BC:C7:46:9B:D0:1E/AC:BF:71:66:FE:B2/info"
[General]
Name=Maestro
Class=0x240418

View File

@@ -40,16 +40,22 @@ a > code {
div[data-rehype-pretty-code-fragment] {
div[data-rehype-pretty-code-title] {
@apply bg-zinc-400/10 drop-shadow-md;
padding-top: 0.25em;
text-align: center;
}
// Horizontal padding is applied on a line level to ensure highlighting is not affected.
padding: 1em 0;
background-color: #161616 !important;
> pre {
> code {
padding: 0.5em 0;
> span[data-line] {
// Horizontal padding is applied on a line level to ensure highlighting is not affected.
padding: 0 1em;
// Line level highlighting
&[data-highlighted-line] {
background: rgba(255, 255, 255, 0.1);
}