website rev 807
css: improve activity box
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 30 18:37:02 2011 +0200 (2011-03-30) |
parents | 79558e58003f |
children | 111573c244f6 |
files | slitaz.css |
line diff
1.1 --- a/slitaz.css Wed Mar 30 18:34:18 2011 +0200 1.2 +++ b/slitaz.css Wed Mar 30 18:37:02 2011 +0200 1.3 @@ -188,25 +188,17 @@ 1.4 /* Activity Box */ 1.5 1.6 .activity { 1.7 - height: 120px; 1.8 - overflow: hidden; 1.9 margin: 0 0 20px; 1.10 background: #eaeaea; 1.11 - padding: 5px 2px 25px; 1.12 + padding: 5px 2px 0; 1.13 border: 1px solid #ddd; 1.14 } 1.15 -.activity div { height: 75px; overflow: hidden; 1.16 - padding: 0px 10px 10px; background: #fff; margin-top: 5px; } 1.17 +.activity div { padding: 5px 10px; background: #fff; margin-top: 5px; } 1.18 .activity p { margin: 0; padding: 5px 10px; font-weight: bold; } 1.19 .activity a { text-decoration: none; } 1.20 .activity ul { list-style-type: none; 1.21 margin: 4px 0; padding: 0 4px; line-height: 150%; } 1.22 .activity span { color: #666; font-size: 11px; font-weight: normal; } 1.23 -.activity, .activity div { 1.24 - -moz-border-radius: 4px; 1.25 - -webkit-border-radius: 4px; 1.26 - border-radius: 4px; 1.27 -} 1.28 .activity_more { text-align: right; } 1.29 .activity_more a { font-weight: normal; color: #000; padding: 0 4px; } 1.30 .activity_more a:hover { text-decoration: underline; } 1.31 @@ -229,7 +221,8 @@ 1.32 1.33 /* Round corner */ 1.34 1.35 -#block_nav, pre, .box, .searchbox, .button a, #twitter { 1.36 +#block_nav, pre, .box, .searchbox, .button a, #twitter, .activity, 1.37 +.activity div { 1.38 -moz-border-radius: 4px; 1.39 -webkit-border-radius: 4px; 1.40 border-radius: 4px;