URLDecode: Style changes a-la-@chrismorast

master
Rob Emery 2014-10-07 08:08:55 +01:00
parent da73c6f545
commit fe29050823
2 changed files with 3 additions and 2 deletions

View File

@ -36,7 +36,7 @@ handle query_raw => sub {
}
my $text = "URL Decoded: $decoded";
my $html = '<div class="zci--urldecode"><span class="text--secondary">URL Decoded: </span><span class="text--primary url_decoded">'.html_enc($decoded).'</span></div>';
my $html = '<div class="zci--urldecode"><div class="text--primary mini-title">URL Decoded: </div><div class="text--primary url_decoded">'.html_enc($decoded).'</div></div>';
return $text, html => $html;
};

View File

@ -2,10 +2,11 @@
padding-top: 0.25em;
padding-bottom: 0.25em;
font-weight: 300;
font-size: 1.5em;
word-wrap: break-word;
}
.zci--answer .zci--urldecode .url_decoded {
white-space: pre-wrap;
font-size: 1.5em;
}