diff options
author | junk | 2021-03-27 03:22:29 -0300 |
---|---|---|
committer | junk | 2021-03-27 03:58:36 -0300 |
commit | 0e86988ba9099072dcd2af5142f8f4e988908e9b (patch) | |
tree | 097c4c9cd4505e5f11474aa2c4f52e3c65375d0b | |
parent | c6a63f5c141c5f144434e556fcf296be4240e7f9 (diff) | |
download | weabot-0e86988ba9099072dcd2af5142f8f4e988908e9b.tar.gz weabot-0e86988ba9099072dcd2af5142f8f4e988908e9b.tar.xz weabot-0e86988ba9099072dcd2af5142f8f4e988908e9b.zip |
Cambiando sjis.css y vipper.css por selectores
-rw-r--r-- | cgi/templates/base_top.html | 3 | ||||
-rw-r--r-- | cgi/templates/txt_archive.html | 5 | ||||
-rw-r--r-- | cgi/templates/txt_base_top.html | 4 | ||||
-rw-r--r-- | static/css/ib.css | 20 | ||||
-rw-r--r-- | static/css/txt/amber.css | 2 | ||||
-rw-r--r-- | static/css/txt/ayashii.css | 2 | ||||
-rw-r--r-- | static/css/txt/baisano.css | 8 | ||||
-rw-r--r-- | static/css/txt/bbs.css | 38 | ||||
-rw-r--r-- | static/css/txt/bios.css | 2 | ||||
-rw-r--r-- | static/css/txt/blue moon.css | 2 | ||||
-rw-r--r-- | static/css/txt/ciber.css | 2 | ||||
-rw-r--r-- | static/css/txt/cuteanarchy.css | 2 | ||||
-rw-r--r-- | static/css/txt/futanari.css | 2 | ||||
-rw-r--r-- | static/css/txt/gamer.css | 2 | ||||
-rw-r--r-- | static/css/txt/headline.css | 2 | ||||
-rw-r--r-- | static/css/txt/postal.css | 2 | ||||
-rw-r--r-- | static/css/txt/sjis.css | 8 | ||||
-rw-r--r-- | static/css/txt/ventanas.css | 2 | ||||
-rw-r--r-- | static/css/txt/vipper.css | 2 |
19 files changed, 37 insertions, 73 deletions
diff --git a/cgi/templates/base_top.html b/cgi/templates/base_top.html index 424c309..4c86614 100644 --- a/cgi/templates/base_top.html +++ b/cgi/templates/base_top.html @@ -32,9 +32,6 @@ <?py else: ?> <link rel="stylesheet" type="text/css" href="#{force_css}" /> <?py #endif ?> -<?py if board == "2d": ?> - <link rel="stylesheet" href="#{static_url}css/txt/sjis.css" /> -<?py #endif ?> <script type="text/javascript" src="#{static_url}js/weabot.js"></script> <script type="text/javascript" src="#{static_url}js/aquiencitas.js"></script> <script type="text/javascript" src="#{static_url}js/autorefresh.js"></script> diff --git a/cgi/templates/txt_archive.html b/cgi/templates/txt_archive.html index da4d6b2..6749352 100644 --- a/cgi/templates/txt_archive.html +++ b/cgi/templates/txt_archive.html @@ -21,9 +21,6 @@ <?py else: ?> <link rel="stylesheet" type="text/css" href="#{force_css}" /> <?py #endif ?> -<?py if board in ['zonavip', 'world']: ?> - <link rel="stylesheet" href="/static/css/txt/sjis.css" /> -<?py #endif ?> <script type="text/javascript" src="#{static_url}js/weabotxt.js"></script> <script type="text/javascript" src="#{static_url}js/aquiencitas.js"></script> </head> @@ -98,4 +95,4 @@ <div class="end">weabot.py ver <?py include('templates/revision.html') ?> Bienvenido a Internet BBS/IB</div> <a name="bottom"></a> </body> -</html>
\ No newline at end of file +</html> diff --git a/cgi/templates/txt_base_top.html b/cgi/templates/txt_base_top.html index 35b871f..84dc320 100644 --- a/cgi/templates/txt_base_top.html +++ b/cgi/templates/txt_base_top.html @@ -28,10 +28,6 @@ <?py else: ?> <link rel="stylesheet" type="text/css" href="#{force_css}" /> <?py #endif ?> -<?py if board == 'zonavip': ?> - <link rel="stylesheet" href="/static/css/txt/sjis.css" /> - <link rel="stylesheet" href="/static/css/txt/vipper.css" /> -<?py #endif ?> <script type="text/javascript" src="#{static_url}js/weabotxt.js"></script> <script type="text/javascript" src="#{static_url}js/aquiencitas.js"></script> <script type="text/javascript" src="#{static_url}js/shobon.js"></script> diff --git a/static/css/ib.css b/static/css/ib.css index a6711bb..443dae8 100644 --- a/static/css/ib.css +++ b/static/css/ib.css @@ -4,18 +4,18 @@ -webkit-box-sizing: border-box; word-wrap: break-word; } -html, -body { - font-family: arial, helvetica, "nimbus sans l", sans-serif; -} html { margin: 0; padding: 0; } body { + font-family: arial, helvetica, "nimbus sans l", sans-serif; + font-size: 16px; margin: 0; padding: 8px; - font-size: 11pt; +} +body[data-brd="2d"], body[data-brd="2d"] textarea { + font-family: Mona,'MS PGothic',IPAMonaPGothic,sans-serif; } .spoil { background: #000; @@ -278,9 +278,8 @@ textarea { margin-right: 0; } } -@media (max-width: 720px) { +@media (max-width: 600px) { body { - font-size: 15px; padding: 4px; } #main_nav.mob { @@ -292,7 +291,9 @@ textarea { } .pass, .ell, - .thumbmsg { + .thumbmsg, + .fs span, + { display: none; } .thread table, @@ -318,9 +319,6 @@ textarea { .rules { font-size: 12px; } - .fs span { - display: none; - } .reply .fs { margin-left: 4px; } diff --git a/static/css/txt/amber.css b/static/css/txt/amber.css index 7c57816..d39c3de 100644 --- a/static/css/txt/amber.css +++ b/static/css/txt/amber.css @@ -187,7 +187,7 @@ form .msg { background: #251002; border-color: #f9690e; } -@media (max-width: 720px) { +@media (max-width: 600px) { div.msg { margin: 0.5em 0.5em 0; } diff --git a/static/css/txt/ayashii.css b/static/css/txt/ayashii.css index 8811248..5a8d0d1 100644 --- a/static/css/txt/ayashii.css +++ b/static/css/txt/ayashii.css @@ -185,7 +185,7 @@ form .msg { .threads #footer { text-align: center; } -@media (max-width: 720px) { +@media (max-width: 600px) { body.mainpage, body.threads { margin-left: 8px; diff --git a/static/css/txt/baisano.css b/static/css/txt/baisano.css index c6ece51..ac43dbb 100644 --- a/static/css/txt/baisano.css +++ b/static/css/txt/baisano.css @@ -65,6 +65,12 @@ h4.hidden { background: #efefef; border: 1px outset #fff; } +body[data-brd="zonavip"] .mainpage .name { + color: #ff0; +} +body[data-brd="zonavip"] .mainpage a .name { + color: #00f; +} .name, .abbrev { color: green; @@ -153,7 +159,7 @@ form .msg { border: 1px inset #fff; margin: 1px; } -@media (max-width: 720px) { +@media (max-width: 600px) { .extrabox { display: none; } diff --git a/static/css/txt/bbs.css b/static/css/txt/bbs.css index 97fbc8f..628eac7 100644 --- a/static/css/txt/bbs.css +++ b/static/css/txt/bbs.css @@ -9,6 +9,11 @@ textarea { font-family: arial, helvetica, sans-serif; font-size: 16px; } +body[data-brd="zonavip"], body[data-brd="zonavip"] textarea, +body[data-brd="world"], body[data-brd="world"] textarea, +.threadnav { + font-family: Mona,'MS PGothic',IPAMonaPGothic,sans-serif; +} body.mainpage, body.threads { margin: 0; @@ -138,7 +143,6 @@ label { } .threadnav { float: right; - font-family: mona, monapo, ipamonapgothic, monapo, "ms pgothic", yozfontaa97; } #search input { margin-right: 2px; @@ -171,7 +175,7 @@ label { } .reply { clear: both; - line-height: 1.25em; + line-height: 18px; margin-bottom: 1em; overflow: hidden; } @@ -349,10 +353,7 @@ form .msg { #content.grid .row div { display: inline; } -@media (max-width: 720px) { - body { - font-size: 15px; - } +@media (max-width: 600px) { br { line-height: 0.5em; } @@ -385,7 +386,7 @@ form .msg { .postform br { display: none; } - div.reply { + div.reply, .deleted { margin-bottom: 0.5em; } .num { @@ -417,7 +418,7 @@ form .msg { width: 100%; } .postform textarea { - height: 100px; + height: 128px; } form, #thread_nav, @@ -434,24 +435,3 @@ form .msg { padding: 0 2px; } } - -.iidx { - animation-name: notice; - animation-duration: 0.16s; - animation-iteration-count: infinite; - animation-direction: alternate; -} -@keyframes notice { - 0% { - color: #ffa400; - } - 25% { - color: #467fff; - } - 50% { - color: #ff5a98; - } - 100% { - color: #d0ffe1; - } -} diff --git a/static/css/txt/bios.css b/static/css/txt/bios.css index 22a228a..0046c2a 100644 --- a/static/css/txt/bios.css +++ b/static/css/txt/bios.css @@ -247,7 +247,7 @@ form .msg { border: 1px solid #fff; margin: 2px; } -@media (max-width: 720px) { +@media (max-width: 600px) { body.threadpage { margin: 8px 0; } diff --git a/static/css/txt/blue moon.css b/static/css/txt/blue moon.css index 98bb8d3..9909316 100644 --- a/static/css/txt/blue moon.css +++ b/static/css/txt/blue moon.css @@ -226,7 +226,7 @@ form .msg { #content.grid .row { border: 1px solid #ddd; } -@media (max-width: 720px) { +@media (max-width: 600px) { body.threadpage { margin: 0 0 8px; } diff --git a/static/css/txt/ciber.css b/static/css/txt/ciber.css index a1e4d56..924d01e 100644 --- a/static/css/txt/ciber.css +++ b/static/css/txt/ciber.css @@ -246,7 +246,7 @@ form .msg { #content .row:hover a { text-shadow: 0 0 5px; } -@media (max-width: 720px) { +@media (max-width: 600px) { div.msg { margin: 0.5em 0.5em 0; } diff --git a/static/css/txt/cuteanarchy.css b/static/css/txt/cuteanarchy.css index ecbc0e3..4fde34d 100644 --- a/static/css/txt/cuteanarchy.css +++ b/static/css/txt/cuteanarchy.css @@ -288,7 +288,7 @@ form .msg { margin: 1px; } -@media (max-width: 720px) { +@media (max-width: 600px) { h1 { font-size: 18px; } diff --git a/static/css/txt/futanari.css b/static/css/txt/futanari.css index 3f76d50..e0918c1 100644 --- a/static/css/txt/futanari.css +++ b/static/css/txt/futanari.css @@ -182,7 +182,7 @@ form .msg { #content.grid .row:hover { background: #154a72; } -@media (max-width: 720px) { +@media (max-width: 600px) { .thread .innerbox { padding: 8px; } diff --git a/static/css/txt/gamer.css b/static/css/txt/gamer.css index 706abc7..66e0052 100644 --- a/static/css/txt/gamer.css +++ b/static/css/txt/gamer.css @@ -204,7 +204,7 @@ form .msg { border: 1px solid #111; margin: 1px; } -@media (max-width: 720px) { +@media (max-width: 600px) { body.threadpage { margin: 2px; } diff --git a/static/css/txt/headline.css b/static/css/txt/headline.css index de4d9cf..f20be3f 100644 --- a/static/css/txt/headline.css +++ b/static/css/txt/headline.css @@ -167,7 +167,7 @@ form .msg { #content.grid .row:hover { background: #ddd; } -@media (max-width: 720px) { +@media (max-width: 600px) { .thread .innerbox { padding: 8px; } diff --git a/static/css/txt/postal.css b/static/css/txt/postal.css index 2b88a0c..c97424c 100644 --- a/static/css/txt/postal.css +++ b/static/css/txt/postal.css @@ -214,7 +214,7 @@ form .msg { #content.grid .row { margin: 4px; } -@media (max-width: 720px) { +@media (max-width: 600px) { body.threadpage { margin: 0 0 8px; } diff --git a/static/css/txt/sjis.css b/static/css/txt/sjis.css deleted file mode 100644 index 7035062..0000000 --- a/static/css/txt/sjis.css +++ /dev/null @@ -1,8 +0,0 @@ -body, -textarea { - font-family: Mona, Monapo, IPAMonaPGothic, "MS PGothic", YOzFontAA97; - font-size: 12pt; -} -textarea { - font-size: 12pt; -} diff --git a/static/css/txt/ventanas.css b/static/css/txt/ventanas.css index 9a5df70..6b12281 100644 --- a/static/css/txt/ventanas.css +++ b/static/css/txt/ventanas.css @@ -248,7 +248,7 @@ form .msg { #content .row:hover { background: #eee; } -@media (max-width: 720px) { +@media (max-width: 600px) { #createbox form { margin: -10px; } diff --git a/static/css/txt/vipper.css b/static/css/txt/vipper.css deleted file mode 100644 index c1eb15c..0000000 --- a/static/css/txt/vipper.css +++ /dev/null @@ -1,2 +0,0 @@ -.mainpage .name { color: red } -.mainpage a .name { color: blue } |