Merge pull request #578 from tiwariav/bugfix/dcl_tos_style

bugfix/dcl_tos_style
This commit is contained in:
Arvind Tiwari 2018-02-24 20:26:21 +05:30 committed by GitHub
commit 00d962a253
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 10 deletions

View file

@ -29,6 +29,10 @@
background: rgba(90, 116, 175, 0.85); background: rgba(90, 116, 175, 0.85);
} }
.dcl-cms_page-header .container {
position: relative;
}
#dcl-cms_page-text { #dcl-cms_page-text {
background: #fff; background: #fff;
} }

View file

@ -1,21 +1,18 @@
{% extends "datacenterlight/base.html" %} {% extends "datacenterlight/base.html" %}
{% load staticfiles cms_tags sekizai_tags %} {% load staticfiles cms_tags sekizai_tags %}
{% block css_extra %}
<link href="{% static 'datacenterlight/css/cms.css' %}" media="screen" rel="stylesheet" type="text/css"/>
{% endblock css_extra %}
{% block title %} {% block title %}
{% page_attribute page_title %} {% page_attribute page_title %}
{% endblock %} {% endblock %}
{% block content %} {% block content %}
{% addtoblock "css" %} <div class="dcl-cms_page-header">
<link href="{% static 'datacenterlight/css/cms.css' %}" media="screen" rel="stylesheet" type="text/css"/> <div class="container">
{% endaddtoblock %} <h1>{% page_attribute page_title %}</h1>
<div class="dcl-cms_page-full-width">
<div class="dcl-cms_page-header">
<div class="container">
<div class="single-heading">
<h2>{% page_attribute page_title %}</h2>
</div>
</div>
</div> </div>
</div> </div>