aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/search.html
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-09-06 14:23:20 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-09-06 14:23:20 -0700
commitca49ab170fb44a91c2017078765fd67692f17e9f (patch)
tree0107bdf9bd712eac85993d712bc9b35ba774e4b0 /youtube/templates/search.html
parent0c22835dd214dc71e5cd085c5549ffe8dcf7f657 (diff)
parente9b16ef71fc25f12e26da79392fa91ae30aabe5d (diff)
downloadyt-local-ca49ab170fb44a91c2017078765fd67692f17e9f.tar.lz
yt-local-ca49ab170fb44a91c2017078765fd67692f17e9f.tar.xz
yt-local-ca49ab170fb44a91c2017078765fd67692f17e9f.zip
Merge branch 'layout'
Diffstat (limited to 'youtube/templates/search.html')
-rw-r--r--youtube/templates/search.html34
1 files changed, 11 insertions, 23 deletions
diff --git a/youtube/templates/search.html b/youtube/templates/search.html
index 782a85e..63f930e 100644
--- a/youtube/templates/search.html
+++ b/youtube/templates/search.html
@@ -3,31 +3,19 @@
{% extends "base.html" %}
{% import "common_elements.html" as common_elements %}
{% block style %}
- main{
- display:grid;
- grid-template-columns: minmax(0px, 1fr) 800px minmax(0px,2fr);
- max-width:100vw;
- }
-
-
+ main > * {
+ max-width: 800px;
+ margin: auto;
+ }
+ #result-info{
+ }
#number-of-results{
font-weight:bold;
}
- #result-info{
- grid-row: 1;
- grid-column:2;
- align-self:center;
- }
- .page-button-row{
- grid-column: 2;
- justify-self: center;
- }
-
-
- .item-list{
- grid-row: 2;
- grid-column: 2;
- }
+ .item-list{
+ padding-left: 10px;
+ padding-right: 10px;
+ }
.badge{
background-color:#cccccc;
}
@@ -45,7 +33,7 @@
</div>
<div class="item-list">
{% for info in results %}
- {{ common_elements.item(info) }}
+ {{ common_elements.item(info, description=true) }}
{% endfor %}
</div>
<nav class="page-button-row">