summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorselcal <trandomii@gmail.com>2015-06-21 20:25:43 -0400
committerselcal <trandomii@gmail.com>2015-06-21 20:25:43 -0400
commit0662f3e35b6f9c6b1eed965bef7c30fbb76ba07a (patch)
tree6dfdef0abafeb82ccd25ce11467d737bf53514ac
parentedde68f97da97599210dcef09e24ca3a322ff022 (diff)
Prevents small background images in /walls from repeating
Quick additions to the inline styles of <html> and <body> so the background-image doesn't spew all over the place in lainchan radio.
-rw-r--r--templates/themes/irc/irc.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/themes/irc/irc.html b/templates/themes/irc/irc.html
index b94691cf..9fadff99 100644
--- a/templates/themes/irc/irc.html
+++ b/templates/themes/irc/irc.html
@@ -1,6 +1,6 @@
{% filter remove_whitespace %}
<!DOCTYPE html>
-<html>
+<html style="height:100vh; width:100%;">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>{{ settings.title }}</title>
@@ -9,7 +9,7 @@
<link rel="stylesheet" media="screen" href="/stylesheets/cyberpunk.css"/>
<link rel="stylesheet" href="/stylesheets/font-awesome/css/font-awesome.min.css">
</head>
- <body style="background-image: url(/bg.php)">
+ <body style="background-image: url(/bg.php); background-size:cover; background-repeat:no-repeat; height:100vh; width: inherit; margin:none; padding:none; overflow-x:hidden; overflow-y:hidden;">
<div class="bar top">
{{ boardlist.top }}
</div>