Merge pull request #359 from towards-a-new-leftypol/change_theme_yotsuba

Change theme to yotsuba
This commit is contained in:
towards-a-new-leftypol 2021-09-10 16:32:17 -04:00 committed by GitHub
commit a4a94d8e45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 15 deletions

View File

@ -367,7 +367,7 @@ $config['stylesheets']['AnonsDarkRed'] = 'anons_dark_red.css';
$config['stylesheets']['BunkerLike'] = 'bunker_like.css'; $config['stylesheets']['BunkerLike'] = 'bunker_like.css';
$config['stylesheets']['Post-Left'] = 'dead.css'; $config['stylesheets']['Post-Left'] = 'dead.css';
$config['default_stylesheet'] = array('Dark Red', $config['stylesheets']['Dark Red']); $config['default_stylesheet'] = array('Yotsuba', 'yotsuba.css');
/* /*
* ==================== * ====================
* Javascript * Javascript

View File

@ -454,15 +454,6 @@
$board_link = $config['root'] . $board['dir']; $board_link = $config['root'] . $board['dir'];
} }
$required_scripts = array('js/jquery.min.js', 'js/jquery.mixitup.min.js',
'js/catalog.js');
// Include scripts that haven't been yet included
foreach($required_scripts as $i => $s) {
if (!in_array($s, $config['additional_javascript']))
$config['additional_javascript'][] = $s;
}
$template_config = Array( $template_config = Array(
'settings' => $this->settings, 'settings' => $this->settings,
'config' => $config, 'config' => $config,

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0"> <meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}"> <link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}">
<link rel="stylesheet" media="screen" href="/stylesheets/dark_red.css"> <link rel="stylesheet" media="screen" href="/stylesheets/yotsuba.css">
<style type="text/css"> <style type="text/css">
.sidebar { .sidebar {
grid-column: 1; grid-column: 1;
@ -48,9 +48,9 @@
legend { legend {
width: 100%; width: 100%;
margin-left: -15px; margin-left: -15px;
background: #8B0000; background: #FCA;
border: 1px solid white; border: 1px solid #800;
color: #d0d3d4; color: #800;
font-weight: bold; font-weight: bold;
padding: 5px 5px padding: 5px 5px
} }

View File

@ -20,7 +20,7 @@
<img src="{{ config.logo }}" alt="logo" class="home-logo"> <img src="{{ config.logo }}" alt="logo" class="home-logo">
<div class="subtitle">{{ settings.subtitle }}</div> <div class="subtitle">{{ settings.subtitle }}</div>
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}"> <link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}">
<link rel="stylesheet" media="screen" href="/stylesheets/dark_red.css"> <link rel="stylesheet" media="screen" href="/stylesheets/yotsuba.css">
<p class="home-description" >{{ description }}</p> <p class="home-description" >{{ description }}</p>
</header> </header>
</div> </div>