Browse Source

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

pull/40/head
Benjamin Southall 8 years ago
parent
commit
bf78c3a46e
  1. 8
      templates/themes/recent/recent.css
  2. 10
      templates/themes/recent/recent.html
  3. 2
      templates/themes/recent/theme.php

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

10
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:[email protected]?Subject=Hello" target="_top">[email protected]</a>
</center>
</footer>
</div>
</body>
</html>
{% endfilter %}

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

Loading…
Cancel
Save