diff options
-rw-r--r-- | cgi/templates/txt_thread.html | 3 | ||||
-rw-r--r-- | static/css/txt/bbs.css | 8 |
2 files changed, 5 insertions, 6 deletions
diff --git a/cgi/templates/txt_thread.html b/cgi/templates/txt_thread.html index 6765630..5cfeb8a 100644 --- a/cgi/templates/txt_thread.html +++ b/cgi/templates/txt_thread.html @@ -21,7 +21,7 @@ <div class="warn yellow">El hilo ha recibido más de 900 mensajes. Cuando llegue a 1000 será cerrado.</div> <?py #endif ?> <div class="thread" data-length="#{thread['length']}"> - <h3>#{thread['subject']} <span>(${(str(thread['length'])+" respuestas") if thread['length']>1 else "Una respuesta"}, #{thread['size']})</span></h3> + <h3>#{thread['subject']} <span>(${(str(thread['length'])+" respuestas") if thread['length']>1 else "Una respuesta"})</span></h3> <?py for post in thread['posts']: ?> <?py if post['IS_DELETED'] == '1': ?> <h4 class="deleted">#{post['num']} : Mensaje eliminado por el usuario.</h4> @@ -55,6 +55,7 @@ </div> <?py #endif ?> <?py #endfor ?> + <div class="size">#{thread['size']}</div> </div> <hr /> <?py if thread['locked'] != '1': ?> diff --git a/static/css/txt/bbs.css b/static/css/txt/bbs.css index fbe23ed..fa7cc16 100644 --- a/static/css/txt/bbs.css +++ b/static/css/txt/bbs.css @@ -10,8 +10,6 @@ h3{font-size:19px;font-weight:normal;margin:8px 0} h4{clear:both;font-weight:normal;margin:0} h5{margin-bottom:8px} input[type="text"],textarea{background:#FFF;border:1px inset #DDD;color:#000} -input[type=submit],input[type=button],button{border:1px outset #DDD;background:#EEE;color:#333;padding:1px 9px} -input[type=submit]:active,input[type=button]:active,button:active{border-style:inset} .banner{display:block;margin:0 auto} #rules{line-height:1.25em;margin:8px 0} .spoil{background:#000;color:#000}.spoil:hover{color:#fff} @@ -28,7 +26,7 @@ pre{line-height:125%;margin:0;white-space:pre-wrap} .links{font-size:14px;text-align:center} #threadlinks{margin-bottom:7px;text-align:center} #threadlinks a{margin:0 4px} -#threadlist{font-size:14px;line-height:1;max-height:16em;padding:7px;overflow-y:scroll} +#threadlist{font-size:14px;line-height:1;max-height:11em;padding:7px;overflow-y:scroll} #threadlist a{text-decoration:none} #thread_nav{padding-left:6px} .mainpage .postform,.formpad{padding-left:40px} @@ -72,11 +70,11 @@ form .msg{margin:0;padding:8px 2px;text-align:left} #content.grid{display:flex;flex-flow:row wrap;justify-content:space-around} #content.grid .row{flex:1 1 auto;padding:5px} #content.grid .row div{display:inline} +@media(min-height:999px){#threadlist{max-height:16em}} @media(max-width:720px){ body{font-size:15px} .banner{width:100%!important;height:auto!important;margin-top:1em} .outerbox,.mainpage .thread,#footer,#content{margin:1em 0} - br{line-height:.5em} h2 a{font-size:19px} h4,h2 span,#rules{font-size:12px} .pblock,#footer,.end{font-size:14px} @@ -94,4 +92,4 @@ form .msg{margin:0;padding:8px 2px;text-align:left} form,#thread_nav,#footer,.end,.locked{text-align:center} #footer a{display:block} #content.list .row div{padding:0 2px} -}
\ No newline at end of file +} |