document using CSS to alter padding

Closes #220
This commit is contained in:
Daniel Micay 2015-05-04 13:25:58 -04:00
parent 5a17c7e02d
commit 7b4957616d
1 changed files with 17 additions and 1 deletions

View File

@ -76,7 +76,7 @@ INSERT MODE
fi fi
SELECTION MODE SELECTION MODE
------------ --------------
+--------------------------+-----------------------------------------------------------+ +--------------------------+-----------------------------------------------------------+
| ``escape`` or ``ctrl-[`` | enter insert mode | | ``escape`` or ``ctrl-[`` | enter insert mode |
@ -148,3 +148,19 @@ completions, escape closes the widget and enter accepts the input.
In hints mode, the input will be accepted as soon as termite considers it a In hints mode, the input will be accepted as soon as termite considers it a
unique match. unique match.
PADDING
=======
Internal padding can be added by using CSS to style the VTE widget. Adding the
follow snippet to ``$XDG_CONFIG_HOME/gtk-3.0/gtk.css`` (or
``~/.config/gtk-3.0/gtk.css``) will add uniform 2px padding around the edges:
.. code:: css
VteTerminal {
padding: 2px;
}
This can also be used to add varying amounts of padding to each side via
standard usage of the CSS padding property.