URLEncode: Making consistent style-wise with URLDecode

master
Rob Emery 2014-10-07 19:09:04 +01:00
parent 6b9f116654
commit 8b0d4d1697
2 changed files with 5 additions and 2 deletions

View File

@ -28,7 +28,7 @@ handle remainder => sub {
my $encoded_url = encodeURIComponent($_);
my $text = "Percent-encoded URL: $encoded_url";
my $html = qq(<div class="zci--urlencode"><span class="text--secondary">Percent-encoded URL: </span><span class="text--primary">$encoded_url</span></div>);
my $html = qq(<div class="zci--urlencode"><div class="text--secondary mini-title">Percent-encoded URL: </div><div class="text--primary url_encoded">$encoded_url</div></div>);
return $text, html => $html;
};

View File

@ -2,6 +2,9 @@
padding-top: 0.25em;
padding-bottom: 0.25em;
font-weight: 300;
font-size: 1.5em;
word-wrap:break-word;
}
.zci--answer .zci--urlencode .url_encoded {
font-size: 1.5em;
}