~hristoast/modding-openmw.com

74aaff8be14b4609dce669252da2e2ababf0f1cf — Hristos N. Triantafillou 21 days ago 00f969f
This as well
2 files changed, 29 insertions(+), 4 deletions(-)

M momw/momw/templates/listed_mod_table.html
M momw/static/css/site.css
M momw/momw/templates/listed_mod_table.html => momw/momw/templates/listed_mod_table.html +4 -4
@@ 4,16 4,16 @@
  <div class="mobile-hide">Author</div>
  <div class="mobile-hide">Description</div>
  {% for lm in listed_mods %}
    <div>
    <div class="modcount">
      <a class="step-num" href="{% url 'mod-list-step-detail' lm.modlist.slug lm.order_number %}">#{{ lm.order_number }}</a>
    </div>
    <div>
    <div class="modname">
      <a href="{{ lm.mod.url }}"><i class="fa fa-download"></i></a> <a href="{{ lm.mod.get_absolute_url }}">{{ lm.mod.name }}</a>{% if lm.mod.compat == 6 %} <i class="fa fa-ban" title="This mod is currently NOT compatible with the latest OpenMW!"></i>{% endif %}
    </div>
    <div class="mobile-hide">
    <div class="mobile-hide modauthor">
      {{ lm.mod.author|striptags|truncatewords:6 }}
    </div>
    <div class="mobile-hide">
    <div class="mobile-hide moddesc">
      {{ lm.mod.description|striptags|truncatewords:8 }}
    </div>
  {% endfor %}

M momw/static/css/site.css => momw/static/css/site.css +25 -0
@@ 221,6 221,27 @@ div#mod-list-detail-grid {
    grid-auto-rows: minmax(50px, auto);
}

div#mod-list-detail-grid div.modcount {
    border-left: 1px solid #e1e1e1;
    padding-left: 10px;
}

div#mod-list-detail-grid div.modname {
    border-left: 1px solid #e1e1e1;
    padding-left: 10px;
}

div#mod-list-detail-grid div.modauthor {
    border-left: 1px solid #e1e1e1;
    padding-left: 10px;
}

div#mod-list-detail-grid div.moddesc {
    border-left: 1px solid #e1e1e1;
    border-right: 1px solid #e1e1e1;
    padding-left: 10px;
}

div#mod-list-detail-grid div {
    padding-top: 10px;
    border-bottom: 1px solid #e1e1e1;


@@ 395,6 416,10 @@ button[disabled], html input[disabled] {
        border-bottom: initial;
    }

    div#mod-list-detail-grid div.modname {
        border-right: 1px solid #e1e1e1;
    }

    .mobile-hide {
        display: none;
    }