Files
blog/src/templates/note.html
2025-02-04 22:55:28 +01:00

56 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
html {
font-family: Arial, sans-serif;
font-size: 1.3em;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
@media screen and (max-width: 800px) {
html {
font-size: 0.9em;
}
}
body {
max-width: 800px;
color: #fbfbfe;
background-color: #1c1b22;
display: flex;
flex-direction: column;
align-items: center;
}
img {
max-width: 100%;
border-radius: 8px;
}
p{
margin: 20px;
margin-top: 20px;
margin-bottom: 0px;
}
h1, h2, h3, h4, h5, h6 {
margin: 20px;
margin-bottom: 0px;
text-transform: capitalize;
}
h1 + p:has(> i) {
font-size: smaller;
margin-top: 10px;
}
p:has(> img) + p:has(> i) {
font-size: smaller;
margin-top: 0px;
}
</style>
</head>
<body>
{{markdown}}
</body>
</html>