Commit d070dcbd authored by Leila's avatar Leila
Browse files

search Ideas for the contact page

parent cb74431b
Pipeline #409 skipped
......@@ -5288,3 +5288,8 @@ main {
font-family: 'Bellota';
src: url("../fonts/bootstrap/../Bellota-Regular-webfont.eot");
src: url("../fonts/bootstrap/../Bellota-Regular-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/bootstrap/../Bellota-Regular-webfont.woff") format("woff"), url("../fonts/bootstrap/../Bellota-Regular-webfont.ttf") format("truetype"), url("../fonts/bootstrap/../Bellota-Regular-webfont.svg#Bellota") format("svg"); }
main {
min-height: 100%; }
.container-fluid {
margin-top: -50px; }
......@@ -48,7 +48,7 @@
</div><!--/.nav-collapse -->
</div>
</nav>
<main>
<main style="height:100%">
{% block content %}
{% endblock %}
</main>
......
......@@ -2,22 +2,24 @@
{% load staticfiles %}
{% block content %}
<div class="title-article">
<h2>{{object.title}}</h2>
<div class="container-fluid" style="height:90%;">
<div class="title-article">
<h2>{{object.title}}</h2>
</div>
<small>publish on {{object.publish_on}} by {{object.author}}</small></br>
{% for part in object.parts.all %}
{% if part.type == 'left' %}
<img style="max-width: 40%; padding:5px; float:left;" src="{{part.pic.url}}" >
{% elif part.type == 'right' %}
<img style="max-width:40%; padding:5px; float:right;" src="{{part.pic.url}}" >
{% elif part.type == 'pic' %}
<div src="{{part.pic}}" ></div><p></p>
{% endif %}
{% if part.type != 'pic' and part.type != '2pics' and part.type != '3pics' %}
{{part.text|linebreaks}}
{% endif %}
<div class="clearfix"></div>
{% endfor %}
</div>
<small>publish on {{object.publish_on}} by {{object.author}}</small></br>
{% for part in object.parts.all %}
{% if part.type == 'left' %}
<img style="max-width: 40%; padding:5px; float:left;" src="{{part.pic.url}}" >
{% elif part.type == 'right' %}
<img style="max-width:40%; padding:5px; float:right;" src="{{part.pic.url}}" >
{% elif part.type == 'pic' %}
<div src="{{part.pic}}" ></div><p></p>
{% endif %}
{% if part.type != 'pic' and part.type != '2pics' and part.type != '3pics' %}
{{part.text|linebreaks}}
{% endif %}
<div class="clearfix"></div>
{% endfor %}
{% endblock %}
main {
min-height: 100%;
}
.container-fluid {
margin-top: -50px;
}
......@@ -5,3 +5,4 @@
@import "post";
@import "FontleroyBrown-webfont";
@import "bellota";
@import "details";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment