Skip to content

Commit 5ee395b

Browse files
Merge pull request #114 from borgbackup/tweaks2
index2.html: navbar/footer touch targets + copy & demo tweaks
2 parents 7ebce09 + d0e7471 commit 5ee395b

1 file changed

Lines changed: 21 additions & 11 deletions

File tree

index2.html

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,19 @@
132132
header.top nav ol {
133133
display: flex;
134134
flex-wrap: wrap;
135-
gap: 0.25rem 1.1rem;
135+
/* column gap grows with viewport width: tight on narrow screens,
136+
roomier when there is plenty of horizontal space */
137+
gap: 0.25rem clamp(0.4rem, 1.5vw, 1.7rem);
136138
margin: 0;
137139
padding: 0;
138140
list-style: none;
139141
}
140142

141143
header.top nav a {
144+
display: inline-flex;
145+
align-items: center;
146+
/* generous padding for a larger, easier touch target */
147+
padding: 0.5rem 0.55rem;
142148
font-size: 1.00rem;
143149
font-weight: bold;
144150
letter-spacing: 0.04em;
@@ -656,16 +662,18 @@
656662
display: flex;
657663
flex-wrap: wrap;
658664
justify-content: center;
659-
gap: 0.5rem 1.6rem;
665+
/* column gap grows with viewport width, like the header nav */
666+
gap: 0.5rem clamp(0.6rem, 1.5vw, 1.8rem);
660667
margin-bottom: 1.6rem;
661668
font-size: 0.85rem;
662669
font-weight: bold;
663670
}
664671

665-
footer .check {
666-
color: var(--green);
667-
font-size: 0.95rem;
668-
margin-bottom: 1rem;
672+
footer .links a {
673+
display: inline-flex;
674+
align-items: center;
675+
/* generous padding for a larger, easier touch target */
676+
padding: 0.5rem 0.55rem;
669677
}
670678

671679
footer .legal { color: var(--text-dim); font-size: 0.72rem; line-height: 1.7; }
@@ -1006,7 +1014,7 @@ <h2>Talk to the collective, right here.</h2>
10061014
required during times of high spam activity. Be patient after asking — people reply
10071015
when they see it.</p>
10081016
<button class="connect" type="button" id="chatConnect">
1009-
<span class="play" aria-hidden="true"></span> Connect to the channel
1017+
<span class="play" aria-hidden="true"></span> Open a channel!
10101018
</button>
10111019
<p class="fine">Loads web.libera.chat in a frame and connects you to the channel.</p>
10121020
</div>
@@ -1133,7 +1141,6 @@ <h2>Trusted by sysadmins, hoarders and the merely paranoid.</h2>
11331141
<a class="ext" href="https://github.com/borgbackup/community">Community</a>
11341142
<a class="ext" href="https://github.com/borgbackup/borg">Contribute</a>
11351143
</div>
1136-
<p class="check">… and always check your backups!</p>
11371144
<p class="legal">BorgBackup is free software, distributed under the BSD license.<br/>
11381145
Terminal output and dedup figures above are illustrative.</p>
11391146
</footer>
@@ -1676,15 +1683,18 @@ <h2>Trusted by sysadmins, hoarders and the merely paranoid.</h2>
16761683
(function terminal() {
16771684
const out = document.getElementById('termOut');
16781685
const lines = [
1679-
{ type: 'cmd', text: 'borg create --stats --compression zstd backup:repo::{now} ~/work' },
1686+
{ type: 'cmd', text: 'export BORG_REPO=/media/BACKUPHDD/borg-repo' },
1687+
{ type: 'out', text: '' },
1688+
{ type: 'cmd', text: 'borg create --stats --compression zstd backup-work ~/work' },
16801689
{ type: 'out', text: '------------------------------------------------------------------------------' },
1681-
{ type: 'out', text: 'Archive name: 2026-06-13T03:14:07' },
1690+
{ type: 'out', text: 'Archive name: backup-work' },
16821691
{ type: 'out', text: 'Number of files: 173429' },
16831692
{ type: 'out', text: ' Original size Compressed size Deduplicated size' },
16841693
{ type: 'hl', text: 'This archive: 47.30 GB 21.07 GB 92.51 MB' },
16851694
{ type: 'out', text: 'All archives: 892.07 GB 412.86 GB 29.74 GB' },
16861695
{ type: 'out', text: '------------------------------------------------------------------------------' },
1687-
{ type: 'cmd', text: 'borg check backup:repo', comment: ' # … and always check your backups!' },
1696+
{ type: 'out', text: '' },
1697+
{ type: 'cmd', text: 'borg check --verbose', comment: ' # … and always check your backups!' },
16881698
{ type: 'out', text: '' },
16891699
];
16901700

0 commit comments

Comments
 (0)