diff options
-rw-r--r-- | _plugins/gleps.rb | 3 | ||||
-rw-r--r-- | assets/css/glep.css | 9 |
2 files changed, 11 insertions, 1 deletions
diff --git a/_plugins/gleps.rb b/_plugins/gleps.rb index 85b1f82..b9e7f53 100644 --- a/_plugins/gleps.rb +++ b/_plugins/gleps.rb @@ -29,7 +29,8 @@ module Gentoo def __target_object__ @__target_object__ ||= ::RbST.new(".. contents::\n..\n\n" + @rst).to_html( - 'initial-header-level' => 2) + 'initial-header-level' => 2, + 'table-style' => '"table table-bordered"') end def method_missing(method_name, *args, &block) diff --git a/assets/css/glep.css b/assets/css/glep.css index 84b3238..ea4ede6 100644 --- a/assets/css/glep.css +++ b/assets/css/glep.css @@ -80,6 +80,15 @@ THE SOFTWARE. border-color: #ebccd1; } +.table { + width: auto; +} + +table.table > tbody > tr > td, +table.table > tbody > tr > th { + vertical-align: middle; +} + /* the following bits are copied from: |