├── 404.php
├── README
├── archive.php
├── attachment.php
├── author.php
├── category.php
├── comments.php
├── css
└── screen.less
├── editor-style-rtl.css
├── editor-style.css
├── footer.php
├── functions.php
├── header.php
├── images
├── icon-copy.png
├── max.png
├── min.png
├── pear.png
├── sb-black.png
├── tag-bg.png
├── temp-img.png
├── thumb.png
└── tile.png
├── index.php
├── js
└── less.js
├── license.txt
├── loop-attachment.php
├── loop-page.php
├── loop-single.php
├── loop.php
├── onecolumn-page.php
├── page.php
├── search.php
├── sidebar-footer.php
├── sidebar.php
├── single.php
├── style.css
└── tag.php
/404.php:
--------------------------------------------------------------------------------
1 |
11 |
12 |
25 |
29 |
30 |
--------------------------------------------------------------------------------
/README:
--------------------------------------------------------------------------------
1 | Pears are common patterns of markup & style.
2 |
3 | Pears is an open source WordPress theme. I'll admit the code
4 | is a bit rough, initially based on the default 'twentyone' theme.
5 |
6 | I wanted a handy way of collecting HTML & CSS pattern pairs.
7 | Often used modules with a minimal of style applied. It's become
8 | a valuable learning tool, whereby breaking interfaces down into
9 | small pieces make it easier to learn and improve running code.
10 |
11 | HOW TO ADD CODE PATTERNS
12 |
13 | - Each pattern is a post in WordPress.
14 | - Add markup in a custom field named 'html'.
15 | - Add style in a custom field named 'css'.
16 | - Use the main content field for optional notes.
17 |
18 | Learn more and see it in action here:
19 | http://pea.rs
20 |
21 | Enjoy.
22 |
23 | Dan Cederholm
24 | Salem, Massachusetts
25 | February, 2012
26 | http://simplebits.com
27 |
--------------------------------------------------------------------------------
/archive.php:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
30 |
31 |
32 |
33 | %s', 'twentyten' ), get_the_date() ); ?>
34 |
35 | %s', 'twentyten' ), get_the_date( 'F Y' ) ); ?>
36 |
37 | %s', 'twentyten' ), get_the_date( 'Y' ) ); ?>
38 |
39 |
40 |
41 |
42 |
43 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/attachment.php:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/author.php:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
26 |
27 |
28 |
29 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
56 |
57 |
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/category.php:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
' . single_cat_title( '', false ) . '' );
17 | ?>
18 | ' . $category_description . '';
22 |
23 | /* Run the loop for the category page to output the posts.
24 | * If you want to overload this in a child theme then include a file
25 | * called loop-category.php and that will be used instead.
26 | */
27 | get_template_part( 'loop', 'category' );
28 | ?>
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/comments.php:
--------------------------------------------------------------------------------
1 |
15 |
16 |
20 |
28 |
29 |
32 |
33 |
34 |
38 |
39 | 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
40 |
41 |
← Older Comments', 'twentyten' ) ); ?>
42 |
→', 'twentyten' ) ); ?>
43 |
44 |
45 |
46 |
57 |
58 | 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
59 |
60 |
← Older Comments', 'twentyten' ) ); ?>
61 |
→', 'twentyten' ) ); ?>
62 |
63 |
64 |
65 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
--------------------------------------------------------------------------------
/css/screen.less:
--------------------------------------------------------------------------------
1 | /*
2 | Title: Master styles for screen media
3 | Author: dan@simplebits.com
4 | */
5 |
6 | /* LESS variables
7 | --------------------------------------------- */
8 |
9 | @text-color: #3e4549;
10 | @link-color: #2790ae;
11 | @link-hover-color: #0f6780;
12 |
13 | @font-mono: Monaco, monospace;
14 | @font-small: 12px;
15 | @font-medium: 13px;
16 | @font-large: 18px;
17 |
18 | /* LESS mixins
19 | --------------------------------------------- */
20 |
21 | .rounded (@radius: 6px) {
22 | -webkit-border-radius: @radius;
23 | -moz-border-radius: @radius;
24 | border-radius: @radius;
25 | }
26 | .box-shadow (@x: 0, @y: 0, @blur: 2px, @color: #000) {
27 | -webkit-box-shadow: @arguments;
28 | -moz-box-shadow: @arguments;
29 | box-shadow: @arguments;
30 | }
31 | .box-sizing (@type: border-box) {
32 | -webkit-box-sizing: @type;
33 | -moz-box-sizing: @type;
34 | -o-box-sizing: @type;
35 | box-sizing: @type;
36 | }
37 | .transition (@property, @duration: .2s, @timing: ease-in-out) {
38 | -webkit-transition: @arguments;
39 | -moz-transition: @arguments;
40 | -o-transition: @arguments;
41 | transition: @arguments;
42 | }
43 | .tab-size (@spaces: 2) {
44 | -webkit-tab-size: @spaces;
45 | -moz-tab-size: @spaces;
46 | -o-tab-size: @spaces;
47 | tab-size: @spaces;
48 | }
49 |
50 | /* reset styles
51 | --------------------------------------------- */
52 |
53 | html, body, div, span, applet, object, iframe,
54 | h1, h2, h3, h4, h5, h6, p, blockquote, pre,
55 | a, abbr, acronym, address, big, cite, code,
56 | del, dfn, em, img, ins, kbd, q, s, samp,
57 | small, strike, strong, sub, sup, tt, var,
58 | b, u, i, center,
59 | dl, dt, dd, ol, ul, li,
60 | fieldset, form, label, legend,
61 | table, caption, tbody, tfoot, thead, tr, th, td,
62 | article, aside, canvas, details, embed,
63 | figure, figcaption, footer, header, hgroup,
64 | menu, nav, output, ruby, section, summary,
65 | time, mark, audio, video {
66 | margin: 0;
67 | padding: 0;
68 | border: 0;
69 | font-size: 100%;
70 | vertical-align: baseline;
71 | }
72 |
73 | /* HTML5 display-role reset for older browsers */
74 | article, aside, details, figcaption, figure,
75 | footer, header, hgroup, menu, nav, section {
76 | display: block;
77 | }
78 | body {
79 | line-height: 1;
80 | }
81 | ol, ul {
82 | list-style: none;
83 | }
84 | blockquote, q {
85 | quotes: none;
86 | }
87 | blockquote:before, blockquote:after,
88 | q:before, q:after {
89 | content: '';
90 | content: none;
91 | }
92 | table {
93 | border-collapse: collapse;
94 | border-spacing: 0;
95 | }
96 | :focus {
97 | outline: none;
98 | }
99 |
100 | /* general styles
101 | --------------------------------------------- */
102 |
103 | body {
104 | padding: 0 0 15px 0;
105 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
106 | color: @text-color;
107 | font-size: 100%;
108 | background: #e6eaec url(../images/tile.png);
109 | }
110 |
111 | /* links */
112 |
113 | a:link, a:visited {
114 | color: @link-color;
115 | text-decoration: none;
116 | outline: none;
117 | }
118 | a:hover {
119 | color: @link-hover-color;
120 | }
121 |
122 | /* page structure
123 | --------------------------------------------- */
124 |
125 | div.wrap {
126 | position: relative;
127 | }
128 | div.main {
129 | margin-left: 160px;
130 | padding: 0 20px;
131 | .transition(margin, .4s, ease-in-out);
132 | }
133 | body.expanded div.main {
134 | margin-left: 15px;
135 | }
136 | #nav {
137 | font-size: @font-small;
138 | .box-sizing(border-box);
139 | }
140 | #pears-footer {
141 | margin: 10px 20px;
142 | text-align: center;
143 | }
144 |
145 | /* header
146 | --------------------------------------------- */
147 |
148 | header[role="banner"] {
149 | margin: 15px 20px 15px 20px;
150 | .transition(margin, .4s, ease-in-out);
151 | }
152 | body.expanded header[role="banner"] {
153 | margin-left: 35px;
154 | }
155 | #logo {
156 | display: block;
157 | min-height: 46px;
158 | padding: 0 0 0 40px;
159 | font-size: 25px;
160 | line-height: 46px;
161 | white-space: nowrap;
162 | color: @text-color;
163 | background: url(../images/pear.png) no-repeat 0 50%;
164 | overflow: hidden;
165 | }
166 | #logo em {
167 | padding: 0 0 0 0;
168 | font-style: normal;
169 | color: #91969a;
170 | .transition(opacity, .4s, ease);
171 | }
172 |
173 | /* main styles
174 | --------------------------------------------- */
175 |
176 | div.mod {
177 | margin: 0 0 20px 0;
178 | padding: 20px;
179 | background: #fff;
180 | .rounded;
181 | .box-sizing(border-box);
182 | .box-shadow(1px, 1px, 2px, rgba(0,0,0,.1));
183 | }
184 | div.mod h3.label {
185 | float: left;
186 | margin: 0 0 10px -20px;
187 | padding: 6px 10px;
188 | font-size: @font-small;
189 | font-weight: normal;
190 | letter-spacing: 1px;
191 | text-transform: uppercase;
192 | color: #fff;
193 | background: #a1cf32;
194 | .rounded(4px);
195 | border-top-left-radius: 0;
196 | border-bottom-left-radius: 0;
197 | }
198 | div.mod h3.label a {
199 | color: #fff;
200 | }
201 | div.mod h4 {
202 | float: left;
203 | width: 50%;
204 | padding: 2px 15px;
205 | font-size: @font-large;
206 | font-weight: normal;
207 | }
208 | div.mod h4 span.sep {
209 | color: #bbb;
210 | }
211 | div.mod a.clip {
212 | float: left;
213 | margin: 2px 0 0 10px;
214 | opacity: 0;
215 | .transition(opacity);
216 | }
217 | div.mod:hover a.clip {
218 | opacity: .7;
219 | }
220 | div.mod:hover a.clip:hover {
221 | opacity: 1;
222 | }
223 | div#pattern.mod div#pattern-wrap {
224 | clear: left;
225 | padding: 20px 60px;
226 | }
227 | div#markup.mod {
228 | float: left;
229 | width: 49%;
230 | background: rgba(255,255,255,.6);
231 | }
232 | div#style.mod {
233 | float: right;
234 | width: 49%;
235 | background: rgba(255,255,255,.6);
236 | }
237 | div.mod textarea.mod-ta {
238 | width: 100%;
239 | border: none;
240 | height: 500px;
241 | font-family: @font-mono;
242 | font-size: @font-small;
243 | line-height: 1.4;
244 | white-space: pre;
245 | color: @text-color;
246 | background: none;
247 | outline: none;
248 | .tab-size;
249 | }
250 |
251 | /* pattern notes */
252 |
253 | #pattern-notes h3.label {
254 | background: #bac1c5;
255 | }
256 | #pattern-notes p {
257 | clear: left;
258 | line-height: 1.4;
259 | color: #8b959a;
260 | }
261 | #pattern-notes code {
262 | font-family: @font-mono;
263 | font-size: @font-medium;
264 | }
265 | #pattern-notes pre {
266 | display: block;
267 | margin: 12px 0 0 0;
268 | padding: 15px 0 0 0;
269 | font-family: @font-mono;
270 | font-size: @font-small;
271 | line-height: 1.4;
272 | white-space: pre;
273 | color: @text-color;
274 | border-top: 1px solid #ddd;
275 | }
276 |
277 | /* nav styles
278 | --------------------------------------------- */
279 |
280 | #nav {
281 | position: absolute;
282 | top: 0;
283 | left: 0;
284 | width: 160px;
285 | margin: 0 0 15px 0;
286 | padding: 20px 0;
287 | background: #575d60;
288 | .rounded;
289 | border-top-left-radius: 0;
290 | border-bottom-left-radius: 0;
291 | -webkit-transition: left .4s ease-in-out;
292 | -moz-transition: left .4s ease-in-out;
293 | -o-transition: left .4s ease-in-out;
294 | transition: left .4s ease-in-out;
295 | }
296 | body.expanded #nav {
297 | left: -140px;
298 | }
299 | #nav-toggle {
300 | position: absolute;
301 | display: block;
302 | top: 0;
303 | right: 0;
304 | width: 20px;
305 | height: 100%;
306 | text-indent: -9999px;
307 | background: url(../images/min.png) no-repeat 6px 50%;
308 | opacity: .3;
309 | }
310 | #nav-toggle:hover {
311 | background-color: rgba(255,255,255,.15);
312 | opacity: .6;
313 | }
314 | body.expanded #nav-toggle {
315 | background-image: url(../images/max.png);
316 | }
317 | #nav h2 {
318 | margin: 0 20px 4px 20px;
319 | font-size: @font-small;
320 | font-weight: normal;
321 | text-transform: uppercase;
322 | letter-spacing: 2px;
323 | }
324 | #nav h2 a {
325 | color: #fff;
326 | }
327 | #nav ul {
328 | margin: 0 20px 15px 0;
329 | padding: 0 0 10px 0;
330 | border-bottom: 1px solid rgba(255,255,255,.1);
331 | }
332 | #nav div.nav-item:hover ul {
333 | display: block;
334 | }
335 | #nav ul:last-of-type {
336 | margin-bottom: 0;
337 | padding-bottom: 0;
338 | border-bottom: none;
339 | }
340 | #nav ul li a {
341 | display: block;
342 | padding: 5px 8px 5px 20px;
343 | color: rgba(255,255,255,.5);
344 | background: transparent;
345 | .rounded(4px);
346 | border-top-left-radius: 0;
347 | border-bottom-left-radius: 0;
348 | }
349 | #nav ul li a:hover {
350 | color: rgba(255,255,255,.8);
351 | background: rgba(255,255,255,.1);
352 | }
353 |
354 | /* footer
355 | --------------------------------------------- */
356 |
357 | #pears-footer p.cc {
358 | margin: 8px 0 20px 0;
359 | font-size: @font-medium;
360 | }
361 | #pears-footer #sb img {
362 | opacity: .3;
363 | .transition(opacity);
364 | }
365 | #pears-footer #sb:hover img {
366 | opacity: .5;
367 | }
368 |
369 | /* misc.
370 | --------------------------------------------- */
371 |
372 | hr, .hide {
373 | display: none;
374 | }
375 | a img {
376 | border: none;
377 | }
378 |
379 | /* custom selection colors */
380 |
381 | ::-moz-selection {
382 | color: #fff;
383 | color: rgba(255,255,255,.85);
384 | background: #a1cf32;
385 | }
386 | ::selection {
387 | color: #fff;
388 | color: rgba(255,255,255,.85);
389 | background: #a1cf32;
390 | }
391 |
392 | /* self-clear floats */
393 |
394 | .group:after {
395 | content: ".";
396 | display: block;
397 | height: 0;
398 | clear: both;
399 | visibility: hidden;
400 | }
401 |
402 | /* IE patches
403 | --------------------------------------------- */
404 |
405 | /* self-clear floats */
406 |
407 | * html .group { /* IE6 */
408 | height: 1%;
409 | }
410 | *:first-child+html .group { /* IE7 */
411 | min-height: 1px;
412 | }
413 |
414 | /* responsiveness
415 | --------------------------------------------- */
416 |
417 | @media screen and (max-width: 700px) {
418 | #logo em {
419 | opacity: 0;
420 | }
421 | div.main {
422 | margin-left: 0;
423 | padding: 0 10px;
424 | }
425 | #nav {
426 | position: static;
427 | left: auto;
428 | width: auto;
429 | padding: 20px;
430 | .rounded;
431 | }
432 | #nav-toggle {
433 | display: none;
434 | }
435 | #nav h2 {
436 | margin-left: 8px;
437 | }
438 | #nav ul {
439 | margin-right: 0;
440 | -webkit-column-count: 2;
441 | -moz-column-count: 2;
442 | column-count: 2;
443 | }
444 | #nav ul li a {
445 | padding: 5px 8px;
446 | .rounded(4px);
447 | }
448 | div#pattern.mod div#pattern-wrap {
449 | padding: 10px 0;
450 | }
451 | div#markup.mod,
452 | div#style.mod {
453 | float: none;
454 | width: 100%;
455 | }
456 | div.mod h4 {
457 | width: auto;
458 | }
459 | }
460 |
--------------------------------------------------------------------------------
/editor-style-rtl.css:
--------------------------------------------------------------------------------
1 | /*
2 | Theme Name: Twenty Ten
3 | */
4 | /*
5 | Used to style the TinyMCE editor.
6 | */
7 | html .mceContentBody{
8 | direction:rtl;
9 | unicode-bidi:embed;
10 | float:right;
11 | }
12 | * {
13 | font-family: Arial, Tahoma, sans-serif;
14 | }
15 | /* Text elements */
16 | ul {
17 | margin: 0 -18px 18px 0;
18 | }
19 | ol {
20 | margin: 0 -18px 18px 0;
21 | }
22 | dd {
23 | margin-right: 0;
24 | }
25 | blockquote {
26 | font-style: normal;
27 | }
28 | table {
29 | text-align: right;
30 | margin: 0 0 24px -1px;
31 | }
32 | html .mceContentBody{
33 | direction:rtl;
34 | unicode-bidi:embed;
35 | float:right;
36 | }
37 | * {
38 | font-family: Arial, Tahoma, sans-serif;
39 | }
40 | /* Text elements */
41 | ul {
42 | margin: 0 -18px 18px 0;
43 | }
44 | ol {
45 | margin: 0 -18px 18px 0;
46 | }
47 | dd {
48 | margin-right: 0;
49 | }
50 | blockquote {
51 | font-style: normal;
52 | }
53 | table {
54 | text-align: right;
55 | margin: 0 0 24px -1px;
56 | }
--------------------------------------------------------------------------------
/editor-style.css:
--------------------------------------------------------------------------------
1 | /*
2 | Theme Name: Twenty Ten
3 | Description: Used to style the TinyMCE editor.
4 | */
5 | html .mceContentBody {
6 | max-width: 640px;
7 | }
8 | * {
9 | color: #444;
10 | font-family: Georgia, "Bitstream Charter", serif;
11 | line-height: 1.5;
12 | }
13 | p,
14 | dl,
15 | td,
16 | th,
17 | ul,
18 | ol,
19 | blockquote {
20 | font-size: 16px;
21 | }
22 | tr th,
23 | thead th,
24 | label,
25 | tr th,
26 | thead th {
27 | font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
28 | }
29 | pre {
30 | font-family: "Courier 10 Pitch", Courier, monospace;
31 | }
32 | code, code var {
33 | font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
34 | }
35 | body, input, textarea {
36 | font-size: 12px;
37 | line-height: 18px;
38 | }
39 | hr {
40 | background-color: #e7e7e7;
41 | border: 0;
42 | clear: both;
43 | height: 1px;
44 | margin-bottom: 18px;
45 | }
46 | /* Text elements */
47 | p {
48 | margin-bottom: 18px;
49 | }
50 | ul {
51 | list-style: square;
52 | margin: 0 0 18px 1.5em;
53 | }
54 | ol {
55 | list-style: decimal;
56 | margin: 0 0 18px 1.5em;
57 | }
58 | ol ol {
59 | list-style: upper-alpha;
60 | }
61 | ol ol ol {
62 | list-style: lower-roman;
63 | }
64 | ol ol ol ol {
65 | list-style: lower-alpha;
66 | }
67 | ul ul,
68 | ol ol,
69 | ul ol,
70 | ol ul {
71 | margin-bottom: 0;
72 | }
73 | dl {
74 | margin: 0 0 24px 0;
75 | }
76 | dt {
77 | font-weight: bold;
78 | }
79 | dd {
80 | margin-bottom: 18px;
81 | }
82 | strong {
83 | color: #000;
84 | font-weight: bold;
85 | }
86 | cite,
87 | em,
88 | i {
89 | border: none;
90 | font-style: italic;
91 | }
92 | big {
93 | font-size: 131.25%;
94 | }
95 | ins {
96 | background: #ffc;
97 | border: none;
98 | color: #333;
99 | }
100 | del {
101 | text-decoration: line-through;
102 | color: #555;
103 | }
104 | blockquote {
105 | font-style: italic;
106 | padding: 0 3em;
107 | }
108 | blockquote cite,
109 | blockquote em,
110 | blockquote i {
111 | font-style: normal;
112 | }
113 | pre {
114 | background: #f7f7f7;
115 | color: #222;
116 | line-height: 18px;
117 | margin-bottom: 18px;
118 | padding: 1.5em;
119 | }
120 | abbr,
121 | acronym {
122 | border-bottom: 1px dotted #666;
123 | cursor: help;
124 | }
125 | ins {
126 | text-decoration: none;
127 | }
128 | sup,
129 | sub {
130 | font-size: 10px;
131 | height: 0;
132 | line-height: 1;
133 | position: relative;
134 | vertical-align: baseline;
135 | }
136 | sup {
137 | bottom: 1ex;
138 | }
139 | sub {
140 | top: .5ex;
141 | }
142 | a:link {
143 | color: #06c;
144 | }
145 | a:visited {
146 | color: #743399;
147 | }
148 | a:active,
149 | a:hover {
150 | color: #ff4b33;
151 | }
152 | p,
153 | ul,
154 | ol,
155 | dd,
156 | pre,
157 | hr {
158 | margin-bottom: 24px;
159 | }
160 | ul ul,
161 | ol ol,
162 | ul ol,
163 | ol ul {
164 | margin-bottom: 0;
165 | }
166 | pre,
167 | kbd,
168 | tt,
169 | var {
170 | font-size: 15px;
171 | line-height: 21px;
172 | }
173 | code {
174 | font-size: 13px;
175 | }
176 | strong,
177 | b,
178 | dt,
179 | th {
180 | color: #000;
181 | }
182 | h1,
183 | h2,
184 | h3,
185 | h4,
186 | h5,
187 | h6 {
188 | color: #000;
189 | font-weight: normal;
190 | line-height: 1.5em;
191 | margin: 0 0 20px 0;
192 | }
193 | h1 {
194 | font-size: 2.4em;
195 | }
196 | h2 {
197 | font-size: 1.8em;
198 | }
199 | h3 {
200 | font-size: 1.4em;
201 | }
202 | h4 {
203 | font-size: 1.2em;
204 | }
205 | h5 {
206 | font-size: 1em;
207 | }
208 | h6 {
209 | font-size: 0.9em;
210 | }
211 | table {
212 | border: 1px solid #e7e7e7 !important;
213 | border-collapse: collapse;
214 | border-spacing: 0;
215 | margin: 0 -1px 24px 0;
216 | text-align: left;
217 | width: 100%;
218 | }
219 | tr th,
220 | thead th {
221 | border: none !important;
222 | color: #888;
223 | font-size: 12px;
224 | font-weight: bold;
225 | line-height: 18px;
226 | padding: 9px 24px;
227 | }
228 | tr td {
229 | border: none !important;
230 | border-top: 1px solid #e7e7e7 !important;
231 | padding: 6px 24px;
232 | }
233 | img {
234 | margin: 0;
235 | }
236 | img.size-auto,
237 | img.size-large,
238 | img.size-full,
239 | img.size-medium {
240 | max-width: 100%;
241 | height: auto;
242 | }
243 | .alignleft,
244 | img.alignleft {
245 | display: inline;
246 | float: left;
247 | margin-right: 24px;
248 | margin-top: 4px;
249 | }
250 | .alignright,
251 | img.alignright {
252 | display: inline;
253 | float: right;
254 | margin-left: 24px;
255 | margin-top: 4px;
256 | }
257 | .aligncenter,
258 | img.aligncenter {
259 | clear: both;
260 | display: block;
261 | margin-left: auto;
262 | margin-right: auto;
263 | }
264 | img.alignleft,
265 | img.alignright,
266 | img.aligncenter {
267 | margin-bottom: 12px;
268 | }
269 | .wp-caption {
270 | background: #f1f1f1;
271 | border: none;
272 | -khtml-border-radius: 0;
273 | -moz-border-radius: 0;
274 | -webkit-border-radius: 0;
275 | border-radius: 0;
276 | color: #888;
277 | font-size: 12px;
278 | line-height: 18px;
279 | margin-bottom: 20px;
280 | max-width: 632px !important; /* prevent too-wide images from breaking layout */
281 | padding: 4px;
282 | text-align: center;
283 | }
284 | .wp-caption img {
285 | margin: 5px;
286 | }
287 | .wp-caption p.wp-caption-text {
288 | margin: 0 0 4px;
289 | }
290 | .wp-smiley {
291 | margin: 0;
292 | }
--------------------------------------------------------------------------------
/footer.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
13 |
14 |
15 |
42 |
43 |
44 |