Skip to content
Snippets Groups Projects
Commit d2a0b127 authored by Tarje.Lavik's avatar Tarje.Lavik
Browse files

La til klasse på div rundt decode-filter og treffer p:first-child.

parent bb79f2d4
No related branches found
No related tags found
No related merge requests found
Showing
with 14 additions and 13 deletions
......@@ -24,7 +24,7 @@
</div>
<div class="col-md-9 col-sm-9 col-lg-9">
<h3><a href="{{ row.uri.value }}">{{ row.label.value }}</a></h3>
<div>{% autoescape off %}{{ row.description.value|decodedescription }}{% endautoescape %}</div>
<div class="decode-description">{% autoescape off %}{{ row.description.value|decodedescription }}{% endautoescape %}</div>
</div>
</div>
......
......@@ -20,7 +20,7 @@
<div class="col-md-9">
<h1>{% for row in models.main %}{% if row.title && row.title.value != "" %}{{row.title.value}}{% else %}{% if row.label && row.label.value != "" %}{{row.label.value}}{% else %} {{row.identifier.value}}{%endif%}{%endif%}{% endfor %} <span class="badge">{{ first.count.total.value }} topptermer</span></h1>
<div>{% autoescape off %}{{ first.description.descriptions.value|decodedescription }}{% endautoescape %}</div>
<div class="decode-description">{% autoescape off %}{{ first.description.descriptions.value|decodedescription }}{% endautoescape %}</div>
{% if first.haspart.uri.value != null %}
......
......@@ -42,7 +42,7 @@
<div class="col-md-9">
<h1>{% for row in models.main %}{% if row.title && row.title.value != "" %}{{row.title.value}}{% else %}{% if row.label && row.label.value != "" %}{{row.label.value}}{% else %} {{row.identifier.value}}{%endif%}{%endif%}{% endfor %} <span class="badge">{{ first.count.total.value }}</span></h1>
<div>{% autoescape off %}{{ first.description.descriptions.value|decodedescription }}{% endautoescape %}</div>
<div class="decode-description">{% autoescape off %}{{ first.description.descriptions.value|decodedescription }}{% endautoescape %}</div>
<hr>
{% if lodspk.query %} <h2>/ <small>"{{lodspk.query}}"</small></h2> {%else%}{%endif%}
{% if lodspk.query %}
......
......@@ -26,7 +26,7 @@
</div>
<div class="col-md-10 col-sm-10 col-lg-10">
<h3><a href="{{ row.uri.value }}">{{ row.label.value }}</a></h3>
<div>{% autoescape off %}{{ row.description.value|decodedescription }}{% endautoescape %}</div>
<div class="decode-description">{% autoescape off %}{{ row.description.value|decodedescription }}{% endautoescape %}</div>
</div>
</div>
......
......@@ -21,7 +21,7 @@
<h2 itemprop="alternativeHeadline"><small>{{first.main.alternative.value}}</small></h2>
{% endif %}
{% endfor %}
<div itemprop="description">{% autoescape off %}{{ first.description.descriptions.value|decodedescription }}{% endautoescape %}</div>
<div class="decode-description" itemprop="description">{% autoescape off %}{{ first.description.descriptions.value|decodedescription }}{% endautoescape %}</div>
{% if models.producedin|length != 0 %}
{% for row in models.producedin %}
......
......@@ -37,7 +37,7 @@
<div class="{% if row.logo %}col-md-9 col-sm-9 col-lg-9{% else %}col-sm-10 col-md-10{% endif %}">
<h3><a href="{{ row.uri.value }}">{{ row.label.value }}</a></h3>
{% if row.alternative %}<h4>{{ row.alternative.value }}</h4>{% endif %}
<div>{% autoescape off %}{{ row.description.value|decodedescription }}{% endautoescape %}</div>
<div class="decode-description">{% autoescape off %}{{ row.description.value|decodedescription }}{% endautoescape %}</div>
</div>
</div>
<div class="clearfix"></div>
......
......@@ -75,7 +75,7 @@
{%endif%}
{% for row in models.main %}
{% autoescape off %} <div>{{ row.description.value|decodedescription }}</div> {% endautoescape %}
{% autoescape off %} <div class="decode-description">{{ row.description.value|decodedescription }}</div> {% endautoescape %}
{% endfor %}
......
......@@ -70,7 +70,7 @@
<h1><span itemprop="name">{% for row in models.main %}{% if row.title && row.title.value != "" %}{{row.title.value}}{% else %}{% if row.label && row.label.value != "" %}{{row.label.value}}{% else %} {{row.identifier.value}}{%endif%}{%endif%}{% endfor %}</span> <span class="badge">{{ first.count.total.value }}</span></h1>
<div itemprop="description">{% autoescape off %}{{ first.description.descriptions.value|decodedescription }}{% endautoescape %}</div>
<div class="decode-description" itemprop="description">{% autoescape off %}{{ first.description.descriptions.value|decodedescription }}{% endautoescape %}</div>
<hr>
......
......@@ -105,7 +105,7 @@
<h1>{{ row.name.value }} <span class="badge">{{ first.count.total.value }}</span></h1>
{% endfor %}
<div> {% autoescape off %}{{first.main.description.value|decodedescription}}{% endautoescape %}</div>
<div class="decode-description"> {% autoescape off %}{{first.main.description.value|decodedescription}}{% endautoescape %}</div>
{% if first.dbpedia.sameas.dbparticle != null %}
<div class="well dbpedia">
......
......@@ -66,7 +66,7 @@
<h1>{% if first.main.title && first.main.title.value != "" %}{{first.main.title.value}}{% else %}{% if first.main.label && first.main.label.value != "" %}{{first.main.label.value}}{% else %} {{first.main.identifier.value}}{%endif%}{%endif%} <span class="badge">{{ first.count.total.value }}</span></h1>
<div>{% autoescape off %}{{ first.description.descriptions.value|decodedescription }}{% endautoescape %}</div>
<div class="decode-description">{% autoescape off %}{{ first.description.descriptions.value|decodedescription }}{% endautoescape %}</div>
{% if models.webresources|length != 0 %}
<p class="text-center"><strong class="text-muted">Nettsider</strong><br>
......
......@@ -143,7 +143,7 @@
</div>
{% endif %}
{% if first.main.description.value %}<div itemprop="http://schema.org/description">{{first.main.description.value|decodedescription}}</div>{% endif %}
{% if first.main.description.value %}<div class="decode-description" itemprop="http://schema.org/description">{{first.main.description.value|decodedescription}}</div>{% endif %}
<p>{% if first.main.altname %}Også kjent som: <ul class="list-inline text-muted">{% for row in models.main %}{% ifchanged row.name.value %}<li><i>{{row.altname.value}}</i></li>{% endifchanged %}{% endfor %}</ul>{% endif %}</p>
......
......@@ -119,7 +119,7 @@
</div>
{% endif %}
{% if first.main.description.value %}<div itemprop="http://schema.org/description">{{first.main.description.value|decodedescription}}</div>{% endif %}
{% if first.main.description.value %}<div class="decode-description" itemprop="http://schema.org/description">{{first.main.description.value|decodedescription}}</div>{% endif %}
<p>{% if first.main.altname %}Også kjent som: <ul class="list-inline text-muted">{% for row in models.main %}{% ifchanged row.name.value %}<li><i>{{row.altname.value}}</i></li>{% endifchanged %}{% endfor %}</ul>{% endif %}</p>
......
.main-body { padding-bottom: 40px; }
.marcus-block-margin {
.marcus-block-margin {
margin-top: 40px;
padding-top: 30px;
}
......@@ -129,6 +129,7 @@
}
.lead-md { margin-bottom: 20px; font-size: 16.09999999998px; font-weight: 200; line-height: 1.4;}
.decode-description p:first-child { font-size: : 21px; }
.bs-sidebar { position: fixed; top: 90px; width: 265px;}
.bs-sidebar h3 {border-bottom: solid 1px #ddd; padding-bottom: 5px; font-size: 1.4em;}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment