mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 02:34:38 -05:00
use duckduckscrape
This commit is contained in:
parent
9162638ce8
commit
143353d4ae
1 changed files with 19 additions and 7 deletions
|
@ -134,7 +134,19 @@ summary:hover{
|
||||||
font-family: ubuntu, sans-serif;
|
font-family: ubuntu, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.search-result{
|
||||||
|
color: white;
|
||||||
|
width: 52em;
|
||||||
|
display: block;
|
||||||
|
white-space: -moz-pre-wrap !important;
|
||||||
|
white-space: -pre-wrap;
|
||||||
|
white-space: -o-pre-wrap;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
word-wrap: break-word;
|
||||||
|
white-space: -webkit-pre-wrap;
|
||||||
|
word-break: break-all;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
.hide {
|
.hide {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -445,17 +457,17 @@ Web
|
||||||
<div class="video-list" >
|
<div class="video-list" >
|
||||||
|
|
||||||
<% results.forEach(x => { %>
|
<% results.forEach(x => { %>
|
||||||
<div class="video" style="height: 6em;">
|
<div class="video" style="height: 7em;">
|
||||||
|
|
||||||
<a style="min-width: 81em;" href="<%= x.href %>"><%= x.title %></a><br>
|
<a style="min-width: 81em;" href="<%= x.url %>"><%= x.title %></a><br>
|
||||||
<p style="color:gray;display: flex;flex-direction: column;width: 48em;margin-top: -8em;"><%= x.href %><br>
|
<p style="color:gray;display: flex;flex-direction: column;width: 48em;margin-top: -8em;"><%= x.url %><br>
|
||||||
<% if (!isMobile) { %>
|
<% if (!isMobile) { %>
|
||||||
|
|
||||||
<span style="color:white;width: 48em;display: flex;"><%= x.body %></span>
|
<span class="search-result"><%- x.description %></span>
|
||||||
<% } %>
|
<% } %>
|
||||||
<% if (isMobile) { %>
|
<% if (isMobile) { %>
|
||||||
|
|
||||||
<span style="color:white;max-width: 15em;display: flex;"><%= x.body %></span>
|
<span class="search-result"><%- x.description %></span>
|
||||||
<% } %>
|
<% } %>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue