Improve styles of the code snippets
This commit is contained in:
parent
5913677ea2
commit
189b43f25b
|
@ -31,6 +31,11 @@ This widget allows quickly translate words or phrases without opening a browser
|
|||
1. Add a shortcut to run translate prompt:
|
||||
|
||||
```lua
|
||||
awful.key({ modkey }, "c", function() translate.show_translate_prompt() end, { description = "run translate prompt", group = "launcher" }),
|
||||
awful.key({ modkey }, "c",
|
||||
function()
|
||||
translate.show_translate_prompt()
|
||||
end,
|
||||
{ description = "run translate prompt", group = "launcher" }
|
||||
),
|
||||
```
|
||||
|
||||
|
|
|
@ -105,6 +105,15 @@ footer {
|
|||
ul > li {
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.highlighter-rouge {
|
||||
width: 80%;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.widget {
|
||||
|
@ -116,7 +125,6 @@ footer {
|
|||
height: 30px;
|
||||
margin-bottom: -3px;
|
||||
}
|
||||
|
||||
.materialcss-icon {
|
||||
height: 22px;
|
||||
padding: 0 4px;
|
||||
|
@ -124,7 +132,6 @@ footer {
|
|||
.fa-spotify {
|
||||
padding: 0 6px;
|
||||
}
|
||||
|
||||
.cprght {
|
||||
padding-top: 12px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue