Blog: Fix and css cleanup

This commit is contained in:
2018-09-16 02:04:14 +02:00
parent 845ba953cb
commit baf27fa560
2 changed files with 1 additions and 29 deletions

View File

@@ -430,34 +430,6 @@
text-decoration: none text-decoration: none
color: $color-primary color: $color-primary
.blog-archive-navigation
+media-xs
font-size: 1em
max-width: initial
border-bottom: thin solid $color-background-dark
display: flex
font:
size: 1.2em
weight: 300
margin: 0 auto
max-width: 780px
text-align: center
+text-overflow-ellipsis
&:last-child
border: none
a, span
+media-xs
padding: 10px
flex: 1
padding: 25px 15px
span
color: $color-text-dark-secondary
pointer-events: none
// Specific tweaks for blogs in the context of a project. // Specific tweaks for blogs in the context of a project.
#project_context #project_context

View File

@@ -11,7 +11,7 @@
| {% endblock navigation_tabs %} | {% endblock navigation_tabs %}
| {% block body %} | {% block body %}
| {{ blogmacros.render_blog_index(project, posts, can_create_blog_posts, api, more_posts_available, posts_meta, pages=pages) }} | {{ blogmacros.render_blog_index(node, project, posts, can_create_blog_posts, api, more_posts_available, posts_meta, pages=pages) }}
| {% endblock %} | {% endblock %}
| {% block footer_scripts %} | {% block footer_scripts %}