Initial commit
This commit is contained in:
5
template/en.html
Normal file
5
template/en.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"/>{% include 'style.html' %}<link rel="icon" type="image/png" href="/favicon.png"/><title>{{ title }}</title></head>
|
||||
<body><header><div id="logo">blankhex.com</div><nav><a href="/en/about">About</a><a href="/en/blog">Blog</a><a href="/en/projects">Projects</a></nav></header><article>{{ body }}</article><hr><footer><img style="margin:auto; display:block; max-width: 25%; height: auto;" src="/images/hex.png" alt="outline of an orange hexagon"/></footer></body>
|
||||
</html>
|
||||
5
template/none.html
Normal file
5
template/none.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"/>{% include 'style.html' %}<link rel="icon" type="image/png" href="/favicon.png"/></head>
|
||||
<body><header><div id="logo">blankhex.com</div></header><article>{{ body }}</article><hr></body>
|
||||
</html>
|
||||
5
template/ru.html
Normal file
5
template/ru.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"/>{% include 'style.html' %}<link rel="icon" type="image/png" href="/favicon.png"/><title>{{ title }}</title></head>
|
||||
<body><header><div id="logo">blankhex.com</div><nav><a href="/ru/about">Обо мне</a><a href="/ru/blog">Блог</a><a href="/ru/projects">Проекты</a></nav></header><article>{{ body }}</article><hr><footer><img style="margin:auto; display:block; max-width: 25%; height: auto;" src="/images/hex.png" alt="очертание оранжевого шестиугольника"/></footer></body>
|
||||
</html>
|
||||
16
template/style.html
Normal file
16
template/style.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<style>
|
||||
body { max-width: 45em; margin: 40px auto; padding: 0 10px; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; color: #444 }
|
||||
h1, h2, h3 { line-height:1.2 }
|
||||
header { display: flex; justify-content: space-between; }
|
||||
header > nav > a { margin-left: 1em; }
|
||||
pre { font-size: 80%; overflow-x: scroll; }
|
||||
img { display: block; margin: auto; max-width: 100%; }
|
||||
#logo { font-family: Georgia, serif; font-weight: bold; }
|
||||
{{ light_style }}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body { color: #c9d1d9; background: #0d1117 }
|
||||
a:link { color:#58a6ff }
|
||||
a:visited { color: #8e96f0 }
|
||||
{{ dark_style }}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user