mirror of
https://github.com/Kaffesky/kaffesky-markdown-templates.git
synced 2026-04-18 17:27:31 +02:00
55 lines
1.1 KiB
HTML
55 lines
1.1 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<meta charset="UTF-8" />
|
||
|
|
<link rel="stylesheet" href="style.css" />
|
||
|
|
<style>
|
||
|
|
html, body {
|
||
|
|
height: 100%;
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
max-width: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
body {
|
||
|
|
display: flex;
|
||
|
|
align-items: flex-end; /* pin content to bottom of the header zone */
|
||
|
|
padding: 0 10vw 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.header-inner {
|
||
|
|
width: 100%;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
border-bottom: 1px solid var(--c-rule);
|
||
|
|
padding-bottom: 6px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.header-title {
|
||
|
|
font-size: var(--text-xs);
|
||
|
|
font-weight: 500;
|
||
|
|
color: var(--c-muted);
|
||
|
|
letter-spacing: 0.04em;
|
||
|
|
white-space: nowrap;
|
||
|
|
overflow: hidden;
|
||
|
|
text-overflow: ellipsis;
|
||
|
|
}
|
||
|
|
|
||
|
|
.header-dot {
|
||
|
|
width: 4px;
|
||
|
|
height: 4px;
|
||
|
|
border-radius: 50%;
|
||
|
|
background: var(--c-accent);
|
||
|
|
flex-shrink: 0;
|
||
|
|
}
|
||
|
|
</style>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<div class="header-inner">
|
||
|
|
<span class="header-title" data-title></span>
|
||
|
|
<div class="header-dot"></div>
|
||
|
|
</div>
|
||
|
|
</body>
|
||
|
|
</html>
|