##// END OF EJS Templates
Added a centered MD theme (with maximum thread width).
neko259 -
r254:2b1879ad default
parent child Browse files
Show More
@@ -0,0 +1,12 b''
1 @import url("../md/base_page.css");
2
3 .thread, .post-form-w, .image-mode-tab {
4 max-width: 1000px;
5 margin-left: auto;
6 margin-right: auto;
7 }
8
9 .thread {
10 border-left: solid 2px #888;
11 border-right: solid 2px #888;
12 }
@@ -15,8 +15,8 b''
15
15
16 {% if posts %}
16 {% if posts %}
17 {% cache 600 thread_view posts.0.last_edit_time moderator LANGUAGE_CODE %}
17 {% cache 600 thread_view posts.0.last_edit_time moderator LANGUAGE_CODE %}
18 <div id="posts">
18 <div class="thread" id="posts">
19 {% for post in posts %}
19 {% for post in posts %}
20 {% if bumpable %}
20 {% if bumpable %}
21 <div class="post" id="{{ post.id }}">
21 <div class="post" id="{{ post.id }}">
22 {% else %}
22 {% else %}
@@ -24,13 +24,6 b' DATABASES = {'
24 }
24 }
25 }
25 }
26
26
27 CACHES = {
28 'default': {
29 'BACKEND': 'django.core.cache.backends.db.DatabaseCache',
30 'LOCATION': 'neboard_cache',
31 }
32 }
33
34 # Local time zone for this installation. Choices can be found here:
27 # Local time zone for this installation. Choices can be found here:
35 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
28 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
36 # although not all choices may be available on all operating systems.
29 # although not all choices may be available on all operating systems.
@@ -196,6 +189,7 b" SITE_NAME = 'Neboard'"
196
189
197 THEMES = [
190 THEMES = [
198 ('md', 'Mystic Dark'),
191 ('md', 'Mystic Dark'),
192 ('md_centered', 'Mystic Dark (centered)'),
199 ('sw', 'Snow White'),
193 ('sw', 'Snow White'),
200 ('pg', 'Photon Gray'),
194 ('pg', 'Photon Gray'),
201 ]
195 ]
General Comments 0
You need to be logged in to leave comments. Login now