djpeacher-django-projects/templates/index.html

51 wiersze
1.4 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">
<script src="https://unpkg.com/htmx.org@1.9.2"></script>
<script src="//unpkg.com/alpinejs" defer></script>
<script src="https://cdn.usefathom.com/script.js" data-site="LUCWCZEG" defer></script>
<style>
:root {
/* Default (light) theme */
--bg: #fff;
--accent-bg: #f5f5f5;
--text: #212121;
--text-light: #585858;
--border: #d8dae1;
--accent: #212121;
--code: #d81b60;
--preformatted: #444;
--marked: #ffdd33;
--disabled: #efefef;
}
/* Dark theme */
@media (prefers-color-scheme: dark) {
:root {
color-scheme: dark;
--bg: #212121;
--accent-bg: #2b2b2b;
--text: #dcdcdc;
--text-light: #ababab;
--accent: #809fff;
--code: #f06292;
--preformatted: #ccc;
--disabled: #111;
}
}
</style>
</head>
<body>
{% block index_header %}{% endblock %}
<main>
{% block index_main %}{% endblock %}
</main>
{% block index_footer %}{% endblock %}
</body>
</html>