Tweak CSS

master
David Wilkins 2014-06-18 16:35:07 +08:00
parent ac8089d0e0
commit f689c882db
2 changed files with 7 additions and 4 deletions

View File

@ -57,6 +57,6 @@ sub append_css {
sub wrap_html {
my ($label, $sequence) = @_;
return append_css("<div class='zci--reversecomplement'><span class='label'>$label</span> $sequence</div>");
return append_css("<div class='zci--reversecomplement'><div class='label'>$label</div><div class='sequence'>$sequence</div></div>");
}
1;

View File

@ -1,12 +1,15 @@
.zci--answer .zci--reversecomplement {
font-size: 1.5em;
font-weight: 300;
padding-top: .25em;
padding-bottom: .25em;
/*color: #393939;*/
word-wrap: break-word;
}
.zci--answer .zci--reversecomplement .label {
font-size: 1.1em;
color: #808080;
}
.zci--answer .zci--reversecomplement .sequence {
font-size: 1.5em;
word-wrap: break-word;
}