Improve styles of the code snippets

This commit is contained in:
Pavel Makhov 2018-10-21 22:31:15 -04:00
parent 5913677ea2
commit 189b43f25b
2 changed files with 15 additions and 3 deletions

View File

@ -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" }
),
```

View File

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