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; color: #7fdd57;
border: 0px solid #060; border: 0px solid #060;
float: left; float: left;
width: 300px; width: 50%;
} }
.box.right { .box.right {
background: #0b000f; background: #0b000f;
color: #7fdd57; color: #7fdd57;
border: 0px solid #006; border: 0px solid #006;
float: right; float: right;
width: 436px; width: 50%;
} }
.box h2 { .box h2 {
@ -170,3 +170,7 @@ div.ban h2:not(:nth-child(1))
{ {
border-top: 0px solid #0b000f; 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"/> <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.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 %} {% if config.font_awesome %}<link rel="stylesheet" href="{{ config.root }}{{ config.font_awesome_css }}">{% endif %}
</head> </head>
<body> <body>
@ -24,12 +23,14 @@
</header> </header>
<br> <br>
<center>
<img alt="mascot" class="lain_banner"src="static/lain_banner1.png"/> <img alt="mascot" class="lain_banner"src="static/lain_banner1.png"/>
</center>
<br> <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> <br>
<div class="ban" id="global"> <div class="ban" id="global">
@ -67,13 +68,14 @@
</ul> </ul>
</div> </div>
</div> </div>
<div class="footer">
<footer> <footer>
<center> <center>
<a href="mailto:[email protected]?Subject=Hello" target="_top">[email protected]</a> <a href="mailto:[email protected]?Subject=Hello" target="_top">[email protected]</a>
</center> </center>
</footer> </footer>
</div>
</body> </body>
</html> </html>
{% endfilter %} {% endfilter %}

2
templates/themes/recent/theme.php

@ -19,7 +19,7 @@
global $config, $_theme; global $config, $_theme;
if ($action == 'all') { 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']); $this->excluded = explode(' ', $settings['exclude']);

Loading…
Cancel
Save