add class for infobox's official url

This commit is contained in:
Marc Abonce Seguin 2020-08-02 18:18:30 -07:00
parent 001eb047cd
commit 74270a3fc2
9 changed files with 38 additions and 6 deletions

View File

@ -295,12 +295,18 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
.infobox .panel-heading .panel-title {
font-weight: 700;
}
.infobox .header_url {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
}
.infobox p {
font-family: "DejaVu Serif", Georgia, Cambria, "Times New Roman", Times, serif !important;
font-style: italic;
}
.infobox img {
max-height: 250px;
max-height: "250px";
}
.infobox .btn {
background-color: #007ab8;

File diff suppressed because one or more lines are too long

View File

@ -268,12 +268,18 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
.infobox .panel-heading .panel-title {
font-weight: 700;
}
.infobox .header_url {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
}
.infobox p {
font-family: "DejaVu Serif", Georgia, Cambria, "Times New Roman", Times, serif !important;
font-style: italic;
}
.infobox img {
max-height: 250px;
max-height: "250px";
}
.infobox .btn {
background-color: #007ab8;

File diff suppressed because one or more lines are too long

View File

@ -167,6 +167,12 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
.infobox .infobox_part:last-child {
margin-bottom: 0;
}
.infobox .header_url {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
}
.search_categories,
#categories {
text-transform: capitalize;

File diff suppressed because one or more lines are too long

View File

@ -8,6 +8,13 @@
}
}
.header_url {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
}
p{
font-family: "DejaVu Serif", Georgia, Cambria, "Times New Roman", Times, serif !important;

View File

@ -12,4 +12,11 @@
.infobox_part:last-child {
margin-bottom: 0;
}
.header_url {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
}
}

View File

@ -8,7 +8,7 @@
{% endfor %}
</div>
<h4 class="panel-title"><bdi>{{ infobox.infobox }}</bdi></h4>{{- "" -}}
{% for u in infobox.urls %}{% if u.official %} <a href="{{ u.url }}">{{ u.domain }}</a>{% endif %}{% endfor %}
{% for u in infobox.urls %}{% if u.official %} <a class="header_url" href="{{ u.url }}">{{ u.url }}</a>{% endif %}{% endfor %}
</div>
</div>
<div class="panel-body">