forked from rc/aircox
		
	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 main %}
 | 
				
			||||||
                            {% block content %}
 | 
					                            {% block content %}
 | 
				
			||||||
                            {% if page and page.content %}
 | 
					                            {% if page and page.content %}
 | 
				
			||||||
                            {{ page.content|safe }}
 | 
					                            <section class="content">{{ page.content|safe }}</section>
 | 
				
			||||||
                            {% endif %}
 | 
					                            {% endif %}
 | 
				
			||||||
                            {% endblock %}
 | 
					                            {% endblock %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -10,7 +10,7 @@ Context:
 | 
				
			|||||||
{% block header_meta %}{{ block.super }}
 | 
					{% block header_meta %}{{ block.super }}
 | 
				
			||||||
<span class="column has-text-right">
 | 
					<span class="column has-text-right">
 | 
				
			||||||
    {% if page.category %}
 | 
					    {% if page.category %}
 | 
				
			||||||
    {{ page.category.title }} //
 | 
					    {{ page.category.title }}
 | 
				
			||||||
    {% endif %}
 | 
					    {% endif %}
 | 
				
			||||||
</span>
 | 
					</span>
 | 
				
			||||||
{% endblock %}
 | 
					{% endblock %}
 | 
				
			||||||
 | 
				
			|||||||
@ -8,7 +8,8 @@
 | 
				
			|||||||
{% endblock %}
 | 
					{% endblock %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% block content %}{{ block.super }}
 | 
					{% block content %}
 | 
				
			||||||
 | 
					{{ block.super }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<br>
 | 
					<br>
 | 
				
			||||||
{% with has_headline=False %}
 | 
					{% with has_headline=False %}
 | 
				
			||||||
 | 
				
			|||||||
@ -107,7 +107,7 @@ class PageListView(BasePageListView):
 | 
				
			|||||||
        return super().get_context_data(**kwargs)
 | 
					        return super().get_context_data(**kwargs)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class PageDetailView(BaseView, DetailView):
 | 
					class PageDetailView(BasePageDetailView):
 | 
				
			||||||
    """ Base view class for pages. """
 | 
					    """ Base view class for pages. """
 | 
				
			||||||
    template_name = None
 | 
					    template_name = None
 | 
				
			||||||
    context_object_name = 'page'
 | 
					    context_object_name = 'page'
 | 
				
			||||||
 | 
				
			|||||||
@ -132,6 +132,15 @@ a.navbar-item.is-active {
 | 
				
			|||||||
    p {
 | 
					    p {
 | 
				
			||||||
        padding: 0.4em 0em;
 | 
					        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