Html({
title => 'APL',
- version => 'v1.0',
+ version => '1.0',
description => [
],
keywords => [qw'
'],
stylesheet => [qw'light circus dark red'],
data => [qw'apl.inc.pl'],
+ raw => <<'EOT',
+<style>
+ .target tbody td:nth-child(4) ~ td,
+ :target tbody td:nth-child(4) ~ td {
+ text-align: left;
+ }
+ .target tbody td[title]::after,
+ :target tbody td[title]::after {
+ content: ': ' attr(title);
+ font-size: 75%;
+ opacity: .7;
+ }
+</style>
+EOT
});
use Shiar_Sheet::FormatChar;
<h1>APL Symbols</h1>
<div class="section">
-<table class="mapped">
+<table class="mapped" onclick="this.classList.toggle('target')">
<col><colgroup span=3><colgroup span=2>
<thead><tr>
<td rowspan=2>op
map { !!$_->[1] && qq( title="$_->[1]"), $_->[0] }
[map { EscapeHTML($_) } split /\n/, $_, 2]
) for $monad, $dyad;
- print "\n";
+ print "</td>\n";
}
:></table>