##// END OF EJS Templates
Fixed wrapping of the long links on the small screes (mobile phones). This fixes #15
neko259 -
r73:86298773 default
parent child Browse files
Show More
@@ -1,239 +1,240 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 word-wrap: break-word;
39 }
40 }
40
41
41 .metadata {
42 .metadata {
42 padding: 5px;
43 padding: 5px;
43 margin-top: 10px;
44 margin-top: 10px;
44 border: solid 1px #666;
45 border: solid 1px #666;
45 font-size: 0.9em;
46 font-size: 0.9em;
46 color: #ddd;
47 color: #ddd;
47 display: table;
48 display: table;
48 }
49 }
49
50
50 .navigation_panel {
51 .navigation_panel {
51 background: #444;
52 background: #444;
52 margin: 5px;
53 margin: 5px;
53 padding: 10px;
54 padding: 10px;
54 border-radius: 5px;
55 border-radius: 5px;
55 color: #eee;
56 color: #eee;
56 }
57 }
57
58
58 .navigation_panel .link {
59 .navigation_panel .link {
59 border-right: 1px solid #fff;
60 border-right: 1px solid #fff;
60 font-weight: bold;
61 font-weight: bold;
61 margin-right: 1ex;
62 margin-right: 1ex;
62 padding-right: 1ex;
63 padding-right: 1ex;
63 }
64 }
64 .navigation_panel .link:last-child {
65 .navigation_panel .link:last-child {
65 border-left: 1px solid #fff;
66 border-left: 1px solid #fff;
66 border-right: none;
67 border-right: none;
67 float: right;
68 float: right;
68 margin-left: 1ex;
69 margin-left: 1ex;
69 margin-right: 0;
70 margin-right: 0;
70 padding-left: 1ex;
71 padding-left: 1ex;
71 padding-right: 0;
72 padding-right: 0;
72 }
73 }
73
74
74 .navigation_panel::after, .post::after {
75 .navigation_panel::after, .post::after {
75 clear: both;
76 clear: both;
76 content: ".";
77 content: ".";
77 display: block;
78 display: block;
78 height: 0;
79 height: 0;
79 line-height: 0;
80 line-height: 0;
80 visibility: hidden;
81 visibility: hidden;
81 }
82 }
82
83
83 p {
84 p {
84 margin-top: .5em;
85 margin-top: .5em;
85 margin-bottom: .5em;
86 margin-bottom: .5em;
86 }
87 }
87
88
88 .post-form-w {
89 .post-form-w {
89 display: table;
90 display: table;
90 background: #333344;
91 background: #333344;
91 border-radius: 5px;
92 border-radius: 5px;
92 color: #fff;
93 color: #fff;
93 padding: 10px;
94 padding: 10px;
94 margin: 5px
95 margin: 5px
95 }
96 }
96
97
97 .form-row {
98 .form-row {
98 display: table-row;
99 display: table-row;
99 }
100 }
100
101
101 .form-label, .form-input {
102 .form-label, .form-input {
102 display: table-cell;
103 display: table-cell;
103 }
104 }
104
105
105 .form-label {
106 .form-label {
106 padding: .25em 1ex .25em 0;
107 padding: .25em 1ex .25em 0;
107 vertical-align: top;
108 vertical-align: top;
108 }
109 }
109
110
110 .form-input {
111 .form-input {
111 padding: .25em 0;
112 padding: .25em 0;
112 }
113 }
113
114
114 .post-form input, .post-form textarea {
115 .post-form input, .post-form textarea {
115 background: #333;
116 background: #333;
116 color: #fff;
117 color: #fff;
117 border: solid 1px;
118 border: solid 1px;
118 padding: 0;
119 padding: 0;
119 width: 100%;
120 width: 100%;
120 }
121 }
121
122
122 .form-submit {
123 .form-submit {
123 border-bottom: 2px solid #ddd;
124 border-bottom: 2px solid #ddd;
124 margin-bottom: .5em;
125 margin-bottom: .5em;
125 padding-bottom: .5em;
126 padding-bottom: .5em;
126 }
127 }
127
128
128 .form-title {
129 .form-title {
129 font-weight: bold;
130 font-weight: bold;
130 }
131 }
131
132
132 input[type="submit"] {
133 input[type="submit"] {
133 background: #222;
134 background: #222;
134 border: solid 1px #fff;
135 border: solid 1px #fff;
135 color: #fff;
136 color: #fff;
136 }
137 }
137
138
138 blockquote {
139 blockquote {
139 border-left: solid 2px;
140 border-left: solid 2px;
140 padding-left: 5px;
141 padding-left: 5px;
141 color: #B1FB17;
142 color: #B1FB17;
142 margin: 0;
143 margin: 0;
143 }
144 }
144
145
145 .post > .image {
146 .post > .image {
146 float: left; margin: 0 1ex .5ex 0;
147 float: left; margin: 0 1ex .5ex 0;
147 }
148 }
148
149
149 .post > .metadata {
150 .post > .metadata {
150 clear: left;
151 clear: left;
151 }
152 }
152
153
153 .get {
154 .get {
154 font-weight: bold;
155 font-weight: bold;
155 color: #d55;
156 color: #d55;
156 }
157 }
157
158
158 * {
159 * {
159 text-decoration: none;
160 text-decoration: none;
160 }
161 }
161
162
162 .dead_post {
163 .dead_post {
163 background-color: #442222;
164 background-color: #442222;
164 }
165 }
165
166
166 .quote {
167 .quote {
167 color: greenyellow;
168 color: greenyellow;
168 padding-left: 5px;
169 padding-left: 5px;
169 border-left: solid 2px greenyellow;
170 border-left: solid 2px greenyellow;
170 }
171 }
171
172
172 .spoiler {
173 .spoiler {
173 background: white;
174 background: white;
174 color: white;
175 color: white;
175 }
176 }
176
177
177 .spoiler:hover {
178 .spoiler:hover {
178 background: black;
179 background: black;
179 }
180 }
180
181
181 .comment {
182 .comment {
182 color: darkseagreen;
183 color: darkseagreen;
183 }
184 }
184
185
185 a:hover {
186 a:hover {
186 text-decoration: underline;
187 text-decoration: underline;
187 }
188 }
188
189
189 .last-replies {
190 .last-replies {
190 margin-left: 3ex;
191 margin-left: 3ex;
191 }
192 }
192
193
193 .thread {
194 .thread {
194 margin-bottom: 3ex;
195 margin-bottom: 3ex;
195 }
196 }
196
197
197 .post:target {
198 .post:target {
198 border: solid 2px white;
199 border: solid 2px white;
199 }
200 }
200
201
201 pre{
202 pre{
202 white-space:pre-wrap
203 white-space:pre-wrap
203 }
204 }
204
205
205 li {
206 li {
206 list-style-position: inside;
207 list-style-position: inside;
207 }
208 }
208
209
209 .fancybox-skin {
210 .fancybox-skin {
210 position: relative;
211 position: relative;
211 background-color: #fff;
212 background-color: #fff;
212 color: #ddd;
213 color: #ddd;
213 text-shadow: none;
214 text-shadow: none;
214 }
215 }
215
216
216 .fancybox-image {
217 .fancybox-image {
217 border: 1px solid black;
218 border: 1px solid black;
218 }
219 }
219
220
220 .image-mode-tab {
221 .image-mode-tab {
221 background: #444;
222 background: #444;
222 color: #eee;
223 color: #eee;
223 display: table;
224 display: table;
224 margin: 5px;
225 margin: 5px;
225 padding: 5px;
226 padding: 5px;
226 border-radius: 5px;
227 border-radius: 5px;
227 }
228 }
228
229
229 .image-mode-tab > label {
230 .image-mode-tab > label {
230 margin: 0 1ex;
231 margin: 0 1ex;
231 }
232 }
232
233
233 .image-mode-tab > label > input {
234 .image-mode-tab > label > input {
234 margin-right: .5ex;
235 margin-right: .5ex;
235 }
236 }
236
237
237 #posts-table {
238 #posts-table {
238 margin: 5px;
239 margin: 5px;
239 } No newline at end of file
240 }
@@ -1,243 +1,244 b''
1 * {
1 * {
2 font-size: inherit;
2 font-size: inherit;
3 margin: 0;
3 margin: 0;
4 padding: 0;
4 padding: 0;
5 }
5 }
6 html {
6 html {
7 background: #fff;
7 background: #fff;
8 color: #000;
8 color: #000;
9 font: medium sans-serif;
9 font: medium sans-serif;
10 }
10 }
11 a {
11 a {
12 color: inherit;
12 color: inherit;
13 text-decoration: underline;
13 text-decoration: underline;
14 }
14 }
15 li {
15 li {
16 list-style-position: inside;
16 list-style-position: inside;
17 }
17 }
18
18
19 #admin_panel {
19 #admin_panel {
20 background: #182F6F;
20 background: #182F6F;
21 color: #fff;
21 color: #fff;
22 padding: .5ex 1ex .5ex 1ex;
22 padding: .5ex 1ex .5ex 1ex;
23 }
23 }
24
24
25 .navigation_panel {
25 .navigation_panel {
26 background: #182F6F;
26 background: #182F6F;
27 color: #B4CFEC;
27 color: #B4CFEC;
28 margin-bottom: 1em;
28 margin-bottom: 1em;
29 padding: .5ex 1ex 1ex 1ex;
29 padding: .5ex 1ex 1ex 1ex;
30 }
30 }
31 .navigation_panel::after {
31 .navigation_panel::after {
32 clear: both;
32 clear: both;
33 content: ".";
33 content: ".";
34 display: block;
34 display: block;
35 height: 0;
35 height: 0;
36 line-height: 0;
36 line-height: 0;
37 visibility: hidden;
37 visibility: hidden;
38 }
38 }
39
39
40 .navigation_panel a:link, .navigation_panel a:visited, .navigation_panel a:hover {
40 .navigation_panel a:link, .navigation_panel a:visited, .navigation_panel a:hover {
41 text-decoration: none;
41 text-decoration: none;
42 }
42 }
43
43
44 .navigation_panel .link {
44 .navigation_panel .link {
45 border-right: 1px solid #fff;
45 border-right: 1px solid #fff;
46 color: #fff;
46 color: #fff;
47 font-weight: bold;
47 font-weight: bold;
48 margin-right: 1ex;
48 margin-right: 1ex;
49 padding-right: 1ex;
49 padding-right: 1ex;
50 }
50 }
51 .navigation_panel .link:last-child {
51 .navigation_panel .link:last-child {
52 border-left: 1px solid #fff;
52 border-left: 1px solid #fff;
53 border-right: none;
53 border-right: none;
54 float: right;
54 float: right;
55 margin-left: 1ex;
55 margin-left: 1ex;
56 margin-right: 0;
56 margin-right: 0;
57 padding-left: 1ex;
57 padding-left: 1ex;
58 padding-right: 0;
58 padding-right: 0;
59 }
59 }
60
60
61 .navigation_panel .tag {
61 .navigation_panel .tag {
62 color: #fff;
62 color: #fff;
63 }
63 }
64
64
65 .title {
65 .title {
66 color: #182F6F;
66 color: #182F6F;
67 font-weight: bold;
67 font-weight: bold;
68 }
68 }
69
69
70 .post-form-w {
70 .post-form-w {
71 background: #182F6F;
71 background: #182F6F;
72 border-radius: 1ex;
72 border-radius: 1ex;
73 color: #fff;
73 color: #fff;
74 margin: 1em 1ex;
74 margin: 1em 1ex;
75 padding: 1ex;
75 padding: 1ex;
76 }
76 }
77 .post-form {
77 .post-form {
78 display: table;
78 display: table;
79 border-collapse: collapse;
79 border-collapse: collapse;
80 width: 100%;
80 width: 100%;
81
81
82 }
82 }
83 .form-row {
83 .form-row {
84 display: table-row;
84 display: table-row;
85 }
85 }
86 .form-label, .form-input {
86 .form-label, .form-input {
87 display: table-cell;
87 display: table-cell;
88 vertical-align: top;
88 vertical-align: top;
89 }
89 }
90 .form-label {
90 .form-label {
91 padding: .25em 1ex .25em 0;
91 padding: .25em 1ex .25em 0;
92 }
92 }
93 .form-input {
93 .form-input {
94 padding: .25em 0;
94 padding: .25em 0;
95 }
95 }
96 .form-input > * {
96 .form-input > * {
97 background: #fff;
97 background: #fff;
98 color: #000;
98 color: #000;
99 border: none;
99 border: none;
100 padding: 0;
100 padding: 0;
101 resize: vertical;
101 resize: vertical;
102 width: 100%;
102 width: 100%;
103 }
103 }
104 .form-submit {
104 .form-submit {
105 border-bottom: 1px solid #666;
105 border-bottom: 1px solid #666;
106 margin-bottom: .5em;
106 margin-bottom: .5em;
107 padding-bottom: .5em;
107 padding-bottom: .5em;
108 }
108 }
109 .form-title {
109 .form-title {
110 font-weight: bold;
110 font-weight: bold;
111 margin-bottom: .5em;
111 margin-bottom: .5em;
112 }
112 }
113 .post-form .settings_item {
113 .post-form .settings_item {
114 margin: .5em 0;
114 margin: .5em 0;
115 }
115 }
116 .form-submit input {
116 .form-submit input {
117 margin-top: .5em;
117 margin-top: .5em;
118 padding: .2em 1ex;
118 padding: .2em 1ex;
119 }
119 }
120 .form-label {
120 .form-label {
121 text-align: right;
121 text-align: right;
122 }
122 }
123
123
124 .block {
124 .block {
125 display: inline-block;
125 display: inline-block;
126 vertical-align: top;
126 vertical-align: top;
127 }
127 }
128
128
129 .post_id {
129 .post_id {
130 color: #a00;
130 color: #a00;
131 }
131 }
132
132
133 .post {
133 .post {
134 clear: left;
134 clear: left;
135 margin: 0 1ex 1em 1ex;
135 margin: 0 1ex 1em 1ex;
136 overflow-x: auto;
136 overflow-x: auto;
137 word-wrap: break-word;
137 }
138 }
138 .last-replies > .post, #posts > .post {
139 .last-replies > .post, #posts > .post {
139 border-bottom: 1px solid #182F6F;
140 border-bottom: 1px solid #182F6F;
140 padding-bottom: 1em;
141 padding-bottom: 1em;
141 }
142 }
142 #posts > .post:last-child {
143 #posts > .post:last-child {
143 border-bottom: none;
144 border-bottom: none;
144 padding-bottom: 0;
145 padding-bottom: 0;
145 }
146 }
146
147
147 .metadata {
148 .metadata {
148 background: #C0E4E8;
149 background: #C0E4E8;
149 border: 1px solid #7F9699;
150 border: 1px solid #7F9699;
150 border-radius: .4ex;
151 border-radius: .4ex;
151 display: table;
152 display: table;
152 margin-top: .5em;
153 margin-top: .5em;
153 padding: .4em;
154 padding: .4em;
154 }
155 }
155
156
156 .post ul, .post ol {
157 .post ul, .post ol {
157 margin: .5em 0 .5em 3ex;
158 margin: .5em 0 .5em 3ex;
158 }
159 }
159 .post li {
160 .post li {
160 margin: .2em 0;
161 margin: .2em 0;
161 }
162 }
162 .post p {
163 .post p {
163 margin: .5em 0;
164 margin: .5em 0;
164 }
165 }
165 .post blockquote {
166 .post blockquote {
166 border-left: 3px solid #182F6F;
167 border-left: 3px solid #182F6F;
167 margin: .5em 0 .5em 3ex;
168 margin: .5em 0 .5em 3ex;
168 padding-left: 1ex;
169 padding-left: 1ex;
169 }
170 }
170 .post blockquote > blockquote {
171 .post blockquote > blockquote {
171 padding-top: .1em;
172 padding-top: .1em;
172 }
173 }
173
174
174 .post > .image {
175 .post > .image {
175 float: left;
176 float: left;
176 margin-right: 1ex;
177 margin-right: 1ex;
177 }
178 }
178 .post > .metadata {
179 .post > .metadata {
179 clear: left;
180 clear: left;
180 }
181 }
181
182
182 .post > .message .get {
183 .post > .message .get {
183 color: #182F6F; font-weight: bold;
184 color: #182F6F; font-weight: bold;
184 }
185 }
185
186
186 .dead_post > .metadata {
187 .dead_post > .metadata {
187 background: #eee;
188 background: #eee;
188 }
189 }
189
190
190 .quote {
191 .quote {
191 color: #182F6F;
192 color: #182F6F;
192 padding-left: 5px;
193 padding-left: 5px;
193 border-left: solid 2px blue;
194 border-left: solid 2px blue;
194 }
195 }
195
196
196 .spoiler {
197 .spoiler {
197 background: black;
198 background: black;
198 color: black;
199 color: black;
199 }
200 }
200
201
201 .spoiler:hover {
202 .spoiler:hover {
202 background: #ffffff;
203 background: #ffffff;
203 }
204 }
204
205
205 .comment {
206 .comment {
206 color: #557055;
207 color: #557055;
207 }
208 }
208
209
209 .last-replies {
210 .last-replies {
210 margin-left: 6ex;
211 margin-left: 6ex;
211 }
212 }
212
213
213 .thread > .post > .message > .post-info {
214 .thread > .post > .message > .post-info {
214 border-bottom: 2px solid #182F6F;
215 border-bottom: 2px solid #182F6F;
215 padding-bottom: .5em;
216 padding-bottom: .5em;
216 }
217 }
217
218
218 .last-replies > .post:last-child {
219 .last-replies > .post:last-child {
219 border-bottom: none;
220 border-bottom: none;
220 padding-bottom: 0;
221 padding-bottom: 0;
221 }
222 }
222
223
223 :target .post_id {
224 :target .post_id {
224 background: #182F6F;
225 background: #182F6F;
225 color: #FFF;
226 color: #FFF;
226 text-decoration: none;
227 text-decoration: none;
227 }
228 }
228
229
229 .image-mode-tab {
230 .image-mode-tab {
230 background: #182F6F;
231 background: #182F6F;
231 color: #FFF;
232 color: #FFF;
232 display: table;
233 display: table;
233 margin: 1em auto 1em 0;
234 margin: 1em auto 1em 0;
234 padding: .2em .5ex;
235 padding: .2em .5ex;
235 }
236 }
236
237
237 .image-mode-tab > label {
238 .image-mode-tab > label {
238 margin: 0 1ex;
239 margin: 0 1ex;
239 }
240 }
240
241
241 .image-mode-tab > label > input {
242 .image-mode-tab > label > input {
242 margin-right: .5ex;
243 margin-right: .5ex;
243 } No newline at end of file
244 }
General Comments 0
You need to be logged in to leave comments. Login now