From 6abfc7494d0566aba5318bcfc2b4784727982a42 Mon Sep 17 00:00:00 2001 From: Choom Date: Mon, 16 Jan 2023 14:28:35 -0300 Subject: Fix css mobile --- static/css/ib.css | 73 +++++++++++++++++++++++-------------------------------- 1 file changed, 31 insertions(+), 42 deletions(-) (limited to 'static/css/ib.css') diff --git a/static/css/ib.css b/static/css/ib.css index 25a5fc5..4202b67 100644 --- a/static/css/ib.css +++ b/static/css/ib.css @@ -92,6 +92,7 @@ textarea { .postblock { font-weight: bold; padding: 3px; + white-space: nowrap; } .oekform { margin-bottom: 0.5em; @@ -109,11 +110,11 @@ textarea { margin-left: 1em; } .thread { - line-height: 18px; + line-height: 19px; } .thread table { border-collapse: collapse; - margin: 4px 0; + margin-top: 4px; } .reply .info { line-height: 1; @@ -148,10 +149,7 @@ textarea { margin: 0; padding: 0 } -.thread.hidden > div, -.thread.hidden > table, -.thread.hidden > a, -.thread.hidden > blockquote, +body:not(.res) .thread.hidden > *, .reply.hidden input, .reply.hidden blockquote, .reply.hidden .thumb, @@ -160,33 +158,22 @@ textarea { #catalog .hidden { display: none; } -.res .thread.hidden > div, -.res .thread.hidden > blockquote, -#catalog .hidden a { - display: block; -} -.res .thread.hidden > a { - display: inline; -} -.res .thread.hidden > table { - display: table; -} .reply.hidden .info { opacity: 0.7; } .thread.hidden .unhide { display: inline !important; } -.pg { +#pg { border: 1px solid; border-spacing: 2px; display: table; } -.pg span { +#pg span { border: 1px inset; display: table-cell; } -.pg span input { +#pg span input { height: initial; padding: 0.4em 1.2em; } @@ -212,7 +199,7 @@ textarea { .nav { line-height: 1; } -.thumbpreview { +#thumbpreview { display: inline-block; max-height: 50px; height: auto; @@ -241,7 +228,6 @@ textarea { width: 165px; } #catalog.enlarged .thread { - margin: 0 .25em 1em; max-height: 350px; width: 265px; } @@ -266,9 +252,6 @@ textarea { #catalog p { margin: 0; } -#catalog.notxt p { - display: none; -} #catalog .hidden { display: none; } @@ -306,7 +289,7 @@ textarea { .nav label { text-decoration: underline; } -.userdel { +#userdel { float: right; text-align: center; white-space: nowrap; @@ -347,12 +330,8 @@ textarea { .postarea table { border-spacing: 1px; } - .postblock { - font-size: 10px; - white-space: nowrap; - } .pass, - .ell, + .thread td.ell, .thumbmsg, .fs small { display: none; @@ -362,29 +341,36 @@ textarea { #postform input[type="submit"], #postform textarea, #postform input[type="file"], + #filepreview, #rules { max-width: 100%; width: 100%; } - .thread { - line-height: 16px; + .thread table, + .thread tbody, + .thread tr, + .thread td { + display: block; + width: 100%; + } + .thread td { + overflow: hidden; } .postform input[type="submit"] { height: 2em; margin-top: 2px; } - .fs .tt { - font-size: 14px; - } + .postblock, #rules, .fs, .omitted, .info, .reply.deleted { font-size: 12px; + line-height: 14px; } - #search span { - display: list-item; + .hsbn { + font-size: 16px; } .reply .info { padding-right: 0; @@ -403,20 +389,23 @@ textarea { blockquote { margin: 8px !important; } - .userdel { + #userdel { float: none; } - .pg { + #pg { margin-top: 0.5em; text-align: center; width: 100%; } #oek_size, - .pg span, - .pg input { + #pg span, + #pg input { display: block; width: 100%; } + #pg span { + padding: 4px; + } #search input { width: initial !important; } -- cgit v1.2.1-18-gbd029