r20962 - htdocs/branches/beta - Split the download container for better resizing when zooming in.

Cristian Marchi cmarchi at code.gnucash.org
Fri Jul 29 09:41:10 EDT 2011


Author: cmarchi
Date: 2011-07-29 09:41:10 -0400 (Fri, 29 Jul 2011)
New Revision: 20962
Trac: http://svn.gnucash.org/trac/changeset/20962

Modified:
   htdocs/branches/beta/externals/gnucash.css
   htdocs/branches/beta/index.phtml
Log:
Split the download container for better resizing when zooming in.

Modified: htdocs/branches/beta/externals/gnucash.css
===================================================================
--- htdocs/branches/beta/externals/gnucash.css	2011-07-29 12:57:51 UTC (rev 20961)
+++ htdocs/branches/beta/externals/gnucash.css	2011-07-29 13:41:10 UTC (rev 20962)
@@ -297,14 +297,13 @@
 }
 
 #download {
-   width:580px;
    float:right; 	
    margin-left:2em;
    margin-right:2em;
    margin-bottom:1em;
    margin-top:0;
    padding: 0.4em;
-   background: url(gnc-download.png) no-repeat 96% #7F7FAA;
+   background-color:#7F7FAA;
    border: 1px solid #CACAF7;
    color: white;
    -moz-box-shadow: 5px 5px 5px #888888; /* Firefox 3.6 and earlier */
@@ -314,6 +313,12 @@
    -moz-border-radius:15px;
 }
 
+#downloadimage {
+  width:240px;
+  float:left;
+  text-align:center;
+}
+
 #download h2 {
    margin-top: 0px;
 }

Modified: htdocs/branches/beta/index.phtml
===================================================================
--- htdocs/branches/beta/index.phtml	2011-07-29 12:57:51 UTC (rev 20961)
+++ htdocs/branches/beta/index.phtml	2011-07-29 13:41:10 UTC (rev 20962)
@@ -14,6 +14,7 @@
 <h1><?php echo T_("Welcome to GnuCash.org")?></h1>
 
 <div id="download">
+<div style="float:left;">
 <h2><?php printf (T_("Download GnuCash %s"), $latest_stable)?></h2>
 
 <ul>
@@ -22,8 +23,13 @@
 <li><img src="<?=$top_dir?>/images/icons/macosx.png" /> Mac OS X <a href="<?php echo $download_path.$latest_stable_mac_intel;?>">Intel</a> | <a href="<?php echo $download_path.$latest_stable_mac_ppc;?>">Power PC</a> | <a href="http://wiki.gnucash.org/wiki/MacOSX/<?php echo $latest_stable;?>/Readme">Readme</a></li>
 <li><a href="<?=$home?>/download.phtml" style="font-size: 80%;"><?=T_("More downloads (Source, Development,...)")?></a></li>
 </ul>
+
+<div id="downloadimage">
+<img src="<?=$top_dir;?>/externals/gnc-download.png"></img>
 </div>
 
+</div>
+
 <p class="justify"><?php echo T_("<span class=\"gnucash\">GnuCash</span> is personal and small-business financial-accounting software, freely licensed under the <a href=\"http://www.gnu.org/\">GNU</a> GPL and available for GNU/Linux, BSD, Solaris, Mac OS X and Microsoft Windows.");?></p>
 
 <p class="justify"><?php echo T_("Designed to be easy to use, yet powerful and flexible, <span class=\"gnucash\">GnuCash</span> allows you to track bank accounts, stocks, income and expenses.  As quick and intuitive to use as a checkbook register, it is based on professional accounting principles to ensure balanced books and accurate reports. "); ?></p>



More information about the gnucash-changes mailing list