summaryrefslogtreecommitdiff
path: root/lulua
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2020-09-06 10:54:05 +0200
committerLars-Dominik Braun <lars@6xq.net>2020-09-06 10:54:05 +0200
commit1a016bc2b8d7bbdc52f3c41fb17a5ab0ef7b6d0f (patch)
tree8461429a32c2a3315adbc49c0bdf553f30ed4043 /lulua
parentd5a45d86284bcda47b99e9561a3d6859dc3e5576 (diff)
downloadlulua-1a016bc2b8d7bbdc52f3c41fb17a5ab0ef7b6d0f.tar.gz
lulua-1a016bc2b8d7bbdc52f3c41fb17a5ab0ef7b6d0f.tar.bz2
lulua-1a016bc2b8d7bbdc52f3c41fb17a5ab0ef7b6d0f.zip
report: Add b/w PDF for printouts
Might come handy if you need a physical reference card.
Diffstat (limited to 'lulua')
-rw-r--r--lulua/data/render-svg-print.css60
-rw-r--r--lulua/data/report/index.html2
2 files changed, 62 insertions, 0 deletions
diff --git a/lulua/data/render-svg-print.css b/lulua/data/render-svg-print.css
new file mode 100644
index 0000000..fa897a7
--- /dev/null
+++ b/lulua/data/render-svg-print.css
@@ -0,0 +1,60 @@
+/* Style for printing with outlines instead of solid color faces */
+
+/* inkscape-compatibility, explicitly apply font settings to .label */
+svg, .label {
+ font-family: "IBM Plex Sans Arabic";
+ font-size: 90px;
+ font-weight: 400;
+}
+.unused {
+ opacity: 0.6;
+}
+.label .layer-1 {
+}
+.modifier .label .layer-1 {
+ font-size: 80%;
+}
+.label .layer-2, .label .layer-3, .label .layer-4 {
+ font-size: 80%;
+ font-weight: 100;
+}
+.label .controlchar {
+ font-size: 40%;
+ font-family: sans-serif;
+}
+.cap rect {
+ fill: white;
+ stroke: gray;
+ stroke-width: 2;
+}
+.highlight circle {
+}
+.cap-shadow rect.finger-little,
+.cap-shadow rect.finger-ring,
+.cap-shadow rect.finger-middle,
+.cap-shadow rect.finger-index,
+.cap-shadow rect.finger-thumb {
+ fill: white;
+}
+
+.label {
+ fill: black;
+}
+.label.shadow {
+ fill: white;
+}
+.controllabel {
+ stroke: black;
+ fill: none;
+}
+.controllabel.shadow {
+ stroke: white;
+ fill: none;
+}
+.marker line {
+ stroke: gray;
+}
+.marker line.shadow {
+ stroke: white;
+}
+
diff --git a/lulua/data/report/index.html b/lulua/data/report/index.html
index d69dc29..b894f14 100644
--- a/lulua/data/report/index.html
+++ b/lulua/data/report/index.html
@@ -85,6 +85,8 @@
<div class="lbox">
<h2>Usage</h2>
<dl>
+ <dt>Printout</dt>
+ <dd><a href="ar-lulua.pdf">PDF</a></dd>
<dt>Windows</dt>
<dd>Download <a href="ar-lulua-w64.zip">driver</a> and follow instructions in <kbd>INSTALL.txt</kbd></dd>
<dt>Android</dt>