mirror of
https://github.com/Xevion/undefined.behavio.rs.git
synced 2025-12-15 06:13:44 -06:00
Tune title padding, add title with sudo micro cmd
This commit is contained in:
@@ -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:
|
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]
|
[General]
|
||||||
Name=Maestro
|
Name=Maestro
|
||||||
Class=0x240418
|
Class=0x240418
|
||||||
|
|||||||
@@ -40,16 +40,22 @@ a > code {
|
|||||||
|
|
||||||
div[data-rehype-pretty-code-fragment] {
|
div[data-rehype-pretty-code-fragment] {
|
||||||
div[data-rehype-pretty-code-title] {
|
div[data-rehype-pretty-code-title] {
|
||||||
|
@apply bg-zinc-400/10 drop-shadow-md;
|
||||||
|
padding-top: 0.25em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Horizontal padding is applied on a line level to ensure highlighting is not affected.
|
|
||||||
padding: 1em 0;
|
|
||||||
background-color: #161616 !important;
|
background-color: #161616 !important;
|
||||||
> pre {
|
> pre {
|
||||||
> code {
|
> code {
|
||||||
|
padding: 0.5em 0;
|
||||||
|
|
||||||
> span[data-line] {
|
> span[data-line] {
|
||||||
|
// Horizontal padding is applied on a line level to ensure highlighting is not affected.
|
||||||
padding: 0 1em;
|
padding: 0 1em;
|
||||||
|
|
||||||
|
// Line level highlighting
|
||||||
&[data-highlighted-line] {
|
&[data-highlighted-line] {
|
||||||
background: rgba(255, 255, 255, 0.1);
|
background: rgba(255, 255, 255, 0.1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user