improve styling as suggested by @jgkamat

This commit is contained in:
Marc Jauvin 2018-01-13 15:52:49 -05:00
parent 1e8694f3cc
commit 48b6c160f5
2 changed files with 3 additions and 8 deletions

View File

@ -432,7 +432,7 @@ def qute_bindings(url):
for mode in "normal hint command insert passthrough".split():
bindings[mode] = config.key_instance.get_bindings_for(mode)
html = jinja.render('bindings.html', title='bindings',
html = jinja.render('bindings.html', title='Bindings',
bindings=bindings)
return 'text/html', html

View File

@ -1,12 +1,7 @@
{% extends "base.html" %}
{% extends "styled.html" %}
{% block style %}
html { margin:20px; }
table { width:100%; border: 1px solid grey; border-collapse: collapse; margin:10px; }
tr,td,p { margin:0; padding: 1px; }
th, td { border: 1px solid grey; }
th { background: lightgrey; }
th pre { color: grey; text-align: left; }
th { text-align:left; }
.key { width: 25%; }
.command { width: 75% }
{% endblock %}