slitaz-configs rev 56
Clean-up custom home page
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Mar 15 19:34:09 2010 +0100 (2010-03-15) |
parents | b2392dc7ecda |
children | 3f8076ba04af |
files | rootfs/usr/share/webhome/index.html rootfs/usr/share/webhome/pics/cn.jpg rootfs/usr/share/webhome/pics/content-bl.png rootfs/usr/share/webhome/pics/content-br.png rootfs/usr/share/webhome/pics/content-tl.png rootfs/usr/share/webhome/pics/content-tr.png rootfs/usr/share/webhome/style.css |
line diff
1.1 --- a/rootfs/usr/share/webhome/index.html Tue Feb 02 23:21:21 2010 +0100 1.2 +++ b/rootfs/usr/share/webhome/index.html Mon Mar 15 19:34:09 2010 +0100 1.3 @@ -11,25 +11,18 @@ 1.4 <body> 1.5 1.6 <!-- Header --> 1.7 -<div id="header"></div> 1.8 - 1.9 -<!-- Content top. --> 1.10 -<div id="content_top"> 1.11 -<div class="top_left"></div> 1.12 -<div class="top_right"></div> 1.13 +<div id="header"> 1.14 + <h1>Browse the Web</h1> 1.15 </div> 1.16 1.17 <!-- Content --> 1.18 <div id="content"> 1.19 -<a name="content"></a> 1.20 1.21 -<h1>Browse the Web</h1> 1.22 - 1.23 -<div style="text-align: center; margin: 10px;"> 1.24 +<div style="text-align: center; margin: 20px;"> 1.25 <table> 1.26 <!-- Search Wikipedia --> 1.27 <tr> 1.28 - <th><strong>[ Wikipedia ]</strong></th> 1.29 + <th><strong>Wikipedia :</strong></th> 1.30 <td> 1.31 <form action="http://www.wikipedia.org/search-redirect.php" method="get"> 1.32 <input type="hidden" name="language" value="en" /> 1.33 @@ -40,7 +33,7 @@ 1.34 </tr> 1.35 <!-- Search Google --> 1.36 <tr> 1.37 - <th><strong>[ Google ]</strong></th> 1.38 + <th><strong>Google :</strong></th> 1.39 <td> 1.40 <form method="get" action="http://www.google.com/search"> 1.41 <input type="text" name="q" size="30" maxlength="255" value="" /> 1.42 @@ -53,37 +46,22 @@ 1.43 1.44 <!-- Shortcuts --> 1.45 <div style="text-align: center; margin: 10px;"> 1.46 - SliTaz Website : 1.47 - <a href="http://www.slitaz.org/de/">Deutch</a> - 1.48 - <a href="http://www.slitaz.org/en/">English</a> - 1.49 - <a href="http://www.slitaz.org/fr/">Français</a> - 1.50 - <a href="http://www.slitaz.org/pt/">Português</a> - 1.51 - <a href="http://www.slitaz.org/cn/"><img src="pics/cn.jpg"></a> 1.52 -</div> 1.53 -<div style="text-align: center; margin: 10px;"> 1.54 - Documentation : 1.55 - <a href="http://www.slitaz.org/en/doc/handbook/">Handbook</a> - 1.56 - <a href="http://www.slitaz.org/fr/doc/handbook/">Livre de main</a> - 1.57 - <a href="http://www.slitaz.org/pt/doc/handbook/">Manual do SliTaz</a> 1.58 -</div> 1.59 -<div style="text-align: center; margin: 10px;"> 1.60 - Community : 1.61 + <strong>SliTaz :</strong> 1.62 + <a href="http://www.slitaz.org/">Website</a> | 1.63 + <a href="http://doc.slitaz.org/">Documentation</a> | 1.64 <a href="http://forum.slitaz.org/">Forum</a> | 1.65 - <a href="http://wiki.slitaz.org/">Wiki</a> | 1.66 - <a href="http://labs.slitaz.org/">Labs</a> 1.67 + <a href="http://labs.slitaz.org/">Labs</a> | 1.68 + <a href="http://pkgs.slitaz.org/">Packages</a> 1.69 </div> 1.70 1.71 <div style="text-align: center;"> 1.72 <img 1.73 - src="pics/slitaz-tux.png" title="www.slitaz.org" alt="www.slitaz.org" 1.74 + src="pics/slitaz-tux.png" 1.75 + title="SliTaz and Tux" alt="slitaz-tux" 1.76 style="width: 90px; height: 98px;" /> 1.77 </div> 1.78 1.79 -<!-- End of content with round corner --> 1.80 -</div> 1.81 -<div id="content_bottom"> 1.82 -<div class="bottom_left"></div> 1.83 -<div class="bottom_right"></div> 1.84 +<!-- End of content --> 1.85 </div> 1.86 1.87 </body>
2.1 Binary file rootfs/usr/share/webhome/pics/cn.jpg has changed
3.1 Binary file rootfs/usr/share/webhome/pics/content-bl.png has changed
4.1 Binary file rootfs/usr/share/webhome/pics/content-br.png has changed
5.1 Binary file rootfs/usr/share/webhome/pics/content-tl.png has changed
6.1 Binary file rootfs/usr/share/webhome/pics/content-tr.png has changed
7.1 --- a/rootfs/usr/share/webhome/style.css Tue Feb 02 23:21:21 2010 +0100 7.2 +++ b/rootfs/usr/share/webhome/style.css Mon Mar 15 19:34:09 2010 +0100 7.3 @@ -4,7 +4,7 @@ 7.4 */ 7.5 7.6 body { 7.7 - background: #222222; 7.8 + background: white; 7.9 color: black; 7.10 font: 13px sans-serif, vernada, arial; 7.11 margin: 0 0 0 0; 7.12 @@ -21,32 +21,18 @@ 7.13 /* margin-bottom: 30px; */ 7.14 } 7.15 7.16 +#header h1 { 7.17 + padding: 10px; 7.18 + text-align: center; 7.19 +} 7.20 + 7.21 /* Page content */ 7.22 7.23 -#content, #content_bottom, #content_top { 7.24 - background: white; 7.25 - color: black; 7.26 - text-align: justify; 7.27 -} 7.28 - 7.29 -#content_top { 7.30 - height: 14px; 7.31 - margin: 10px 100px 0px 100px; 7.32 -} 7.33 7.34 #content { 7.35 height: auto; 7.36 - margin: -6px 100px 0px 100px; 7.37 + margin: 10px 100px 0px 100px; 7.38 padding: 0px 72px 0px 72px; 7.39 - /*background: white; 7.40 - color: #333333;*/ 7.41 -} 7.42 - 7.43 -#content_bottom { 7.44 - height: 14px; 7.45 - margin: 0px 100px 0px 100px; 7.46 - /*clear: both;*/ 7.47 - 7.48 } 7.49 7.50 #content li { 7.51 @@ -70,44 +56,11 @@ 7.52 7.53 /* CSS class. */ 7.54 7.55 -.top_left, .top_right, .bottom_left, .bottom_right { 7.56 - height: 14px; 7.57 - width: 14px; 7.58 - color: white; 7.59 - background-color: #333333; 7.60 - background-repeat: no-repeat; 7.61 -} 7.62 - 7.63 -.top_left { 7.64 - background-image: url(pics/content-tl.png); 7.65 - background-position: left top; 7.66 - position: absolute; 7.67 -} 7.68 - 7.69 -.top_right { 7.70 - background-image: url(pics/content-tr.png); 7.71 - float: right; 7.72 -} 7.73 - 7.74 -.bottom_left { 7.75 - background-image: url(pics/content-bl.png); 7.76 - position: absolute; 7.77 -} 7.78 - 7.79 -.bottom_right { 7.80 - background-image: url(pics/content-br.png); 7.81 - float: right; 7.82 -} 7.83 7.84 /* HTML styles */ 7.85 7.86 h1 { 7.87 - color: #DF8F06; 7.88 - background: inherit; 7.89 - text-align: center; 7.90 - margin: 0px 0px 20px 0px; 7.91 - padding: 10px 0px 10px 0px; 7.92 - border-bottom: 1px solid #DF8F06; 7.93 + margin: 0px 0px 0px 16px; 7.94 } 7.95 7.96 h2 {