mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
add class for infobox's official url
This commit is contained in:
parent
001eb047cd
commit
74270a3fc2
@ -295,12 +295,18 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
|
|||||||
.infobox .panel-heading .panel-title {
|
.infobox .panel-heading .panel-title {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
.infobox .header_url {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
.infobox p {
|
.infobox p {
|
||||||
font-family: "DejaVu Serif", Georgia, Cambria, "Times New Roman", Times, serif !important;
|
font-family: "DejaVu Serif", Georgia, Cambria, "Times New Roman", Times, serif !important;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
.infobox img {
|
.infobox img {
|
||||||
max-height: 250px;
|
max-height: "250px";
|
||||||
}
|
}
|
||||||
.infobox .btn {
|
.infobox .btn {
|
||||||
background-color: #007ab8;
|
background-color: #007ab8;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -268,12 +268,18 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
|
|||||||
.infobox .panel-heading .panel-title {
|
.infobox .panel-heading .panel-title {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
.infobox .header_url {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
.infobox p {
|
.infobox p {
|
||||||
font-family: "DejaVu Serif", Georgia, Cambria, "Times New Roman", Times, serif !important;
|
font-family: "DejaVu Serif", Georgia, Cambria, "Times New Roman", Times, serif !important;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
.infobox img {
|
.infobox img {
|
||||||
max-height: 250px;
|
max-height: "250px";
|
||||||
}
|
}
|
||||||
.infobox .btn {
|
.infobox .btn {
|
||||||
background-color: #007ab8;
|
background-color: #007ab8;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -167,6 +167,12 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
|
|||||||
.infobox .infobox_part:last-child {
|
.infobox .infobox_part:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
.infobox .header_url {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
.search_categories,
|
.search_categories,
|
||||||
#categories {
|
#categories {
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -8,6 +8,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header_url {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
p{
|
p{
|
||||||
font-family: "DejaVu Serif", Georgia, Cambria, "Times New Roman", Times, serif !important;
|
font-family: "DejaVu Serif", Georgia, Cambria, "Times New Roman", Times, serif !important;
|
||||||
|
@ -12,4 +12,11 @@
|
|||||||
.infobox_part:last-child {
|
.infobox_part:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header_url {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
<h4 class="panel-title"><bdi>{{ infobox.infobox }}</bdi></h4>{{- "" -}}
|
<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>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
Loading…
Reference in New Issue
Block a user