223015c demos: port-grafik baseline-fix, handshake-caption vervollständigt, dingbat raus

This commit is contained in:
2026-06-17 12:03:38 +02:00
parent 613f37983e
commit 841d8b5944
4 changed files with 18 additions and 13 deletions
+16 -11
View File
@@ -5,18 +5,17 @@
<title>Port-Highlight</title> <title>Port-Highlight</title>
<style> <style>
html, body { margin: 0; padding: 0; background: #fff; font-family: system-ui, sans-serif; } html, body { margin: 0; padding: 0; background: #fff; font-family: system-ui, sans-serif; }
body { padding: 28px 40px; display: inline-block; } body { padding: 28px 40px 110px; display: inline-block; }
.line { .line {
font-family: ui-monospace, "SF Mono", monospace; font-family: ui-monospace, "SF Mono", monospace;
font-size: 2.2rem; font-size: 2.2rem;
color: #1a1a2e; color: #1a1a2e;
display: flex; display: flex;
align-items: center; align-items: baseline;
} }
.port-wrap { .port-wrap {
display: inline-flex; position: relative;
flex-direction: column; display: inline-block;
align-items: center;
margin-left: 4px; margin-left: 4px;
} }
.port { .port {
@@ -26,11 +25,20 @@
border-radius: 4px; border-radius: 4px;
font-weight: 700; font-weight: 700;
} }
.below {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
display: flex;
flex-direction: column;
align-items: center;
margin-top: 4px;
}
.connector { .connector {
width: 2px; width: 2px;
height: 18px; height: 18px;
background: #c2410c; background: #c2410c;
margin-top: 4px;
} }
.caption-text { .caption-text {
background: #fed7aa; background: #fed7aa;
@@ -42,16 +50,13 @@
font-size: 1rem; font-size: 1rem;
font-family: system-ui, sans-serif; font-family: system-ui, sans-serif;
margin-top: 2px; margin-top: 2px;
white-space: nowrap;
} }
</style> </style>
</head> </head>
<body> <body>
<div class="line"> <div class="line">
212.132.79.37:<div class="port-wrap"> 212.132.79.37:<span class="port-wrap"><span class="port">443</span><span class="below"><span class="connector"></span><span class="caption-text">Port 443 = HTTPS</span></span></span>
<span class="port">443</span>
<div class="connector"></div>
<div class="caption-text">Port 443 = HTTPS</div>
</div>
</div> </div>
</body> </body>
</html> </html>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

@@ -104,7 +104,7 @@
<!-- SYN-ACK --> <!-- SYN-ACK -->
<div class="msg arrow-left msg-reverse" style="left: 83px; right: 80px; top: 180px;"> <div class="msg arrow-left msg-reverse" style="left: 83px; right: 80px; top: 180px;">
<div class="label reply" style="left: 50%; transform: translateX(-50%);">SYN-ACK · Seq=5000, Ack=1001</div> <div class="label reply" style="left: 50%; transform: translateX(-50%);">SYN-ACK · Seq=5000, Ack=1001</div>
<div class="quote" style="left: 50%; transform: translateX(-50%);">"OK, ich starte bei 5000"</div> <div class="quote" style="left: 50%; transform: translateX(-50%);">"OK, ich starte bei 5000 und erwarte 1001"</div>
</div> </div>
<!-- ACK --> <!-- ACK -->
@@ -113,7 +113,7 @@
<div class="quote" style="left: 50%; transform: translateX(-50%);">"Verstanden, los geht's"</div> <div class="quote" style="left: 50%; transform: translateX(-50%);">"Verstanden, los geht's"</div>
</div> </div>
<div class="final">✓ Verbindung steht</div> <div class="final">Verbindung steht</div>
</div> </div>
</body> </body>
</html> </html>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 63 KiB