Skip to content

Commit

Permalink
18.6
Browse files Browse the repository at this point in the history
[general]
- minor tweaks to enhance pagespeed results
  • Loading branch information
miermontoto committed Nov 27, 2023
1 parent 184a0fd commit 625710b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions src/content/collections/webutils/img.njk
@@ -1,9 +1,9 @@
{% addScript 'img' %}
{% addStyle 'webutils' %}

<span class="info">convert </span>
<label for="img-input" class="info">convert </label>
<input type="file" id="img-input" accept="image/png, image/jpeg, image/svg+xml, image/webp, image/ico, image/bmp" />
<span class="info"> to </span>
<label for="img-format" class="info"> to </label>
<select id="img-format">
<option value="png">png</option>
<option value="jpeg">jpg</option>
Expand All @@ -12,7 +12,7 @@
<option value="bmp">bmp</option>
</select>
<span id="img-formatInfo" class="warning hidden" title="not supported by all browsers & platforms">⚠️</span>
<br>
<br> <br>
<table id="img-options" class="disabled">
<caption>options</caption>
<thead hidden>
Expand All @@ -22,18 +22,18 @@
</tr>
</thead>
<tr id="quality">
<td class="info">quality</td>
<td><label for="qualitySlider" class="info">quality</label></td>
<td>
<input type="range" min="0" max="100" value="100" step="10" id="qualitySlider" disabled />
<span id="qualityValue">loseless</span>
</td>
</tr>
<tr id="width">
<td class="info">width</td>
<td><label for="widthInput" class="info">width</label></td>
<td><input type="number" min="0" max="5000" value="0" id="widthInput" disabled /> px</td>
</tr>
<tr id="height">
<td class="info">height</td>
<td><label for="heightInput" class="info">height</label></td>
<td><input type="number" min="0" max="5000" value="0" id="heightInput" disabled /> px</td>
</tr>
<tr id="keepRatioRow">
Expand Down
6 changes: 4 additions & 2 deletions src/static/css/app/backup.sass
Expand Up @@ -4,8 +4,10 @@ h2, h3
margin-top: 2em

#subjects
font-size: 1.1em
line-height: 1.75em
font-size: 1.15em

ul, ol
line-height: 1.8em

a // subjects
font-weight: bold
Expand Down
5 changes: 3 additions & 2 deletions src/static/css/app/webutils.sass
Expand Up @@ -34,8 +34,9 @@ body
font-style: italic

table td:nth-child(2) input
width: 60px
width: 65px
margin: 5px

#img-canvas
width: 50%
width: 70%
height: auto

0 comments on commit 625710b

Please sign in to comment.