From a24d0dd6ae5c18334effae71ac49258e623e5a14 Mon Sep 17 00:00:00 2001 From: Etienne Kneuss <ekneuss@gmail.com> Date: Wed, 29 Apr 2015 02:47:10 +0200 Subject: [PATCH] improve tables --- doc/themes/leon/static/css/leon.css_t | 32 +++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/doc/themes/leon/static/css/leon.css_t b/doc/themes/leon/static/css/leon.css_t index 04398559c..0d2d025ab 100644 --- a/doc/themes/leon/static/css/leon.css_t +++ b/doc/themes/leon/static/css/leon.css_t @@ -502,3 +502,35 @@ and (max-device-width : 768px) { float: none !important; } } + +table { + width: 100%; + max-width: 100%; + margin-bottom: 20px; + background-color: transparent; + border-spacing: 0; + border-collapse: collapse; + border: 0px; +} + +table>tbody>tr>td, table>tbody>tr>th, table>tfoot>tr>td, table>tfoot>tr>th, table>thead>tr>td, table>thead>tr>th { + padding: 8px; + line-height: 1.42857143; + vertical-align: top; + border-top: 1px solid #ddd; + border-left: 0px; + border-right: 0px; + border-bottom: 0px; +} + +table>thead>tr:first-child>th { + border-top: 0; + border-bottom: 2px solid #ddd; +} + +table>tbody>tr:nth-of-type(odd) { + background-color: #f9f9f9; +} +table>tbody>tr:hover { + background-color: #f5f5f5; +} -- GitLab