slitaz-forge rev 252
people: fix padding in CSS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 07 23:25:17 2012 +0200 (2012-04-07) |
parents | 9d7a0da7de7e |
children | 2f05a72082d8 |
files | people/slitaz.css tank/web/lib/html/header.html |
line diff
1.1 --- a/people/slitaz.css Sat Apr 07 23:23:50 2012 +0200 1.2 +++ b/people/slitaz.css Sat Apr 07 23:25:17 2012 +0200 1.3 @@ -11,8 +11,7 @@ 1.4 color: black; 1.5 font: 13px sans-serif, vernada, arial; 1.6 margin: 0; 1.7 - min-width: 780px; 1.8 - height: 100%; 1.9 + min-width: 900px; 1.10 } 1.11 1.12 a { text-decoration: underline; color: #215090; } 1.13 @@ -47,7 +46,7 @@ 1.14 font-style: italic; 1.15 } 1.16 1.17 -#header h1 a:hover, #network a:hover { 1.18 +#header h1 a:hover { 1.19 color: #d66018; 1.20 } 1.21 1.22 @@ -67,11 +66,12 @@ 1.23 1.24 #network { 1.25 float: right; 1.26 - padding: 10px 5px 0; 1.27 + padding: 12px 5px 0; 1.28 font-size: 12px; 1.29 } 1.30 1.31 #network a { padding: 0 6px; } 1.32 +#network a:hover { color: #cfcfcf; } 1.33 1.34 /* Block */ 1.35 1.36 @@ -153,16 +153,16 @@ 1.37 text-align: justify; 1.38 } 1.39 1.40 -.news li { 1.41 +#news li { 1.42 list-style-type: square; 1.43 border-bottom: 1px dotted #BEBEBE; 1.44 margin-left: -25px; 1.45 padding: 4px 0px 4px 0px; 1.46 } 1.47 1.48 -.news a, .feed-grid a { text-decoration: none; } 1.49 -.news p a { text-decoration: underline; } 1.50 -.news p a:hover { text-decoration: none; } 1.51 +#news a, .feed-grid a { text-decoration: none; } 1.52 +#news p a { text-decoration: underline; } 1.53 +#news p a:hover { text-decoration: none; } 1.54 #twitter { margin: 20px 0; } 1.55 #gallery { text-align: center; } 1.56 1.57 @@ -186,28 +186,15 @@ 1.58 border: 1px solid #ddd; 1.59 } 1.60 1.61 -/* Activity Box */ 1.62 - 1.63 -.activity { 1.64 - margin: 0 0 20px; 1.65 - background: #eaeaea; 1.66 - padding: 5px 2px 0; 1.67 - border: 1px solid #ddd; 1.68 -} 1.69 -.activity div { padding: 5px 10px; background: #fff; margin-top: 5px; } 1.70 -.activity p { margin: 0; padding: 5px 10px; font-weight: bold; } 1.71 -.activity a { text-decoration: none; } 1.72 -.activity ul { list-style-type: none; 1.73 - margin: 4px 0; padding: 0 4px; line-height: 150%; } 1.74 -.activity_more { text-align: right; } 1.75 -.activity_more a { font-weight: normal; color: #000; padding: 0 4px; } 1.76 -.activity_more a:hover { text-decoration: underline; } 1.77 - 1.78 -.activity span, .news span { 1.79 - color: #666; 1.80 - font-size: 11px; 1.81 - font-weight: normal; 1.82 -} 1.83 +.feed-grid { height: 180px; overflow: hidden; text-align: left; } 1.84 +.feed-grid h3 { 1.85 + margin: 15px 0 0; font-size: 16px; 1.86 + padding: 0 22px; 1.87 + background: url(images/feed.png) no-repeat left; } 1.88 +.feed-grid span { font-size: 10px; color: #888; margin-left: 24px; } 1.89 +.feed-grid ul { color: #666; } 1.90 +.feed-grid a { color: #666; } 1.91 +.feed-grid a:hover { color: blue; } 1.92 1.93 /* Button */ 1.94 1.95 @@ -227,8 +214,7 @@ 1.96 1.97 /* Round corner */ 1.98 1.99 -#block_nav, pre, .box, .searchbox, .button a, #twitter, .activity, 1.100 -.activity div { 1.101 +#block_nav, pre, .box, .searchbox, .button a, #twitter { 1.102 -moz-border-radius: 4px; 1.103 -webkit-border-radius: 4px; 1.104 border-radius: 4px; 1.105 @@ -287,8 +273,6 @@ 1.106 border-top: 1px solid #ddd; 1.107 padding: 40px; 1.108 color: #666; 1.109 - clear: both; 1.110 - margin-bottom: -2%; 1.111 } 1.112 1.113 #footer a { color: #666; padding: 0 2px; }
2.1 --- a/tank/web/lib/html/header.html Sat Apr 07 23:23:50 2012 +0200 2.2 +++ b/tank/web/lib/html/header.html Sat Apr 07 23:25:17 2012 +0200 2.3 @@ -2,8 +2,7 @@ 2.4 <div id="header"> 2.5 <div id="logo"></div> 2.6 <div id="network"> 2.7 - <a href="http://www.slitaz.org/"> 2.8 - <img src="images/home.png" alt="[ Home ]" /></a> 2.9 + <a href="http://www.slitaz.org/">Home</a> 2.10 <a href="http://scn.slitaz.org/">Community</a> 2.11 <a href="http://doc.slitaz.org/">Doc</a> 2.12 <a href="http://forum.slitaz.org/">Forum</a>