ui/improve css
This commit is contained in:
parent
67d96a1401
commit
9d5b5d4a2a
2 changed files with 11 additions and 2 deletions
|
@ -34,6 +34,15 @@ def renderfile():
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-family: Helvetica, Arial, sans-serif;
|
font-family: Helvetica, Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
@media screen and (max-width:720px){
|
||||||
|
body {
|
||||||
|
margin: auto !important;
|
||||||
|
padding: 5px;
|
||||||
|
max-width: 580px;
|
||||||
|
font-size: 14px;
|
||||||
|
font-family: Helvetica, Arial, sans-serif;
|
||||||
|
}
|
||||||
|
}
|
||||||
.toot {
|
.toot {
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% elif media.type in ['gifv','video','audio'] %}
|
{% elif media.type in ['gifv','video','audio'] %}
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<video controls src="{{ media.url }}" class="w-100 shadow-1-strong rounded" alt="{{ media.description }}"/></video>
|
<video controls src="{{ media.url }}" class="toot-media" alt="{{ media.description }}"/></video>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor%}
|
{% endfor%}
|
||||||
|
|
Loading…
Reference in a new issue