diff options
-rw-r--r-- | cgi/templates/board.html | 6 | ||||
-rw-r--r-- | cgi/templates/board.jp.html | 6 | ||||
-rw-r--r-- | static/css/dickgirl.css | 17 | ||||
-rw-r--r-- | static/css/ib.css | 49 | ||||
-rw-r--r-- | static/css/rene.css | 2 | ||||
-rw-r--r-- | static/css/txt/futanari.css | 24 |
6 files changed, 65 insertions, 39 deletions
diff --git a/cgi/templates/board.html b/cgi/templates/board.html index 3732ba9..bc70c8d 100644 --- a/cgi/templates/board.html +++ b/cgi/templates/board.html @@ -136,7 +136,7 @@ <?py for post in thread['posts']: ?> <?py if int(post['parentid']) != 0: ?> <table><tr><td class="ell">…</td> - <td class="reply" id="p#{post['id']}"> + <td class="reply#{' deleted' if post['IS_DELETED'] > 0 else ''}" id="p#{post['id']}"> <?py elif post['file']: ?> <?py if post['image_width'] != '0': ?> <div class="fs"><span>Nombre de archivo:</span><a href="#{images_url}#{board}/src/#{post['file']}" class="expimg" target="_blank" data-id="#{post['id']}" data-thumb="#{images_url}#{board}/thumb/#{post['thumb']}" data-w="#{post['image_width']}" data-h="#{post['image_height']}" data-tw="#{post['thumb_width']}" data-th="#{post['thumb_height']}">#{post['file']}</a>-(#{post['file_size']} B, #{post['image_width']}x#{post['image_height']}) @@ -164,9 +164,9 @@ <?py #endif ?> <a name="#{post['id']}"></a> <?py if post['IS_DELETED'] == 1: ?> - <span class="deleted">No.#{post['id']} eliminado por usuario.</span> + <span>No.#{post['id']} eliminado por usuario.</span> <?py elif post['IS_DELETED'] == 2: ?> - <span class="deleted">No.#{post['id']} eliminado por miembro del staff.</span> + <span>No.#{post['id']} eliminado por staff.</span> <?py else: ?> <div class="info"><label><input type="checkbox" name="delete" value="#{post['id']}" /> <?py if post['subject'] : ?> diff --git a/cgi/templates/board.jp.html b/cgi/templates/board.jp.html index 06a9391..0dbef15 100644 --- a/cgi/templates/board.jp.html +++ b/cgi/templates/board.jp.html @@ -136,7 +136,7 @@ <?py for post in thread['posts']: ?> <?py if int(post['parentid']) != 0: ?> <table><tr><td class="ell">…</td> - <td class="reply" id="p#{post['id']}"> + <td class="reply#{' deleted' if post['IS_DELETED'] > 0 else ''}" id="p#{post['id']}"> <?py elif post['file']: ?> <?py if post['image_width'] != '0': ?> <div class="fs"><span>画像ファイル名:</span><a href="#{images_url}#{board}/src/#{post['file']}" class="expimg" target="_blank" data-id="#{post['id']}" data-thumb="#{images_url}#{board}/thumb/#{post['thumb']}" data-w="#{post['image_width']}" data-h="#{post['image_height']}" data-tw="#{post['thumb_width']}" data-th="#{post['thumb_height']}">#{post['file']}</a>-(#{post['file_size']} B, #{post['image_width']}x#{post['image_height']}) @@ -164,9 +164,9 @@ <?py #endif ?> <a name="#{post['id']}"></a> <?py if post['IS_DELETED'] == '1': ?> - <span class="deleted">No.#{post['id']}はユーザーに削除されました.</span> + <span>No.#{post['id']}はユーザーに削除されました.</span> <?py elif post['IS_DELETED'] == '2': ?> - <span class="deleted">No.#{post['id']}は管理人に削除されました.</span> + <span>No.#{post['id']}は管理人に削除されました.</span> <?py else: ?> <div class="info"><label><input type="checkbox" name="delete" value="#{post['id']}" /><span class="subj">#{post['subject'] if post['subject'] else default_subject}</span></label> <?py if post['email']: ?> diff --git a/static/css/dickgirl.css b/static/css/dickgirl.css index b2f6b07..cfa92a7 100644 --- a/static/css/dickgirl.css +++ b/static/css/dickgirl.css @@ -42,24 +42,21 @@ hr { background: #a0c8de; color: #2c4c0b; } -input, -input[type="text"], -textarea, -select { - border: 1px inset #4c6c88; -} input[type="submit"], input[type="button"], button { - background: #a4a4e0; - color: #2c4c0b; - border: 1px outset #4c6c88; - padding: 2px 1em; + background: #53a9dd; + color: #343b4d; + border-top: 1px solid #85c8ff; + border-left: 1px solid #85c8ff; + border-bottom: 1px solid #40607c; + border-right: 1px solid #40607c; } input[type="submit"]:active, input[type="button"]:active, button:active { background: #7979a5; + color: #191d25; border: 1px inset #4c6c88; } input[type="file"] { diff --git a/static/css/ib.css b/static/css/ib.css index 18b0010..06c2513 100644 --- a/static/css/ib.css +++ b/static/css/ib.css @@ -54,6 +54,12 @@ select { margin: 8px 0; text-align: center; } +input[type="submit"], +input[type="button"], +button { + padding: 2px 1em; + line-height: 1em; +} input[type="text"], input[type="password"], textarea { @@ -63,6 +69,7 @@ textarea { } .postform input { max-width: 250px; + height: 1.7em; } .postform input[name="subject"] { max-width: 300px; @@ -81,7 +88,7 @@ textarea { } .rules { width: 468px; - font-size: 13px; + font-size: 12px; } .rules ul { margin: 4px 0 0; @@ -125,11 +132,20 @@ textarea { #q-p .fs { margin-left: 20px; } -.deleted { +.reply.deleted { color: #777; -} -.thread.hidden > div, .thread.hidden > table, .thread.hidden > a, .thread.hidden > blockquote, -.reply.hidden input, .reply.hidden blockquote, .reply.hidden .thumb, .reply.hidden .fs, .reply.hidden .quoted, + margin: 0; + padding: 0 +} +.thread.hidden > div, +.thread.hidden > table, +.thread.hidden > a, +.thread.hidden > blockquote, +.reply.hidden input, +.reply.hidden blockquote, +.reply.hidden .thumb, +.reply.hidden .fs, +.reply.hidden .quoted, #catalog .hidden { display: none; } @@ -301,8 +317,11 @@ textarea { #main_nav.mob { font-size: 12px; } + .postarea table { + border-spacing: 1px; + } .postblock { - font-size: 14px; + font-size: 12px; white-space: nowrap; } .pass, @@ -320,25 +339,27 @@ textarea { max-width: 100%; width: 100%; } - .fs .tt, - .omitted { + .postform input[type="submit"] { + height: 2em; + margin-top: 2px; + } + .fs .tt { font-size: 14px; } - .info { + .fs, + .omitted, + .info, + .reply.deleted { font-size: 12px; } .reply .info { padding-right: 0; } - .fs, - .rules { - font-size: 12px; - } .reply .fs { margin-left: 4px; } .thumb { - margin: 0 8px 0 4px; + margin: 0 8px 0 2px; max-width: 100px; max-height: 100px; width: auto; diff --git a/static/css/rene.css b/static/css/rene.css index 3d76f02..d5e003d 100644 --- a/static/css/rene.css +++ b/static/css/rene.css @@ -81,7 +81,7 @@ a:hover .name, .abbrev { color: #777; } -.deleted { +.reply.deleted { color: #999; } .highlight { diff --git a/static/css/txt/futanari.css b/static/css/txt/futanari.css index ebb3035..f7f25e1 100644 --- a/static/css/txt/futanari.css +++ b/static/css/txt/futanari.css @@ -36,24 +36,33 @@ h3 { margin-top: 0; } input, -input[type="submit"], -input[type="button"], input[type="text"], textarea, -button, select { - border: 1px solid #4c6c88; + border-top: 1px solid #333; + border-left: 1px solid #333; + border-bottom: 1px solid #ccc; + border-right: 1px solid #ccc; } input[type="submit"], input[type="button"], button { - background: #a4a4e0; - color: #2c4c0b; + background: #53a9dd; + color: #343b4d; + border-top: 1px solid #85c8ff; + border-left: 1px solid #85c8ff; + border-bottom: 1px solid #40607c; + border-right: 1px solid #40607c; } input[type="submit"]:active, input[type="button"]:active, button:active { background: #7979a5; + color: #191d25; + border-top: 1px solid #40607c; + border-left: 1px solid #40607c; + border-bottom: 1px solid #85c8ff; + border-right: 1px solid #85c8ff; } input[type="file"] { border: none; @@ -208,5 +217,4 @@ form .msg { .end { margin: 1em 0 0; } -} - +}
\ No newline at end of file |