diff --git a/static/css/styles.css b/static/css/styles.css index f9b9466..2c82e0d 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -161,7 +161,7 @@ body.dark .btn { body.dark #post .crosspost { background: var(--darkbg); } -body.dark .view-more-inks a { +body.dark .view-more-links a { background: black; color: white; } @@ -386,12 +386,11 @@ header .tabmenu li a { header .tabmenu li.active a { background: black; } -.view-more-inks { - margin-bottom: 50px; +.view-more-links { float: left; width: 100%; } -.view-more-inks a { +.view-more-links a { margin-left: 20px; padding: 1px 4px; background: #eee; @@ -464,7 +463,7 @@ input[type="submit"]:hover, } footer { padding: 30px 0px 30px 20px; - margin: 60px 0px 0px; + margin: 2.5% 0px 0px; background: #e1e1e1; float: left; width: calc(100% - 20px); @@ -1436,6 +1435,12 @@ code { margin: 5px 2.5%; width: 95%; } + #post .video .title { + width: 100%; + } + #post .video-holder a img { + width: 100%; + } .info .submitted { margin: auto auto 2.5% 2.5%; } diff --git a/views/index.pug b/views/index.pug index e547fd6..23642c9 100644 --- a/views/index.pug +++ b/views/index.pug @@ -111,7 +111,7 @@ html input(type="checkbox", name="nsfw", id="nsfw", checked="checked") input(type="submit", value="search") if json.info.before || json.info.after - .view-more-inks + .view-more-links if json.info.before && !subreddit_front a(href="/r/all/" + sortby + "?t="+ (past ? past : '') +"&before=" + json.info.before + "") ‹ prev if json.info.after diff --git a/views/search.pug b/views/search.pug index fd05cea..dd048b0 100644 --- a/views/search.pug +++ b/views/search.pug @@ -146,7 +146,7 @@ html a(href="" + link.permalink + "", class="comments") | #{link.num_comments} comments if json.before || json.after - .view-more-inks + .view-more-links if json.before && !subreddit_front a(href="?q=" + q + "&restrict_sr=" + restrict_sr + "&before=" + json.before + "") ‹ prev if json.after diff --git a/views/subreddit.pug b/views/subreddit.pug index 8206b0c..db7e360 100644 --- a/views/subreddit.pug +++ b/views/subreddit.pug @@ -129,7 +129,7 @@ html a(href="" + link.permalink + "", class="comments") | #{link.num_comments} comments if json.info.before || json.info.after - .view-more-inks + .view-more-links if json.info.before && !subreddit_front a(href="/r/" + subreddit + "/" + sortby + "?t="+ (past ? past : '') +"&before=" + json.info.before + "") ‹ prev if json.info.after