]> bicyclesonthemoon.info Git - ott/bsta/commitdiff
more formatting improvement v1.2.11
authorb <rowerynaksiezycu@gmail.com>
Mon, 3 Mar 2025 21:13:53 +0000 (21:13 +0000)
committerb <rowerynaksiezycu@gmail.com>
Mon, 3 Mar 2025 21:13:53 +0000 (21:13 +0000)
2words.1.pl
bsta.css
settings.txt

index a1894c66c5aec143fba7c6016b33d48b2a4fb314..6148f29796644739f4516a6d092c72a4a98f5433 100644 (file)
@@ -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 '   <div id="inst" class="ins">'."\n";
+print '   <div id="'.$div_inst.'" class="ins">'."\n";
 
 print '    <div id="title">'."\n";
 print '     <h1 id="titletext">Two words</h1>'."\n";
@@ -618,9 +619,10 @@ elsif ($message ne '') {
        print '     <span class="br">'.$_message.'</span>'."\n";
        print '    </div>'."\n";
 }
-print '   </div>'."\n";
 
 if ($show_intf) {
+       print '   </div>'."\n";
+       
        print '   <div id="framespace">'."\n";
        print '    <table id="intftable" cellspacing="0" cellpadding="0">'."\n";
        print '     <tr class="intf">'."\n";
@@ -637,10 +639,10 @@ if ($show_intf) {
        print '     </tr>'."\n";
        print '    </table>'."\n";
        print '   </div>'."\n";
+       
+       print '   <div id="insb" class="ins">'."\n";
 }
 
-print '   <div id="insb" class="ins">'."\n";
-
 print '    <div id="undertext">'."\n";
 for (my $i = $id_start; $i > $id_stop; --$i) {
        %new_story = read_story($i);
index 3ee3dc54997ddd914f9da84ed063987f643783a3..0d7f0d2b04cae0da2bf48955a1f5f8d204b84f6c 100644 (file)
--- 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;
 }
index 1d57063d602d6414bcfdecd21630f40d836a27df..6846144ef970009d67f97bd7891a384e6047cba7 100644 (file)
@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-_version: 1.2.10
+_version: 1.2.11
 
 _SHEBANG: #!$0