summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/themes/recent/recent.css29
-rw-r--r--templates/themes/recent/recent.html13
2 files changed, 32 insertions, 10 deletions
diff --git a/templates/themes/recent/recent.css b/templates/themes/recent/recent.css
index cd34a750..ccae5693 100644
--- a/templates/themes/recent/recent.css
+++ b/templates/themes/recent/recent.css
@@ -60,12 +60,16 @@ body
}
.box.left h2 {
background: #7fdd57;
- color: #677965;
+ color: #0b000f;
}
.box.right h2 {
background: #7fdd57;
color: #0b000f;
}
+.box.center h2 {
+ background: #7fdd57;
+ color: #0b000f;
+}
.box img {
float: none;
margin: 0px auto;
@@ -145,9 +149,8 @@ p.intro a.email, p.intro a.email span.name, p.intro a.email:hover, p.intro a.ema
div.boardlist a
{
- font-size: 12px;
+ font-size: 12px;
}
-
div.boardlist
{
color: #0b000f;
@@ -160,7 +163,7 @@ div.ban
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
- text-align: left!important;
+ text-align: center;
}
div.ban h2
{
@@ -179,3 +182,21 @@ div.ban h2:not(:nth-child(1))
div.footer{
clear:both;
}
+
+.box.center {
+ background: #0b000f;
+ color: #7fdd57;
+ border: 0px solid #006;
+ float: left;
+ width: 100%;
+ text-align: center;
+}
+
+div.global4{
+clear:both;
+}
+
+.lain_banner {
+ width: 80%;
+
+}
diff --git a/templates/themes/recent/recent.html b/templates/themes/recent/recent.html
index 0d131bff..875d46ab 100644
--- a/templates/themes/recent/recent.html
+++ b/templates/themes/recent/recent.html
@@ -11,7 +11,6 @@
{% if config.url_favicon %}<link rel="shortcut icon" href="{{ config.url_favicon }}" />{% endif %}
{% if config.font_awesome %}<link rel="stylesheet" href="{{ config.root }}{{ config.font_awesome_css }}">{% endif %}
- {% include 'header.html' %}
</head>
<body>
<div class="bar top">
@@ -31,12 +30,12 @@
<br>
- <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>
+ <div class="ban" id="global2"> <h2>CYBERPUNK IS BUN</h2> Pour out the Soykaf, lurk, and read the <a href="https://lainchan.org/rules">rules</a> before posting! </div>
+ <center> <img alt="mascot" src="static/bun.png"></center>
<br>
<div class="ban" id="global3">
<h2>Latest News</h2>
- {% if not recent_news %}
+ {% if recent_news|count == 0 %}
<p style="text-align:center" class="unimportant">(No news to show.)</p>
{% else %}
{% for entry in recent_news %}
@@ -79,7 +78,8 @@
</ul>
</div>
</div>
- <div class="box right">
+ <div class="ban" id="global4" >
+ <div class="box center">
<h2>Stats</h2>
<ul>
<li>Total posts: {{ stats.total_posts }}</li>
@@ -87,7 +87,8 @@
<li>Active content: {{ stats.active_content|filesize }}</li>
</ul>
</div>
- </div>
+ </div>
+ </div>
<div class="footer">
<footer>
<center>