Show More
@@ -1,207 +1,218 b'' | |||||
1 | html { |
|
1 | html { | |
2 | background: #555; |
|
2 | background: #555; | |
3 | color: #ffffff; |
|
3 | color: #ffffff; | |
4 | } |
|
4 | } | |
5 |
|
5 | |||
6 | #admin_panel { |
|
6 | #admin_panel { | |
7 | background: #FF0000; |
|
7 | background: #FF0000; | |
8 | color: #00FF00 |
|
8 | color: #00FF00 | |
9 | } |
|
9 | } | |
10 |
|
10 | |||
11 | .title { |
|
11 | .title { | |
12 | font-weight: bold; |
|
12 | font-weight: bold; | |
13 | color: #ffcc00; |
|
13 | color: #ffcc00; | |
14 | } |
|
14 | } | |
15 |
|
15 | |||
16 | .link, a { |
|
16 | .link, a { | |
17 | color: #afdcec; |
|
17 | color: #afdcec; | |
18 | } |
|
18 | } | |
19 |
|
19 | |||
20 | .block { |
|
20 | .block { | |
21 | display: inline-block; |
|
21 | display: inline-block; | |
22 | vertical-align: top; |
|
22 | vertical-align: top; | |
23 | } |
|
23 | } | |
24 |
|
24 | |||
25 | .tag { |
|
25 | .tag { | |
26 | color: #b4cfec; |
|
26 | color: #b4cfec; | |
27 | } |
|
27 | } | |
28 |
|
28 | |||
29 | .post_id { |
|
29 | .post_id { | |
30 | color: #fff380; |
|
30 | color: #fff380; | |
31 | } |
|
31 | } | |
32 |
|
32 | |||
33 | .post, .dead_post { |
|
33 | .post, .dead_post { | |
34 | background: #333; |
|
34 | background: #333; | |
35 | margin: 5px; |
|
35 | margin: 5px; | |
36 | padding: 10px; |
|
36 | padding: 10px; | |
37 | border-radius: 5px; |
|
37 | border-radius: 5px; | |
38 | clear: left; |
|
38 | clear: left; | |
39 | } |
|
39 | } | |
40 |
|
40 | |||
41 | .metadata { |
|
41 | .metadata { | |
42 | padding: 5px; |
|
42 | padding: 5px; | |
43 | margin-top: 10px; |
|
43 | margin-top: 10px; | |
44 | border: solid 1px #666; |
|
44 | border: solid 1px #666; | |
45 | font-size: 0.9em; |
|
45 | font-size: 0.9em; | |
46 | color: #ddd; |
|
46 | color: #ddd; | |
47 | display: table; |
|
47 | display: table; | |
48 | } |
|
48 | } | |
49 |
|
49 | |||
50 | .navigation_panel { |
|
50 | .navigation_panel { | |
51 | background: #444; |
|
51 | background: #444; | |
52 | margin: 5px; |
|
52 | margin: 5px; | |
53 | padding: 10px; |
|
53 | padding: 10px; | |
54 | border-radius: 5px; |
|
54 | border-radius: 5px; | |
55 | color: #eee; |
|
55 | color: #eee; | |
56 | } |
|
56 | } | |
57 |
|
57 | |||
58 | .navigation_panel .link { |
|
58 | .navigation_panel .link { | |
59 | border-right: 1px solid #fff; |
|
59 | border-right: 1px solid #fff; | |
60 | font-weight: bold; |
|
60 | font-weight: bold; | |
61 | margin-right: 1ex; |
|
61 | margin-right: 1ex; | |
62 | padding-right: 1ex; |
|
62 | padding-right: 1ex; | |
63 | } |
|
63 | } | |
64 | .navigation_panel .link:last-child { |
|
64 | .navigation_panel .link:last-child { | |
65 | border-left: 1px solid #fff; |
|
65 | border-left: 1px solid #fff; | |
66 | border-right: none; |
|
66 | border-right: none; | |
67 | float: right; |
|
67 | float: right; | |
68 | margin-left: 1ex; |
|
68 | margin-left: 1ex; | |
69 | margin-right: 0; |
|
69 | margin-right: 0; | |
70 | padding-left: 1ex; |
|
70 | padding-left: 1ex; | |
71 | padding-right: 0; |
|
71 | padding-right: 0; | |
72 | } |
|
72 | } | |
73 |
|
73 | |||
74 | .navigation_panel::after, .post::after { |
|
74 | .navigation_panel::after, .post::after { | |
75 | clear: both; |
|
75 | clear: both; | |
76 | content: "."; |
|
76 | content: "."; | |
77 | display: block; |
|
77 | display: block; | |
78 | height: 0; |
|
78 | height: 0; | |
79 | line-height: 0; |
|
79 | line-height: 0; | |
80 | visibility: hidden; |
|
80 | visibility: hidden; | |
81 | } |
|
81 | } | |
82 |
|
82 | |||
83 | p { |
|
83 | p { | |
84 | margin-top: .5em; |
|
84 | margin-top: .5em; | |
85 | margin-bottom: .5em; |
|
85 | margin-bottom: .5em; | |
86 | } |
|
86 | } | |
87 |
|
87 | |||
88 | .post-form-w { |
|
88 | .post-form-w { | |
89 | display: table; |
|
89 | display: table; | |
90 | background: #333344; |
|
90 | background: #333344; | |
91 | border-radius: 5px; |
|
91 | border-radius: 5px; | |
92 | color: #fff; |
|
92 | color: #fff; | |
93 | padding: 10px; |
|
93 | padding: 10px; | |
94 | margin: 5px |
|
94 | margin: 5px | |
95 | } |
|
95 | } | |
96 |
|
96 | |||
97 | .form-row { |
|
97 | .form-row { | |
98 | display: table-row; |
|
98 | display: table-row; | |
99 | } |
|
99 | } | |
100 |
|
100 | |||
101 | .form-label, .form-input { |
|
101 | .form-label, .form-input { | |
102 | display: table-cell; |
|
102 | display: table-cell; | |
103 | } |
|
103 | } | |
104 |
|
104 | |||
105 | .form-label { |
|
105 | .form-label { | |
106 | padding: .25em 1ex .25em 0; |
|
106 | padding: .25em 1ex .25em 0; | |
107 | vertical-align: top; |
|
107 | vertical-align: top; | |
108 | } |
|
108 | } | |
109 |
|
109 | |||
110 | .form-input { |
|
110 | .form-input { | |
111 | padding: .25em 0; |
|
111 | padding: .25em 0; | |
112 | } |
|
112 | } | |
113 |
|
113 | |||
114 | .post-form input, .post-form textarea { |
|
114 | .post-form input, .post-form textarea { | |
115 | background: #333; |
|
115 | background: #333; | |
116 | color: #fff; |
|
116 | color: #fff; | |
117 | border: solid 1px; |
|
117 | border: solid 1px; | |
118 | padding: 0; |
|
118 | padding: 0; | |
119 | width: 100%; |
|
119 | width: 100%; | |
120 | } |
|
120 | } | |
121 |
|
121 | |||
122 | .form-submit { |
|
122 | .form-submit { | |
123 | border-bottom: 2px solid #ddd; |
|
123 | border-bottom: 2px solid #ddd; | |
124 | margin-bottom: .5em; |
|
124 | margin-bottom: .5em; | |
125 | padding-bottom: .5em; |
|
125 | padding-bottom: .5em; | |
126 | } |
|
126 | } | |
127 |
|
127 | |||
128 | .form-title { |
|
128 | .form-title { | |
129 | font-weight: bold; |
|
129 | font-weight: bold; | |
130 | } |
|
130 | } | |
131 |
|
131 | |||
132 | input[type="submit"] { |
|
132 | input[type="submit"] { | |
133 | background: #222; |
|
133 | background: #222; | |
134 | border: solid 1px #fff; |
|
134 | border: solid 1px #fff; | |
135 | color: #fff; |
|
135 | color: #fff; | |
136 | } |
|
136 | } | |
137 |
|
137 | |||
138 | blockquote { |
|
138 | blockquote { | |
139 | border-left: solid 2px; |
|
139 | border-left: solid 2px; | |
140 | padding-left: 5px; |
|
140 | padding-left: 5px; | |
141 | color: #B1FB17; |
|
141 | color: #B1FB17; | |
142 | margin: 0; |
|
142 | margin: 0; | |
143 | } |
|
143 | } | |
144 |
|
144 | |||
145 | .post > .image { |
|
145 | .post > .image { | |
146 | float: left; margin: 0 1ex .5ex 0; |
|
146 | float: left; margin: 0 1ex .5ex 0; | |
147 | } |
|
147 | } | |
148 |
|
148 | |||
149 | .post > .metadata { |
|
149 | .post > .metadata { | |
150 | clear: left; |
|
150 | clear: left; | |
151 | } |
|
151 | } | |
152 |
|
152 | |||
153 | .get { |
|
153 | .get { | |
154 | font-weight: bold; |
|
154 | font-weight: bold; | |
155 | color: #d55; |
|
155 | color: #d55; | |
156 | } |
|
156 | } | |
157 |
|
157 | |||
158 | * { |
|
158 | * { | |
159 | text-decoration: none; |
|
159 | text-decoration: none; | |
160 | } |
|
160 | } | |
161 |
|
161 | |||
162 | .dead_post { |
|
162 | .dead_post { | |
163 | background-color: #442222; |
|
163 | background-color: #442222; | |
164 | } |
|
164 | } | |
165 |
|
165 | |||
166 | .quote { |
|
166 | .quote { | |
167 | color: greenyellow; |
|
167 | color: greenyellow; | |
168 | padding-left: 5px; |
|
168 | padding-left: 5px; | |
169 | border-left: solid 2px greenyellow; |
|
169 | border-left: solid 2px greenyellow; | |
170 | } |
|
170 | } | |
171 |
|
171 | |||
172 | .spoiler { |
|
172 | .spoiler { | |
173 | background: white; |
|
173 | background: white; | |
174 | color: white; |
|
174 | color: white; | |
175 | } |
|
175 | } | |
176 |
|
176 | |||
177 | .spoiler:hover { |
|
177 | .spoiler:hover { | |
178 | background: black; |
|
178 | background: black; | |
179 | } |
|
179 | } | |
180 |
|
180 | |||
181 | .comment { |
|
181 | .comment { | |
182 | color: darkseagreen; |
|
182 | color: darkseagreen; | |
183 | } |
|
183 | } | |
184 |
|
184 | |||
185 | a:hover { |
|
185 | a:hover { | |
186 | text-decoration: underline; |
|
186 | text-decoration: underline; | |
187 | } |
|
187 | } | |
188 |
|
188 | |||
189 | .last-replies { |
|
189 | .last-replies { | |
190 | margin-left: 3ex; |
|
190 | margin-left: 3ex; | |
191 | } |
|
191 | } | |
192 |
|
192 | |||
193 | .thread { |
|
193 | .thread { | |
194 | margin-bottom: 3ex; |
|
194 | margin-bottom: 3ex; | |
195 | } |
|
195 | } | |
196 |
|
196 | |||
197 | .post:target { |
|
197 | .post:target { | |
198 | border: solid 2px white; |
|
198 | border: solid 2px white; | |
199 | } |
|
199 | } | |
200 |
|
200 | |||
201 | pre{ |
|
201 | pre{ | |
202 | white-space:pre-wrap |
|
202 | white-space:pre-wrap | |
203 | } |
|
203 | } | |
204 |
|
204 | |||
205 | li { |
|
205 | li { | |
206 | list-style-position: inside; |
|
206 | list-style-position: inside; | |
|
207 | } | |||
|
208 | ||||
|
209 | .fancybox-skin { | |||
|
210 | position: relative; | |||
|
211 | background-color: #fff; | |||
|
212 | color: #ddd; | |||
|
213 | text-shadow: none; | |||
|
214 | } | |||
|
215 | ||||
|
216 | .fancybox-image { | |||
|
217 | border: 1px solid black; | |||
207 | } No newline at end of file |
|
218 | } |
@@ -1,14 +1,14 b'' | |||||
1 | $( document ).ready(function() { |
|
1 | $( document ).ready(function() { | |
2 | $("a[href='#top']").click(function() { |
|
2 | $("a[href='#top']").click(function() { | |
3 | $("html, body").animate({ scrollTop: 0 }, "slow"); |
|
3 | $("html, body").animate({ scrollTop: 0 }, "slow"); | |
4 | return false; |
|
4 | return false; | |
5 | }); |
|
5 | }); | |
6 |
|
6 | |||
7 | $(".fancy").fancybox({ |
|
7 | $(".fancy").fancybox({ | |
8 | closeBtn: false, |
|
8 | closeBtn: false, | |
9 | closeClick: true, |
|
9 | closeClick: true, | |
10 |
padding: |
|
10 | padding: 7, | |
11 | openEffect: 'none', |
|
11 | openEffect: 'none', | |
12 | closeEffect: 'none' |
|
12 | closeEffect: 'none' | |
13 | }); |
|
13 | }); | |
14 | }) No newline at end of file |
|
14 | }) |
@@ -1,44 +1,44 b'' | |||||
1 | {% load staticfiles %} |
|
1 | {% load staticfiles %} | |
2 | {% load i18n %} |
|
2 | {% load i18n %} | |
3 |
|
3 | |||
4 | <!DOCTYPE html> |
|
4 | <!DOCTYPE html> | |
5 | <html> |
|
5 | <html> | |
6 | <head> |
|
6 | <head> | |
7 | <link rel="stylesheet" type="text/css" |
|
7 | <link rel="stylesheet" type="text/css" | |
8 |
href="{{ STATIC_URL }}css/ |
|
8 | href="{{ STATIC_URL }}css/jquery.fancybox.css" media="all"/> | |
9 | <link rel="stylesheet" type="text/css" |
|
9 | <link rel="stylesheet" type="text/css" | |
10 |
href="{{ STATIC_URL }}css/ |
|
10 | href="{{ STATIC_URL }}css/{{ theme }}/base_page.css" media="all"/> | |
11 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> |
|
11 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> | |
12 | {% block head %}{% endblock %} |
|
12 | {% block head %}{% endblock %} | |
13 | </head> |
|
13 | </head> | |
14 | <body> |
|
14 | <body> | |
15 | <script src="{{ STATIC_URL }}js/jquery-2.0.1.min.js"></script> |
|
15 | <script src="{{ STATIC_URL }}js/jquery-2.0.1.min.js"></script> | |
16 | <script src="{{ STATIC_URL }}js/jquery.fancybox.pack.js"></script> |
|
16 | <script src="{{ STATIC_URL }}js/jquery.fancybox.pack.js"></script> | |
17 | <script src="{{ STATIC_URL }}js/main.js"></script> |
|
17 | <script src="{{ STATIC_URL }}js/main.js"></script> | |
18 | <div id="admin_panel"> |
|
18 | <div id="admin_panel"> | |
19 |
|
19 | |||
20 | {% if request.session.admin == True %} |
|
20 | {% if request.session.admin == True %} | |
21 | Admin panel TODO: Need to implement <BR /> |
|
21 | Admin panel TODO: Need to implement <BR /> | |
22 | {% endif %} |
|
22 | {% endif %} | |
23 |
|
23 | |||
24 | </div> |
|
24 | </div> | |
25 |
|
25 | |||
26 | <div class="navigation_panel"> |
|
26 | <div class="navigation_panel"> | |
27 | <a class="link" href="{% url 'index' %}">{% trans "All threads" %}</a> |
|
27 | <a class="link" href="{% url 'index' %}">{% trans "All threads" %}</a> | |
28 | {% for tag in tags %} |
|
28 | {% for tag in tags %} | |
29 | <a class="tag" href=" {% url 'tag' tag_name=tag.name %}"> |
|
29 | <a class="tag" href=" {% url 'tag' tag_name=tag.name %}"> | |
30 | {{ tag.name }}</a>({{ tag.get_post_count }}) |
|
30 | {{ tag.name }}</a>({{ tag.get_post_count }}) | |
31 | {% endfor %} |
|
31 | {% endfor %} | |
32 | <a class="tag" href="{% url 'tags' %}">[...]</a> |
|
32 | <a class="tag" href="{% url 'tags' %}">[...]</a> | |
33 | <a class="link" href="{% url 'settings' %}">{% trans 'Settings' %}</a> |
|
33 | <a class="link" href="{% url 'settings' %}">{% trans 'Settings' %}</a> | |
34 | </div> |
|
34 | </div> | |
35 |
|
35 | |||
36 | {% block content %}{% endblock %} |
|
36 | {% block content %}{% endblock %} | |
37 |
|
37 | |||
38 | <div class="navigation_panel"> |
|
38 | <div class="navigation_panel"> | |
39 | {% block metapanel %}{% endblock %} |
|
39 | {% block metapanel %}{% endblock %} | |
40 | <a class="link" href="#top">{% trans 'Up' %}</a> |
|
40 | <a class="link" href="#top">{% trans 'Up' %}</a> | |
41 | </div> |
|
41 | </div> | |
42 |
|
42 | |||
43 | </body> |
|
43 | </body> | |
44 | </html> No newline at end of file |
|
44 | </html> |
General Comments 0
You need to be logged in to leave comments.
Login now