From 42b45ca3d491fd3f53f960587aa063f7b170360c Mon Sep 17 00:00:00 2001 From: TranTheTrung Date: Thu, 27 May 2021 15:49:01 +0700 Subject: [PATCH] infobox --- skins/Timeless/resources/screen-common.less | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/skins/Timeless/resources/screen-common.less b/skins/Timeless/resources/screen-common.less index 436490b4..bda3027a 100644 --- a/skins/Timeless/resources/screen-common.less +++ b/skins/Timeless/resources/screen-common.less @@ -715,3 +715,23 @@ body :not( :checked)>.toctogglespan:after { background: @base90; box-shadow: 0 3px 6px rgba(0,0,0,0.1); } + +.infobox { + .box; + float: right; + clear: right; + font-size: 88%; + line-height: 1.5em; + width:22em; +} +.infobox caption { + font-size: 125%; + font-weight: bold; + padding: 0.2em; + text-align: center; +} +.infobox td, +.infobox th { + vertical-align: top; + text-align: left; +}