From ea8a7550014be7e15f17b0bcaa6baabdcf8ad475 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Thu, 8 Aug 2019 04:00:08 +0200 Subject: [PATCH] [IMP] odoo style: better support HTML footnotes --- _extensions/odoo/static/style.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/_extensions/odoo/static/style.css b/_extensions/odoo/static/style.css index d521ff306..e6fcdf9c9 100644 --- a/_extensions/odoo/static/style.css +++ b/_extensions/odoo/static/style.css @@ -182,6 +182,30 @@ td, th { padding: 0; } + +/* footnotes */ +.footnote-ref { + vertical-align: baseline; + position: relative; + top: -0.4em; + line-height: 0; + font-size: 90%; +} +.footnote { + margin: 15px 0; + width: 100%; + border: 1px solid #eee; + background: #fdfdfd; + font-size: 0.9em; +} +.footnote + .footnote { + margin-top: -15px; + border-top: none; +} +.footnote + :not(.footnote) { + margin-top: 1em; +} + /*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ @media print { *,