some css things, nothing we want to keep
This commit is contained in:
parent
4d32d135d8
commit
cbd748459c
3 changed files with 22 additions and 21 deletions
|
@ -1,12 +1,4 @@
|
|||
|
||||
footer {
|
||||
border-top: 2px dotted;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
header {
|
||||
border-bottom: 2px dotted;
|
||||
}
|
||||
|
||||
.skip-link {
|
||||
position: absolute;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% load static wagtailcore_tags tailwind_tags %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang="en" class="h-full antialiased">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>
|
||||
|
@ -39,15 +39,24 @@
|
|||
{% endblock %}
|
||||
</head>
|
||||
|
||||
<body class="bg-gray-50 font-serif leading-normal tracking-normal {% block body_class %}{% endblock %}">
|
||||
<body class="flex h-full bg-zinc-50 dark:bg-black {% block body_class %}{% endblock %}">
|
||||
<div class="fixed inset-0 flex justify-center sm:px-8">
|
||||
<div class="flex w-full max-w-7xl lg:px-8">
|
||||
<div class="w-full bg-white ring-1 ring-zinc-100 dark:bg-zinc-900 dark:ring-zinc-300/20"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include "includes/header.html" %}
|
||||
<div class="relative flex w-full">
|
||||
{% include "includes/header.html" %}
|
||||
|
||||
<main id="main">
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
<main id="main" class="flex w-full">
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
|
||||
{% include "includes/footer.html" %}
|
||||
|
||||
{% include "includes/footer.html" %}
|
||||
|
||||
</div>
|
||||
|
||||
{# Global javascript #}
|
||||
<script type="text/javascript" src="{% static 'js/iamkonstantin_web.js' %}"></script>
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
<a href="#main" class="skip-link">Skip to content</a>
|
||||
|
||||
{% get_site_root as site_root %}
|
||||
<nav>
|
||||
<p>
|
||||
<a href="{% pageurl site_root %}">{{ site_root.title }}</a> |
|
||||
<nav class="w-full flex justify-center my-8">
|
||||
<ul class="flex space-x-8">
|
||||
<li><a href="{% pageurl site_root %}">{{ site_root.title }}</a></li>
|
||||
{% for menuitem in site_root.get_children.live.in_menu %}
|
||||
<a href="{% pageurl menuitem %}">{{ menuitem.title }}</a>{% if not forloop.last %} | {% endif %}
|
||||
<li><a href="{% pageurl menuitem %}">{{ menuitem.title }}</a></li>
|
||||
{% endfor %}
|
||||
| <a href="/search/">Search</a>
|
||||
</p>
|
||||
<li><a href="/search/">Search</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
{% wagtailuserbar "top-right" %}
|
||||
</header>
|
Loading…
Add table
Add a link
Reference in a new issue