Commit 3b1c9a2c authored by onny's avatar onny
Browse files

enhanced page styling

parent 76dc9a68
......@@ -118,6 +118,18 @@ main > div {
width: 80%;
display: flex;
flex-direction: row;
justify-content: left;
margin-bottom: 30px;
}
main .sidebar {
width: 350px;
padding-top: 50px;
}
main .content {
flex: auto;
}
footer {
......
......@@ -10,7 +10,7 @@
</div>
<b><a :href="'/en/' + entry.slug">[[ entry.name ]]</a></b><br>
<span>German, 1552 - 1615<br>
41 artworks</span><br>
41 projects</span><br>
{% if authenticated %}
<button v-on:click="removeEntry('artist', [[ index ]])">Delete</button>
<button v-on:click="editEntry([[ index ]])">Edit</button>
......
......@@ -42,8 +42,9 @@
</div>
</header>
<main>
<div id="sidebar">
<main>
<div>
<div class="sidebar">
<a href="/artists">Artists</a><br>
<a href="/projects">Projects</a><br>
<a href="/entries">Entries</a><br>
......@@ -52,11 +53,12 @@
<a href="/add">Add</a><br>
{% endif %}
</div>
<div>
{% block content %}
{% endblock %}
<div class="content">
{% block content %}
{% endblock %}
</div>
</div>
</main>
</main>
<footer>
<div>
openArt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment