77 lines
2.3 KiB
HTML
77 lines
2.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Ethernet-Frame</title>
|
|
<style>
|
|
html, body { margin: 0; padding: 0; background: #fff; font-family: system-ui, sans-serif; }
|
|
body { padding: 30px; display: inline-block; }
|
|
.wrap {
|
|
border: 2px solid #c2410c;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
min-width: 680px;
|
|
}
|
|
.eth-header, .fcs {
|
|
background: #fed7aa;
|
|
padding: 12px 16px;
|
|
}
|
|
.eth-header { border-bottom: 2px solid #c2410c; }
|
|
.fcs { border-top: 2px solid #c2410c; color: #7c2d12; font-weight: 600; font-size: 0.9rem; }
|
|
.header-title {
|
|
font-weight: 700;
|
|
color: #7c2d12;
|
|
margin-bottom: 8px;
|
|
font-size: 1.05rem;
|
|
}
|
|
.fields {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
border: 1px solid #c2410c;
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
background: #fff;
|
|
}
|
|
.field {
|
|
padding: 8px 12px;
|
|
border-right: 1px solid #c2410c;
|
|
font-size: 0.85rem;
|
|
}
|
|
.field:last-child { border-right: 0; }
|
|
.field-label { color: #7c2d12; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
|
|
.field-value { font-family: ui-monospace, monospace; color: #0f172a; margin-top: 2px; }
|
|
.nested {
|
|
background: #dcfce7;
|
|
border: 2px solid #15803d;
|
|
border-radius: 4px;
|
|
margin: 12px 16px;
|
|
padding: 12px 16px;
|
|
}
|
|
.nested-title { color: #14532d; font-weight: 700; font-size: 0.95rem; }
|
|
.nested-note { color: #14532d; font-size: 0.85rem; font-style: italic; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="wrap">
|
|
<div class="eth-header">
|
|
<div class="header-title">Ethernet-Header</div>
|
|
<div class="fields">
|
|
<div class="field">
|
|
<div class="field-label">Source MAC</div>
|
|
<div class="field-value">aa:bb:cc:dd:ee:ff</div>
|
|
</div>
|
|
<div class="field">
|
|
<div class="field-label">Dest MAC (Router!)</div>
|
|
<div class="field-value">11:22:33:44:55:66</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="nested">
|
|
<div class="nested-title">IP-Paket</div>
|
|
<div class="nested-note">unverändert gekapselt</div>
|
|
</div>
|
|
<div class="fcs">FCS — Frame Check Sequence (Prüfsumme)</div>
|
|
</div>
|
|
</body>
|
|
</html>
|