From 13be01f68bb572f9bd993834a2a5a02697573724 Mon Sep 17 00:00:00 2001 From: virmaior <70625876+virmaior@users.noreply.github.com> Date: Mon, 18 Jul 2022 01:18:01 +0900 Subject: [PATCH] add feed support --- SD_ROOT/wz_mini/www/cgi-bin/wz_mini_web.css | 29 ++++++++++++++++----- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/SD_ROOT/wz_mini/www/cgi-bin/wz_mini_web.css b/SD_ROOT/wz_mini/www/cgi-bin/wz_mini_web.css index 046cff7..102868c 100644 --- a/SD_ROOT/wz_mini/www/cgi-bin/wz_mini_web.css +++ b/SD_ROOT/wz_mini/www/cgi-bin/wz_mini_web.css @@ -1,6 +1,17 @@ -.ii_info { +BODY { + --feed_ratio: 2.5; +} +H1 { + background-color:blue; + color:white; + height:calc(108px * (var(--feed_ratio) - 1)); + margin-top:0; + padding:5px; + margin-bottom:108px; + width:calc(100% - (192px * var(--feed_ratio))); +} +.ii_info_line { font-weight:bold; - background-color:#ccc; } .ii { width:100%; @@ -9,7 +20,7 @@ } .ii_key_DIV { - flex:0 0 30vw; + flex:0 0 40vw; font-weight:bold; } .ii_value_DIV { @@ -19,8 +30,12 @@ .ii_value { width:75%; } -.ii_explain { - width:29vw; - overflow:scroll; - max-height:140px; +.feed { + position:absolute; + top:10px; + right:0px; + width:calc(192px * var(--feed_ratio)); + height:calc(108px * var(--feed_ratio)); + z-index:10; } +