From e8afa7acbb56b00d545f2f79ac72290bc86fc7b2 Mon Sep 17 00:00:00 2001 From: b Date: Mon, 3 Mar 2025 21:13:53 +0000 Subject: [PATCH] more formatting improvement --- 2words.1.pl | 10 ++++++---- bsta.css | 18 ++++++++++-------- settings.txt | 2 +- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/2words.1.pl b/2words.1.pl index a1894c6..6148f29 100644 --- a/2words.1.pl +++ b/2words.1.pl @@ -419,6 +419,7 @@ my $max_page = int(($story_id + PAGE_LENGTH - FIRSTPAGE_LENGTH - 1) / PAGE_LENGT my $newer_available = ($page > 0); my $older_available = ($page < $max_page); my $show_intf = ($intf_pass == 1) && ($ong_state == STATE->{'inactive'}); +my $div_inst = $show_intf ? 'inst' : 'insw'; my $id_start = $story_id-1 -( ($page == 0) ? 0 : ( @@ -565,7 +566,7 @@ if ($newer_available) { print_html_head_end(\*STDOUT); print_html_body_start(\*STDOUT); -print '
'."\n"; +print '
'."\n"; print '
'."\n"; print '

Two words

'."\n"; @@ -618,9 +619,10 @@ elsif ($message ne '') { print ' '.$_message.''."\n"; print '
'."\n"; } -print '
'."\n"; if ($show_intf) { + print '
'."\n"; + print '
'."\n"; print ' '."\n"; print ' '."\n"; @@ -637,10 +639,10 @@ if ($show_intf) { print ' '."\n"; print '
'."\n"; print '
'."\n"; + + print '
'."\n"; } -print '
'."\n"; - print '
'."\n"; for (my $i = $id_start; $i > $id_stop; --$i) { %new_story = read_story($i); diff --git a/bsta.css b/bsta.css index 3ee3dc5..0d7f0d2 100644 --- a/bsta.css +++ b/bsta.css @@ -1,7 +1,6 @@ html { - /* background-color: #d9ecff; */ /* old background */ - background-color: #46a3ff; + background-color: #46a3ff; /* old background d9ecff*/ border-color: #000000; color: #000000; text-align: center; @@ -36,7 +35,6 @@ a:hover:visited div#all { - background-color: #d9ecff; margin-left: auto; margin-right: auto; margin-top: 0px; @@ -47,7 +45,6 @@ div#all } div.all { - background-color: #d9ecff; margin-left: auto; margin-right: auto; margin-top: 0px; @@ -144,7 +141,7 @@ div#storypuzzle div#framespace { - background-color: #ffffff; + background-color: #0057af; margin-left: auto; margin-right: auto; margin-top: 0px; @@ -153,10 +150,15 @@ div#framespace border-width: 0px; width: 656px; } +div#framespace:hover +{ + background-color: #bb6622; +} img#frame { - border-color: #0057af; + background-color: #ffffff; + border-color: #0057af; border-style: solid; width: 580px; height: 410px; @@ -187,7 +189,7 @@ img#frame.full height: 464px; border-width: 0px; } -img#frame.full#hover +img#frame.full:hover { background-color: #bb6622; } @@ -201,7 +203,7 @@ img#frame.bftf padding-left: 85px; padding-right: 85px; } -img#frame.bftf#hover +img#frame.bftf:hover { background-color: #ff8800; } diff --git a/settings.txt b/settings.txt index 1d57063..6846144 100644 --- a/settings.txt +++ b/settings.txt @@ -15,7 +15,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -_version: 1.2.10 +_version: 1.2.11 _SHEBANG: #!$0 -- 2.30.2