content css
This commit is contained in:
		
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@ -93,7 +93,7 @@ Usefull context:
 | 
			
		||||
                        {% block main %}
 | 
			
		||||
                            {% block content %}
 | 
			
		||||
                            {% if page and page.content %}
 | 
			
		||||
                            {{ page.content|safe }}
 | 
			
		||||
                            <section class="content">{{ page.content|safe }}</section>
 | 
			
		||||
                            {% endif %}
 | 
			
		||||
                            {% endblock %}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -10,7 +10,7 @@ Context:
 | 
			
		||||
{% block header_meta %}{{ block.super }}
 | 
			
		||||
<span class="column has-text-right">
 | 
			
		||||
    {% if page.category %}
 | 
			
		||||
    {{ page.category.title }} //
 | 
			
		||||
    {{ page.category.title }}
 | 
			
		||||
    {% endif %}
 | 
			
		||||
</span>
 | 
			
		||||
{% endblock %}
 | 
			
		||||
 | 
			
		||||
@ -8,7 +8,8 @@
 | 
			
		||||
{% endblock %}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{% block content %}{{ block.super }}
 | 
			
		||||
{% block content %}
 | 
			
		||||
{{ block.super }}
 | 
			
		||||
 | 
			
		||||
<br>
 | 
			
		||||
{% with has_headline=False %}
 | 
			
		||||
 | 
			
		||||
@ -107,7 +107,7 @@ class PageListView(BasePageListView):
 | 
			
		||||
        return super().get_context_data(**kwargs)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class PageDetailView(BaseView, DetailView):
 | 
			
		||||
class PageDetailView(BasePageDetailView):
 | 
			
		||||
    """ Base view class for pages. """
 | 
			
		||||
    template_name = None
 | 
			
		||||
    context_object_name = 'page'
 | 
			
		||||
 | 
			
		||||
@ -132,6 +132,15 @@ a.navbar-item.is-active {
 | 
			
		||||
    p {
 | 
			
		||||
        padding: 0.4em 0em;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .content {
 | 
			
		||||
        .h1 { font-size: 2em; font-weight: bolder; }
 | 
			
		||||
        .h2 { font-size: 1.5em; font-weight: bolder; }
 | 
			
		||||
        .h3 { font-size: 1.17em; font-weight: bolder; }
 | 
			
		||||
        .h4 { font-size: 1em; font-weight: bolder; }
 | 
			
		||||
        .h5 { font-size: 0.83em; font-weight: bolder; }
 | 
			
		||||
        .h6 { font-size: 0.67em; font-weight: bolder; }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user