tazweb rev 207

Cleaner bookmaks page and css
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 19 19:53:27 2017 +0100 (2017-03-19)
parents 80339acef312
children 6fb633dbf113
files doc/style.css lib/helper.sh
line diff
     1.1 --- a/doc/style.css	Sun Mar 19 08:49:43 2017 +0000
     1.2 +++ b/doc/style.css	Sun Mar 19 19:53:27 2017 +0100
     1.3 @@ -11,11 +11,13 @@
     1.4  	padding: 10px;
     1.5  	border-radius: 4px;
     1.6  }
     1.7 +p { hyphens: auto; }
     1.8 +li { padding: 3px 0; }
     1.9  
    1.10  header {
    1.11  	background: #ebebeb;
    1.12  	height: 40px;
    1.13 -	border-bottom: 4px solid #d66018;
    1.14 +	border-bottom: 1px solid #ddd;
    1.15  }
    1.16  
    1.17  main {
    1.18 @@ -30,10 +32,15 @@
    1.19  	color: #888;
    1.20  }
    1.21  
    1.22 -header, main, footer { display: block; } /* for old browsers not fully supported HTML5 */
    1.23 -
    1.24 -p { hyphens: auto; }
    1.25 +header, main, footer { display: block; }
    1.26  
    1.27  .year:after {
    1.28  	content: "2017";
    1.29  }
    1.30 +
    1.31 +#bookmarks li { 
    1.32 +	border-top: 1px solid #ddd; 
    1.33 +	list-style-type: none; 
    1.34 +}
    1.35 +
    1.36 +#bookmarks a { text-decoration: none; }
     2.1 --- a/lib/helper.sh	Sun Mar 19 08:49:43 2017 +0000
     2.2 +++ b/lib/helper.sh	Sun Mar 19 19:53:27 2017 +0100
     2.3 @@ -61,7 +61,7 @@
     2.4  html_bookmarks() {
     2.5  	{
     2.6  		html_header "$(gettext 'Bookmarks')"
     2.7 -		echo '<ul style="list-style-type: none;">'
     2.8 +		echo '<ul id="bookmarks">'
     2.9  
    2.10  		IFS="|"
    2.11  		while read title url null; do