improve styling as suggested by @jgkamat
This commit is contained in:
parent
1e8694f3cc
commit
48b6c160f5
@ -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
|
||||
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user