diff options
Diffstat (limited to '')
-rw-r--r-- | themes/default/template/mainpage_categories.tpl | 2 | ||||
-rw-r--r-- | themes/default/template/month_calendar.tpl | 2 | ||||
-rw-r--r-- | themes/default/theme.css | 33 |
3 files changed, 11 insertions, 26 deletions
diff --git a/themes/default/template/mainpage_categories.tpl b/themes/default/template/mainpage_categories.tpl index 15e8802d9..f4ff8f264 100644 --- a/themes/default/template/mainpage_categories.tpl +++ b/themes/default/template/mainpage_categories.tpl @@ -1,5 +1,5 @@ {strip}{html_style} -.thumbnailCategory DIV.illustration{ldelim} +.thumbnailCategory .illustration{ldelim} width: {$derivative_params->max_width()+5}px; } diff --git a/themes/default/template/month_calendar.tpl b/themes/default/template/month_calendar.tpl index 6faa653ab..904570a10 100644 --- a/themes/default/template/month_calendar.tpl +++ b/themes/default/template/month_calendar.tpl @@ -48,7 +48,7 @@ <thead> <tr> {foreach from=$chronology_calendar.month_view.wday_labels item=wday} - <td class="calDayHead">{$wday}</td> + <th>{$wday}</th> {/foreach} </tr> </thead> diff --git a/themes/default/theme.css b/themes/default/theme.css index e1be25396..18f7d967a 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -172,12 +172,6 @@ TD.calDayCellFull, TD.calDayCellEmpty { border: 1px solid gray; } -TD.calDayHead { - font-weight: bold; - font-size: 12px; - text-align: center; -} - .calImg { overflow: hidden; vertical-align: bottom; @@ -248,7 +242,7 @@ TD.calDayHead { margin: 0; } -.thumbnailCategory DIV.illustration { +.illustration {/*also used by comment lists*/ text-align: left; margin: 2px 0 0 2px; float: left; @@ -282,16 +276,7 @@ TD.calDayHead { /*width: inherit;*/ } -.commentElement .illustration { - text-align: left; - margin: 2px 0 0 2px; - float: left; -} - /* Thumbnails */ -.thumbnails SPAN.thumbLegend { - overflow: hidden;/* oversized legend is clipped */ -} /* Thumbnail "elastic" layout */ .thumbnails { @@ -314,15 +299,20 @@ TD.calDayHead { display: table-cell;/* block prevents vertical-align here */ vertical-align: middle;/* Ok with Opera and Geko not IE6 */ border-radius: 4px; /* round corners with CSS3 compliant browsers */ - -moz-border-radius: 4px; /* round corners with Geko */ - -webkit-border-radius: 4px; /* Safari webkit project */ } + .thumbnails .wrap2 A { display: block; border-bottom: 0; } .thumbnails IMG { - margin-bottom: -4px; /* why ??? something wrong with Geko and Opera ignored by IE6*/ + vertical-align: middle; +} + +.thumbnails SPAN.thumbLegend { + overflow: hidden;/* oversized legend is clipped */ + display: block; /* display: none; if you don't want legend */ + height: 4em; /* legend height (don't set auto to be Gecko friendly)*/ } /** @@ -669,11 +659,6 @@ IMG.ui-datepicker-trigger { cursor : pointer; } -/* Set defaults for thumbnails legend */ -.thumbnails SPAN.thumbLegend { - display: block; /* display: none; if you don't want legend */ - height: 4em; /* legend height (don't set auto to be Gecko friendly)*/ -} /** * Default colors |