Skip to content
Snippets Groups Projects
Commit 397ad963 authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

Fixed #18 - Improve page selection styling

parent d558883b
No related branches found
No related tags found
No related merge requests found
...@@ -52,3 +52,26 @@ body { ...@@ -52,3 +52,26 @@ body {
margin: auto; margin: auto;
text-align: center; text-align: center;
} }
.spacer {
margin-bottom: 5vmin;
}
.page-item {
display: block;
background-color: #616161;
text-align: center;
border-radius: 1vh;
margin: 2vmin;
padding: 2vmin;
text-decoration: none;
color: white;
font-size: 1.5rem;
}
@media (max-width: 600px) {
.content {
width: 90%;
}
}
\ No newline at end of file
...@@ -10,11 +10,10 @@ ...@@ -10,11 +10,10 @@
<div class="main"> <div class="main">
<div class="content"> <div class="content">
<h2>Available Pages</h2> <h2>Available Pages</h2>
<ul> <div class="spacer"></div>
{% for name in pageNames %} {% for name in pageNames %}
<li><a href="{{ url_for("routes.show_page", pageName=name) }}">{{ name }}</a></li> <a class="page-item" href="{{ url_for("routes.show_page", pageName=name) }}">{{ name }}</a>
{% endfor %} {% endfor %}
</ul>
</div> </div>
</div> </div>
</body> </body>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment