gnucash-htdocs master: Convert "stabledoc" to class

Frank H.Ellenberger fell at code.gnucash.org
Thu Aug 13 21:51:14 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/9c6a658e (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/ce613322 (commit)



commit 9c6a658e022a698327c5e4b836590fe87aa952b2
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Fri Aug 14 03:50:58 2020 +0200

    Convert "stabledoc" to class
    
    ids are unique, but we have 2 divs

diff --git a/docs.phtml b/docs.phtml
index b2dede1..1b1a961 100644
--- a/docs.phtml
+++ b/docs.phtml
@@ -45,7 +45,7 @@
       <h2 class="featuretitle"><?php printf (T_("GnuCash v%s"), $major_stable)?> <?php echo T_("(current stable release)");?></h2>
     </div>
     <h3><?= T_("Current <em>stable</em> user documentation");?></h3>
-    <div id="stabledoc">
+    <div class="stabledoc">
       <div style="float:left;">
         <h2 class="download-title"><?php echo T_("Download");?> (<em><?php echo T_("Stable");?></em>)</h2>
         <ul>
@@ -179,7 +179,7 @@
   <h2 class="featuretitle"><?php printf (T_("GnuCash v%s"), $major_old_stable)?> <?php echo T_("(old stable release)");?></h2>
 </div>
 <h3><?= T_("Old <em>stable</em> user documentation");?></h3>
-<div id="stabledoc">
+<div class="stabledoc">
   <div style="float:left;">
     <h2 class="download-title"><?php echo T_("Download");?> (<em><?php echo T_("Stable");?></em>)</h2>
     <ul>
diff --git a/externals/gnucash.css b/externals/gnucash.css
index 2152eb8..6363f35 100644
--- a/externals/gnucash.css
+++ b/externals/gnucash.css
@@ -487,7 +487,7 @@ p.adstext
    width:16px;
 }
 
-#stabledoc {
+.stabledoc {
    float:right; 	
    margin-left:2em;
    margin-right:2em;
@@ -504,7 +504,7 @@ p.adstext
    -moz-border-radius:15px;
 }
 
-#stabledoc a:hover
+.stabledoc a:hover
 {
    background-color:white;
 }



Summary of changes:
 docs.phtml            | 4 ++--
 externals/gnucash.css | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)



More information about the gnucash-changes mailing list