Skip to content

Commit

Permalink
windows/microsoft: add padding to the "terminal lines"
Browse files Browse the repository at this point in the history
To make them easier to read
  • Loading branch information
bagder committed Sep 2, 2024
1 parent be910f2 commit 1a1f729
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion windows/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ all: $(PAGES)
index.html: _index.html $(MAINPARTS) files.gen
$(ACTION)

microsoft.html: _microsoft.html $(MAINPARTS)
microsoft.html: _microsoft.html $(MAINPARTS) term.t
$(ACTION)

files.gen: mkfiles.pl latest.txt
Expand Down
16 changes: 9 additions & 7 deletions windows/_microsoft.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
<html>
<head> <title>curl shipped by Microsoft</title>
#include "css.t"
#include "term.t"
</head>

#define CURL_URL /windows/microsoft.html
#define CURL_URL /windows/microsoft.html
#define WINDOWS_MS

#include "_menu.html"
Expand Down Expand Up @@ -36,12 +38,12 @@
Invoking curl -V after the <b>June 2024</b> update shows this on these
platforms:
<p>
<pre style="white-space: pre-wrap; word-break: keep-all; color: #e0e080; background: #000000; padding: 8px 8px 8px 8px;">
curl 8.7.1 (Windows) libcurl/8.7.1 Schannel zlib/1.3 WinIDN
Release-Date: 2024-03-27
Protocols: dict file ftp ftps http https imap imaps ipfs ipns mqtt pop3 pop3s smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS HSTS HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM SPNEGO SSL SSPI threadsafe Unicode UnixSockets
</pre>
<div class="term">
<div class="tline">curl 8.7.1 (Windows) libcurl/8.7.1 Schannel zlib/1.3 WinIDN</div>
<div class="tline">Release-Date: 2024-03-27</div>
<div class="tline">Protocols: dict file ftp ftps http https imap imaps ipfs ipns mqtt pop3 pop3s smb smbs smtp smtps telnet tftp</div>
<div class="tline">Features: alt-svc AsynchDNS HSTS HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM SPNEGO SSL SSPI threadsafe Unicode UnixSockets</div>
</div>

SUBTITLE(Disabled features)
<p>
Expand Down
9 changes: 9 additions & 0 deletions windows/term.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.tline {
padding-bottom: 8px;
font-family: monospace;
}
.term {
color: #e0e080;
background: #000000;
padding: 8px 8px 0px 8px;
}
1 change: 1 addition & 0 deletions windows/term.t
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<link rel="stylesheet" type="text/css" href="term.css">

0 comments on commit 1a1f729

Please sign in to comment.