aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/search.html
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-08-24 11:35:58 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-08-24 11:35:58 -0700
commit400d17e61314e09efc89fbfb770b045550cf6e09 (patch)
tree29bd6b13cf47b780b04e2b241769719fcb9265c9 /youtube/templates/search.html
parentd9517a33223d44f2c52f03a48cf79822ecd433a4 (diff)
downloadyt-local-400d17e61314e09efc89fbfb770b045550cf6e09.tar.lz
yt-local-400d17e61314e09efc89fbfb770b045550cf6e09.tar.xz
yt-local-400d17e61314e09efc89fbfb770b045550cf6e09.zip
Layout: simplify CSS layout on most pages
Diffstat (limited to 'youtube/templates/search.html')
-rw-r--r--youtube/templates/search.html32
1 files changed, 10 insertions, 22 deletions
diff --git a/youtube/templates/search.html b/youtube/templates/search.html
index f429da0..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;
}