CSS fixes, removed zci__body

master
W25 2015-02-27 08:34:19 +00:00
parent 2ed6aa7034
commit 005015962d
3 changed files with 14 additions and 5 deletions

View File

@ -135,9 +135,9 @@ handle remainder => sub {
}
# Add the header
$html = '<div class="zci__body"><span>' . $header . '</span>' .
$html = '<span>' . $header . '</span>' .
'<div class="zci__content"><table>' .
$html . '</table></div></div>';
$html . '</table></div>';
return $text, html => $html;
};

View File

@ -1,7 +1,16 @@
.zci__body, .zero_click_answer {
color: #333;
}
.name-days-country {
padding-right: 2em;
white-space: nowrap;
vertical-align: top;
width: 25%;
}
.name-days-dates {
width: 75%;
}
.name-days-country-name, .name-days-tile {

View File

@ -19,12 +19,12 @@ sub get_flag {
sub header_name {
my $query = shift;
return '<div class="zci__body"><span>Name days for <b>' . $query . '</b></span><div class="zci__content"><table>';
return '<span>Name days for <b>' . $query . '</b></span><div class="zci__content"><table>';
}
sub header_date {
my $query = shift;
return '<div class="zci__body"><span>Name days on <b>' . $query . '</b></span><div class="zci__content"><table>';
return '<span>Name days on <b>' . $query . '</b></span><div class="zci__content"><table>';
}
sub line {
@ -39,7 +39,7 @@ sub tile {
return "<div class=\"name-days-tile\"><span>$month $days</span></div>";
}
my $footer = '</table></div></div>';
my $footer = '</table></div>';