summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBenjamin Southall <applemansigloo@gmail.com>2016-12-10 18:23:18 +0900
committerBenjamin Southall <applemansigloo@gmail.com>2016-12-10 18:23:18 +0900
commitbf78c3a46ec5db6106713e78e30a9437d9ae0f28 (patch)
tree11516da4daf4d7d46ccf81566ff1d50918d276d4 /templates
parent1c7c6458316daaed5b233e1c125a7aa2f853425e (diff)
Changed message and CSS on the recent page / e.g. the recent theme. Cyberpunk is DUCK.
Diffstat (limited to 'templates')
-rw-r--r--templates/themes/recent/recent.css8
-rw-r--r--templates/themes/recent/recent.html10
-rw-r--r--templates/themes/recent/theme.php2
3 files changed, 13 insertions, 7 deletions
diff --git a/templates/themes/recent/recent.css b/templates/themes/recent/recent.css
index 1ec5dc50..2559bcc3 100644
--- a/templates/themes/recent/recent.css
+++ b/templates/themes/recent/recent.css
@@ -44,14 +44,14 @@ body
color: #7fdd57;
border: 0px solid #060;
float: left;
- width: 300px;
+ width: 50%;
}
.box.right {
background: #0b000f;
color: #7fdd57;
border: 0px solid #006;
float: right;
- width: 436px;
+ width: 50%;
}
.box h2 {
@@ -170,3 +170,7 @@ div.ban h2:not(:nth-child(1))
{
border-top: 0px solid #0b000f;
}
+
+div.footer{
+clear:both;
+}
diff --git a/templates/themes/recent/recent.html b/templates/themes/recent/recent.html
index f0276ac7..45b627d8 100644
--- a/templates/themes/recent/recent.html
+++ b/templates/themes/recent/recent.html
@@ -9,7 +9,6 @@
<link rel="stylesheet" media="screen" href="https://lainchan.org/stylesheets/font-awesome/css/font-awesome.min.css"/>
{% if config.url_favicon %}<link rel="shortcut icon" href="{{ config.url_favicon }}" />{% endif %}
- {% if config.default_stylesheet.1 != '' %}<link rel="stylesheet" type="text/css" id="stylesheet" href="{{ config.uri_stylesheets }}{{ config.default_stylesheet.1 }}">{% endif %}
{% if config.font_awesome %}<link rel="stylesheet" href="{{ config.root }}{{ config.font_awesome_css }}">{% endif %}
</head>
<body>
@@ -24,12 +23,14 @@
</header>
<br>
+ <center>
<img alt="mascot" class="lain_banner"src="static/lain_banner1.png"/>
+ </center>
<br>
- <div class="ban" id="global"> <h2>CYBERPUNK IS DEAD</h2> Pour out the Soykaf, lurk, and read the <a href="https://lainchan.org/rules">rules</a> before posting! </div>
-
+ <div class="ban" id="global2"> <h2>CYBERPUNK IS DUCK</h2> Pour out the Soykaf, lurk, and read the <a href="https://lainchan.org/rules">rules</a> before posting! </div>
+ <center> <img alt="mascot" class="lain_banner" src="static/duck.png"></center>
<br>
<div class="ban" id="global">
@@ -67,13 +68,14 @@
</ul>
</div>
</div>
-
+ <div class="footer">
<footer>
<center>
<a href="mailto:admin@lainchan.org?Subject=Hello" target="_top">admin@lainchan.org</a>
</center>
</footer>
+ </div>
</body>
</html>
{% endfilter %}
diff --git a/templates/themes/recent/theme.php b/templates/themes/recent/theme.php
index a826048f..d4d4e9b8 100644
--- a/templates/themes/recent/theme.php
+++ b/templates/themes/recent/theme.php
@@ -19,7 +19,7 @@
global $config, $_theme;
if ($action == 'all') {
- copy('templates/themes/recent/' . $settings['basecss'], $config['dir']['home'] . $settings['css']);
+ copy('templates/themes/recent/' . $settings['basecss'], $config['dir']['home'] . "stylesheets/" . $settings['css']);
}
$this->excluded = explode(' ', $settings['exclude']);