Made font size smaller in embed

This commit is contained in:
David Taylor
2016-10-08 21:49:03 +01:00
parent 0e72c3f896
commit 879ecd1f6d
3 changed files with 14 additions and 11 deletions

File diff suppressed because one or more lines are too long

View File

@@ -162,6 +162,7 @@ html.embedded{
min-height:100%; min-height:100%;
width:100%; width:100%;
} }
.source{ .source{
background: url('/static/imgs/pyrigs-avatar.png') no-repeat; background: url('/static/imgs/pyrigs-avatar.png') no-repeat;
background-size: 16px 16px; background-size: 16px 16px;
@@ -170,10 +171,12 @@ html.embedded{
h3{ h3{
margin-top:10px; margin-top:10px;
margin-bottom:10px; margin-bottom:5px;
} }
p{ p{
margin:2px 0; margin-bottom:2px;
font-size: 11px;
} }
.event-mic-photo{ .event-mic-photo{

View File

@@ -12,7 +12,6 @@
<span class="pull-right"> <span class="pull-right">
{% if object.mic %} {% if object.mic %}
<div class="text-center"> <div class="text-center">
{{ object.mic.initials }}<br/>
<img src="{{ object.mic.profile_picture }}" class="event-mic-photo"/> <img src="{{ object.mic.profile_picture }}" class="event-mic-photo"/>
</div> </div>
{% elif object.is_rig %} {% elif object.is_rig %}
@@ -27,9 +26,7 @@
{% if object.venue %} {% if object.venue %}
<small>at {{ object.venue }}</small> <small>at {{ object.venue }}</small>
{% endif %} {% endif %}
</h3> <br/><small>
<p>
{{ object.start_date|date:"D d/m/Y" }} {{ object.start_date|date:"D d/m/Y" }}
{% if object.has_start_time %} {% if object.has_start_time %}
{{ object.start_time|date:"H:i" }} {{ object.start_time|date:"H:i" }}
@@ -43,10 +40,11 @@
{% if object.has_end_time %} {% if object.has_end_time %}
{{ object.end_time|date:"H:i" }} {{ object.end_time|date:"H:i" }}
{% endif %} {% endif %}
</p> </small>
</h3>
<div class="row"> <div class="row">
<div class="col-sm-6"> <div class="col-xs-6">
<p> <p>
<strong>Status:</strong> <strong>Status:</strong>
{{ object.get_status_display }} {{ object.get_status_display }}
@@ -57,7 +55,7 @@
{% if object.organisation %} {% if object.organisation %}
for {{ object.organisation.name }} for {{ object.organisation.name }}
{% endif %} {% endif %}
{% if object.dry_hire %}</a><span class="badge">Dry Hire</span>{% endif %} {% if object.dry_hire %}(Dry Hire){% endif %}
{% else %} {% else %}
<strong>Non-Rig</strong> <strong>Non-Rig</strong>
{% endif %} {% endif %}
@@ -71,7 +69,7 @@
{% endif %} {% endif %}
</p> </p>
</div> </div>
<div class="col-sm-6"> <div class="col-xs-6">
{% if object.meet_at %} {% if object.meet_at %}
<p> <p>
@@ -92,8 +90,10 @@
</div> </div>
</div> </div>
{% if object.description %} {% if object.description %}
<p>
<strong>Description: </strong> <strong>Description: </strong>
{{ object.description|linebreaksbr }} {{ object.description|linebreaksbr }}
</p>
{% endif %} {% endif %}
</table> </table>