From 7b4957616d1c5eeb2e30e5dd76f6e86ed7ffd2e5 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 4 May 2015 13:25:58 -0400 Subject: [PATCH] document using CSS to alter padding Closes #220 --- README.rst | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 416190c..c98c64f 100644 --- a/README.rst +++ b/README.rst @@ -76,7 +76,7 @@ INSERT MODE fi SELECTION 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 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.