forked from rDrama/rDrama
fix unnecessary padding in headerless templates
parent
a90744145a
commit
dd9538f200
|
@ -7169,12 +7169,12 @@ input[type=number] {
|
||||||
-moz-appearance: textfield !important;
|
-moz-appearance: textfield !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
.has_header {
|
||||||
padding-top: 85.9px !important
|
padding-top: 85.9px !important
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 767.98px) {
|
@media (max-width: 767.98px) {
|
||||||
body {
|
.has_header {
|
||||||
padding-top: 74.55px !important
|
padding-top: 74.55px !important
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{%- extends 'root.html' -%}
|
{%- extends 'root.html' -%}
|
||||||
{% block pagetitle -%}Chat{%- endblock %}
|
{% block pagetitle -%}Chat{%- endblock %}
|
||||||
{% block pagetype %}chat{% endblock %}
|
{% block pagetype %}chat{% endblock %}
|
||||||
|
{% block body_attributes %}class="has_header"{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% include "header.html" %}
|
{% include "header.html" %}
|
||||||
{% include "modals/expanded_image.html" %}
|
{% include "modals/expanded_image.html" %}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{%- extends 'root.html' -%}
|
{%- extends 'root.html' -%}
|
||||||
{% block body_attributes %}id="{% if request.path != '/comments' %}{% block pagetype %}frontpage{% endblock %}{% endif %}"{% endblock %}
|
{% block body_attributes %}id="{% if request.path != '/comments' %}{% block pagetype %}frontpage{% endblock %}{% endif %}" class="has_header"{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% block banner %}
|
{% block banner %}
|
||||||
{% include "modals/expanded_image.html" %}
|
{% include "modals/expanded_image.html" %}
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
{% import 'settings/common.html' as common with context %}
|
{% import 'settings/common.html' as common with context %}
|
||||||
{% block pagetitle %}Settings{% endblock %}
|
{% block pagetitle %}Settings{% endblock %}
|
||||||
{% block pagetype %}settings{% endblock %}
|
{% block pagetype %}settings{% endblock %}
|
||||||
|
{% block body_attributes %}class="has_header"{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% include "header.html" %}
|
{% include "header.html" %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{%- extends 'root.html' -%}
|
{%- extends 'root.html' -%}
|
||||||
{% block pagetitle %}User List{% endblock %}
|
{% block pagetitle %}User List{% endblock %}
|
||||||
{% block pagetype %}settings2{% endblock %}
|
{% block pagetype %}settings2{% endblock %}
|
||||||
|
{% block body_attributes %}class="has_header"{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% include "header.html" %}
|
{% include "header.html" %}
|
||||||
{% block subNav %}
|
{% block subNav %}
|
||||||
|
|
Loading…
Reference in New Issue