Changed message and CSS on the recent page / e.g. the recent theme. Cyberpunk is DUCK.

This commit is contained in:
Benjamin Southall 2016-12-10 18:23:18 +09:00
parent 1c7c645831
commit bf78c3a46e
3 changed files with 13 additions and 7 deletions

View File

@ -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;
}

View File

@ -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 %}

View File

@ -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']);