Commit 80b17217 authored by fred's avatar fred

adapt topik "large style" for "oh vol"

parent 7f9ed36b
......@@ -1782,8 +1782,23 @@ div.topikcellcontent.topik-large a {
}
div.topikcellcontent.topik-large img {
float: left;
margin-right: 1em;
width: 100%;
display: block;
}
div.topikcellcontent.topik-large a div {
@media screen and (min-width: 760px) {
display: flex;
}
margin-top: 1ex;
h2 {
margin-top: 0;
white-space: nowrap;
margin-right: 1ex;
@media screen and (max-width: 760px) {
padding-bottom: 0;
}
}
}
div.topikcellcontent a {
......
......@@ -4,7 +4,7 @@
<a class="block cf" href="{{cell.topik.page.get_online_url}}">
<span class="logo">
{% if cell.slug == "large" %}
{% thumbnail cell.topik.image "480x320" crop="50% 25%" as im %}
{% thumbnail cell.topik.image "800x450" crop="50% 25%" as im %}
<div class="logo">
<img class="normal" src="{{im.url}}"/>
</div>
......
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