Skip to content

Commit

Permalink
demo edits
Browse files Browse the repository at this point in the history
  • Loading branch information
theorosendorf committed Sep 22, 2024
1 parent 7afea96 commit 710d016
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,23 +57,23 @@
target: "#legacy-params-0-9-9",
minWidth: 400,
maxWidth: 800,
minFontSize: 1.8,
maxFontSize: 2.4,
minLineHeight: 2,
maxLineHeight: 1,
minVariableGrade: 490,
minFontSize: 1.6,
maxFontSize: 2.0,
minLineHeight: 1.5,
maxLineHeight: 1.2,
minVariableGrade: 425,
maxVariableGrade: 400
},
{
target: "#legacy-params-0-10-0",
minWidth: 400,
maxWidth: 800,
minWidthFontSize: 2.4,
maxWidthFontSize: 1.8,
minWidthLineHeight: 1.2,
minWidthFontSize: 1.6,
maxWidthFontSize: 2.0,
minWidthLineHeight: 1.5,
maxWidthLineHeight: 1.2,
minWidthVariableGrade: 400,
maxWidthVariableGrade: 490
minWidthVariableGrade: 425,
maxWidthVariableGrade: 400
}
]);
</script>
Expand Down Expand Up @@ -101,6 +101,9 @@
#legacy-params-0-10-0 td {
border-top: 1px solid lightgray;
}
#parameters {
width: 100%;
}
</style>
</head>
<body style="overflow: scroll; padding-top: 4em">
Expand Down Expand Up @@ -132,19 +135,19 @@ <h1>Some Seriously Awful Typesetting Ahead</h1>

<div id="legacy-params-0-9-9">
<p>
With legacy parameter names from v0.9.9 — Textblock adjusts size, leading, and grades to cast
continuously responsive type. It works over your current CSS as a progressive enhancement. Some
parameter names have changed:
<u>With legacy parameter names from v0.9.9</u> — Textblock adjusts size, leading, and grades to
cast continuously responsive type. It works over your current CSS as a progressive enhancement.
Some parameter names have changed:
</p>
</div>

<div id="legacy-params-0-10-0">
<p>
With legacy parameter names from v0.10.0 — Textblock adjusts size, leading, and grades to cast
continuously responsive type. It works over your current CSS as a progressive enhancement. Some
parameter names have changed:
<u>With legacy parameter names from v0.10.0</u> — Textblock adjusts size, leading, and grades to
cast continuously responsive type. It works over your current CSS as a progressive enhancement.
Some parameter names have changed:
</p>
<table>
<table id="parameters">
<thead>
<tr>
<th>v0.9.9</th>
Expand All @@ -168,7 +171,7 @@ <h1>Some Seriously Awful Typesetting Ahead</h1>
</tr>
<tr>
<td><code>units</code></td>
<td><code></code></td>
<td><code>units</code></td>
<td><code>fontSize_Units</code></td>
<td><code>fontSizeUnits</code></td>
</tr>
Expand Down

0 comments on commit 710d016

Please sign in to comment.