diff --git a/src/diffenator2/templates/_base.html b/src/diffenator2/templates/_base.html index 96f9ee2..631f7e1 100644 --- a/src/diffenator2/templates/_base.html +++ b/src/diffenator2/templates/_base.html @@ -163,6 +163,14 @@ {{ font_class.render() }} {% endfor %} {% endblock %} + + #ot-panel { + max-height: 400px; + overflow-y: scroll; + background: white; + padding: 10px; + display: none; + } @@ -170,6 +178,9 @@ {% if include_ui %} {% endif %} + +
+
{% block nav %}{% endblock %}
@@ -211,6 +222,81 @@

{% block content_name %}{% endblock %}

fontToggle.addEventListener("click", switchFonts); } +// apply optional ot feats + +function buildFeatureList() { + var features = [ + 'c2sc', 'calt', 'case', 'cpsp', 'dlig', 'dnom', + 'frac', 'kern', 'liga', 'lnum', 'numr', 'onum', + 'ordn', 'pnum', 'salt', 'sinf', 'smcp', 'sups', + 'swsh', 'titl', 'tnum', 'zero', 'ss01', 'ss02', + 'ss03', 'ss04', 'ss05', 'ss06', 'ss07', 'ss08', + 'ss09', 'ss10', 'ss11', 'ss12', 'ss13', 'ss14', + 'ss15', 'ss16', 'ss17', 'ss18', 'ss19', 'ss20' + ] + + var otPanel = document.getElementById("ot-panel") + for (i=0; i
{{ font_class.class_name }} {{ pt_size }}pt
-
+
QUICK WAFTING ZEPHYRS VEX BOLD JIM.
quick wafting zephyrs vex bold jim.
$14.95