Implemented new Natalie design

pull/1059/head
Natalie Downe 2020-10-27 11:40:08 -07:00 zatwierdzone przez Simon Willison
rodzic 6dff22eff8
commit df19a48a3b
3 zmienionych plików z 12 dodań i 9 usunięć

Wyświetl plik

@ -210,7 +210,7 @@ ol.spaced {
margin-bottom: 0.8rem;
}
ul.bullets {
padding-left: 0.9rem;
padding-left: 1.25rem;
}
ul.bullets li,
ul.spaced li,
@ -290,7 +290,9 @@ section.content {
}
/* Footer */
footer {
margin-top: 1rem;
}
/* Components ============================================================== */
@ -568,6 +570,7 @@ form button[type=button] {
width: auto;
display: inline-block;
box-shadow: 1px 2px 8px 2px rgba(0,0,0,0.08);
background-color: white;
}
.download-sqlite em {

Wyświetl plik

@ -14,7 +14,7 @@
</head>
<body class="{% block body_class %}{% endblock %}">
<nav class="hd">{% block nav %}
<header><nav>{% block nav %}
{% if actor %}
<div class="logout">
<strong>{{ display_actor(actor) }}</strong>{% if show_logout %} &middot;
@ -24,9 +24,9 @@
</form>{% endif %}
</div>
{% endif %}
{% endblock %}</nav>
{% endblock %}</nav></header>
<div class="bd">
<section class="content">
{% block messages %}
{% if show_messages %}
{% for message, message_type in show_messages() %}
@ -37,9 +37,9 @@
{% block content %}
{% endblock %}
</div>
</section>
<div class="ft">{% block footer %}{% include "_footer.html" %}{% endblock %}</div>
<footer class="ft">{% block footer %}{% include "_footer.html" %}{% endblock %}</footer>
{% for body_script in body_scripts %}
<script>{{ body_script }}</script>

Wyświetl plik

@ -49,7 +49,7 @@
{% if views %}
<h2 id="views">Views</h2>
<ul>
<ul class="bullets">
{% for view in views %}
<li><a href="{{ urls.database(database) }}/{{ view.name|urlencode }}">{{ view.name }}</a>{% if view.private %} 🔒{% endif %}</li>
{% endfor %}
@ -58,7 +58,7 @@
{% if queries %}
<h2 id="queries">Queries</h2>
<ul>
<ul class="bullets">
{% for query in queries %}
<li><a href="{{ urls.query(database, query.name) }}{% if query.fragment %}#{{ query.fragment }}{% endif %}" title="{{ query.description or query.sql }}">{{ query.title or query.name }}</a>{% if query.private %} 🔒{% endif %}</li>
{% endfor %}