diff --git a/html/search.ejs b/html/search.ejs index 3b9c3cc..0048e29 100644 --- a/html/search.ejs +++ b/html/search.ejs @@ -94,6 +94,19 @@ summary:hover{ margin: auto; } + .shelf { + max-width: 51em; + margin: auto; + display: flex; + flex-direction: column; + row-gap: 16px; + padding: 16px; +background: #111111; +border: #333333 solid; +border-radius: 19px; +margin-top: 1em; + } + @font-face { font-family: 'Ginto Nord'; font-weight: 800; @@ -115,6 +128,11 @@ summary:hover{ line-height:24px; margin-top:12px } + + .wiki > p { + margin-top: -2em; +} + .sticky-top { position: sticky; @@ -239,51 +257,86 @@ video[counter].classList.add("shake"); <% if (Array.isArray( j.Search.Results.Video)) { %>
- +

<%=j.Search.estimatedResults.toLocaleString()%> Results (estimated)

Next Page

- -

- -
-
- <% if (j.Search.Results.DynamicItem) { %> - <% if (j.Search.Results.DynamicItem.id == "didYouMeanRenderer") { %> + +

+ <% if (j.Search.Results.DynamicItem) { %> + + <% if (j.Search.Results.DynamicItem.id == "didYouMeanRenderer") { %>

- Did you mean: <%= h.correctedQueryEndpoint.searchEndpoint.query %> ? + Did you mean: <%= h.correctedQueryEndpoint.searchEndpoint.query %> :3

- <% } %> - <% } %> + <% } %> <% } %> - - <% if (summary.extract_html) { %> -
+ +
+ + + <% if (!continuation) { %> + + <% if (summary.extract_html) { %> +
-
From da web
- +
From da web From wikipedia under CC-BY-SA 3.0 +
+
<%-summary.extract_html%> -

+ - From wikipedia under CC-BY-SA 3.0 -

+

- <% } %> + <% } %> <% } %> + + <% if (j.Search.Results.CardList) { %> + + <% if (j.Search.Results.CardList.title == "People also search for") { %> + - +
+ +

People also search for

+ + + + +
+
+ + <% } %> <% } %> + <% j.Search.Results.Video.forEach(x => { %>
@@ -306,9 +359,17 @@ video[counter].classList.add("shake");
+ + + + <% }) %> + + + + + +

- <% }) %> -

<% if (continuation) { %>