diff --git a/stylesheets/style.css b/stylesheets/style.css index 786fa37e..85ce5ba0 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -485,3 +485,32 @@ form.ban-appeal { form.ban-appeal textarea { display: block; } +.theme-catalog img { + float:none!important; + margin: auto; + margin-bottom: 12px; + max-height: 150px; + max-width: 200px; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.55); + border: 2px solid rgba(153, 153, 153, 0); +} +.theme-catalog div.thread { + display: inline-block; + vertical-align: top; + margin-bottom:25px; + margin-left: 20px; + margin-right: 15px; + text-align:center; + font-weight:normal; + width:205px; + overflow:hidden; + position: relative; + font-size:11px; + padding: 15px; + max-height:300px; + background: rgba(182, 182, 182, 0.12); + border: 2px solid rgba(111, 111, 111, 0.34); +} +.theme-catalog strong { + display: block; +} diff --git a/templates/themes/catalog/catalog.css b/templates/themes/catalog/catalog.css deleted file mode 100644 index c24b9d62..00000000 --- a/templates/themes/catalog/catalog.css +++ /dev/null @@ -1,42 +0,0 @@ -img { - float:none!important; - margin: auto; - margin-bottom: 12px; - max-height: 150px; - max-width: 200px; - box-shadow: 0 0 4px rgba(0, 0, 0, 0.55); - border: 2px solid rgba(153, 153, 153, 0); -} - -/* -img:hover { - border: 2px solid rgba(153, 153, 153, 0.27); -} -*/ - -div.thread { - display: inline-block; - vertical-align: top; - margin-bottom:25px; - margin-left: 20px; - margin-right: 15px; - text-align:center; - font-weight:normal; - width:205px; - overflow:hidden; - position: relative; - font-size:11px; - padding: 15px; - background: rgba(182, 182, 182, 0.12); - border: 2px solid rgba(111, 111, 111, 0.34); - max-height:300px; -} - -div.thread:hover { - background: #D6DAF0; - border-color: #B7C5D9; -} - -strong { - display: block; -} diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index 7b8c075a..d6b76eff 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -3,18 +3,19 @@
+ + {% include 'header.html' %}Powered by Tinyboard {{ config.version }} | Tinyboard Copyright © 2010-2013 Tinyboard Development Group
+ {% endfilter %} diff --git a/templates/themes/catalog/info.php b/templates/themes/catalog/info.php index c68c9e09..32695b4d 100644 --- a/templates/themes/catalog/info.php +++ b/templates/themes/catalog/info.php @@ -30,14 +30,6 @@ 'default' => implode(' ', $__default_boards) ); - $theme['config'][] = Array( - 'title' => 'CSS file', - 'name' => 'css', - 'type' => 'text', - 'default' => 'catalog.css', - 'comment' => '(eg. "catalog.css")' - ); - $theme['config'][] = Array( 'title' => 'Update on new posts', 'name' => 'update_on_posts', diff --git a/templates/themes/catalog/theme.php b/templates/themes/catalog/theme.php index 424a813b..d3a837ca 100644 --- a/templates/themes/catalog/theme.php +++ b/templates/themes/catalog/theme.php @@ -14,8 +14,6 @@ $boards = explode(' ', $settings['boards']); if ($action == 'all') { - copy('templates/themes/catalog/catalog.css', $config['dir']['home'] . $settings['css']); - foreach ($boards as $board) { $b = new Catalog(); $b->build($settings, $board);