root/branches/boomer/default_templates/base_theme.mtml @ 1104

Revision 1104, 7.1 kB (checked in by hachi, 2 years ago)

Merging release-24 to boomer branch: svn merge -r67670:69246 http://svn.sixapart.com/repos/eng/movabletype/branches/release-24 .

  • Property svn:executable set to *
  • Property svn:keywords set to Id Revision
Line 
1/* Base Theme ============================================================= */
2
3/* Reset ------------------------------------------------------------------ */
4
5/*
6    reset.css - resets default browser styling
7    http://tantek.com/log/2004/09.html#d06t2354
8    http://www.vox.com/.shared/css/base.css by beausmith.com
9    http://developer.yahoo.com/yui/reset/
10*/
11
12:link,:visited {
13    text-decoration: none;
14}
15html,body,div,
16ul,ol,li,dl,dt,dd,
17form,fieldset,input,textarea,
18h1,h2,h3,h4,h5,h6,pre,code,p,blockquote,hr,
19th,td {
20    margin: 0;
21    padding: 0;
22}
23h1,h2,h3,h4,h5,h6 {
24    font-size: 100%;
25    font-weight: normal;
26}
27table {
28    border-spacing: 0;
29}
30fieldset,img,abbr,acronym {
31    border: 0;
32}
33/* strict reset by uncommenting lines below */
34address,caption,cite,code,dfn,em,strong,b,u,s,i,th,var {
35    /* font-style: normal; */
36    /* font-weight: normal; */
37}
38
39ol,ul {
40    list-style: none;
41}
42caption,th {
43    text-align: left;
44}
45q:before,q:after {
46    content: '';
47}
48a {
49    text-decoration: underline;
50    outline: none;
51}
52hr {
53    border: 0;
54    height: 1px;
55    background-color: #000;
56    color: #000;
57}
58a img,:link img,:visited img {
59    border: none;
60}
61address {
62    font-style: normal;
63    display: inline;
64}
65
66
67/* Layout ----------------------------------------------------------------- */
68
69body {
70    text-align: center;
71    background: #fff;
72}
73
74#container-inner {
75    width: 940px;
76    min-height: 100%;
77    margin: 0 auto;
78    text-align: left;
79}
80
81#header, #content, #alpha, #beta, #gamma, #footer {
82    position: relative;
83}
84
85#alpha, #beta, #gamma {
86    display: inline;
87    float: left;
88}
89
90#header-inner, #content-inner, #footer-inner,
91#alpha-inner, #beta-inner, #gamma-inner {
92    position: static;
93}
94
95#header-inner, #content-inner, #footer-inner {
96    padding-top: 20px;
97    padding-bottom: 20px;
98}
99
100#header-inner, #footer-inner,
101#alpha-inner, #beta-inner, #gamma-inner {
102    overflow: hidden;
103    padding-right: 20px;
104    padding-left: 20px;
105}
106
107
108/* Wide-Thin-Thin */
109
110.layout-wtt #alpha {
111    width: 560px;
112}
113
114.layout-wtt #beta {
115    left: 190px;
116    width: 190px;
117}
118
119.layout-wtt #gamma {
120    right: 190px;
121    width: 190px;
122}
123
124
125/* Thin-Wide-Thin */
126
127.layout-twt #alpha {
128    left: 190px;
129    width: 560px;
130}
131
132.layout-twt #beta {
133    left: -560px;
134    width: 190px;
135}
136
137.layout-twt #gamma {
138    width: 190px;
139}
140
141
142/* Wide-Thin */
143
144.layout-wt #alpha {
145    width: 750px;
146}
147
148.layout-wt #beta {
149    width: 190px;
150}
151
152
153/* Thin-Wide */
154
155.layout-tw #alpha {
156    left: 190px;
157    width: 750px;
158}
159
160.layout-tw #beta {
161    left: -750px;
162    width: 190px;
163}
164
165
166/* Utilities */
167
168.pkg:after, #content-inner:after {
169    content: " ";
170    display: block;
171    visibility: hidden;
172    clear: both;
173    height: 0.1px;
174    font-size: 0.1em;
175    line-height: 0;
176}
177.pkg, #content-inner { display: inline-block; }
178/* no ie mac \*/
179* html .pkg, * html #content-inner { height: 1%; }
180.pkg, #content-inner { display: block; }
181/* */
182
183
184/* Content ---------------------------------------------------------------- */
185
186a:link, a:visited {
187    text-decoration: underline;
188}
189
190h1, h2, h3, h4, h5, h6, p, pre, blockquote, fieldset, ul, ol, dl {
191    margin-bottom: .75em;
192}
193
194blockquote, ol, ul {
195    margin-left: 30px;
196    background-repeat: repeat-y;
197}
198
199ol { list-style: decimal outside; }
200ul { list-style: disc outside; }
201.item { list-style: none; }
202
203
204/* Header */
205
206#header-name {
207    margin-bottom: .25em;
208}
209
210#header-description {
211    margin-bottom: 0;
212}
213
214
215/* Assets */
216
217.asset-body,
218.asset-more,
219.asset-more-link,
220.asset-excerpt,
221.comment-content,
222.comment-footer,
223.comments-open-content,
224.comments-open-footer,
225.comments-closed,
226.trackbacks-info,
227.trackback-content,
228.trackback-footer,
229.archive-content {
230    clear: both;
231}
232
233.asset,
234.comments,
235.trackbacks,
236.archive {
237    overflow: hidden;
238    width: 100%;
239}
240
241.asset,
242.asset-content,
243.comments,
244.trackbacks,
245.archive {
246    position: static;
247    clear: both;
248}
249
250.asset,
251.comments,
252.comments-content,
253.trackbacks,
254.archive,
255.search-form {
256    margin-bottom: 1.5em;
257}
258
259.asset-header,
260.asset-content,
261.asset-body,
262.comments-header,
263.comment-header,
264.comment-content,
265.comment-footer,
266.comments-open-header,
267.comments-open-content,
268#comments-open-footer,
269.comments-closed,
270#comment-form-external-auth,
271.comments-open-moderated,
272#comment-form-name,
273#comment-form-email,
274#comment-form-url,
275#comment-form-remember-me,
276#comments-open-text,
277.trackbacks-header,
278.trackbacks-info,
279.trackback-content,
280.trackback-footer,
281.archive-content,
282.search-form-header,
283.search-results-header {
284    margin-bottom: .75em;
285}
286
287.entry-categories,
288.entry-tags {
289    margin-bottom: .5em;
290}
291
292.asset-name {
293    margin-bottom: .25em;
294}
295
296.asset-footer,
297.asset-meta {
298    font-size: 11px;
299}
300
301.asset-meta {
302    margin-top: .25em;
303    padding-top: 2px;
304    padding-bottom: .3em;
305    font-weight: normal;
306}
307
308.asset-footer {
309    clear: both;
310    margin-top: 1.5em;
311    padding-top: .5em;
312}
313
314.content-nav {
315    text-align: center;
316}
317
318.entry-tags-header,
319.entry-categories-header {
320    margin-bottom: 0;
321    margin-right: .25em;
322    display: inline;
323    font-weight: bold;
324}
325
326.entry-tags-list,
327.entry-categories-list {
328    display: inline;
329    list-style: none;
330    margin-left: 0;
331    padding-left: 0;
332}
333.entry-tags-list .entry-tag,
334.entry-categories-list .entry-category {
335    display: inline;
336}
337
338.mt-image-left {
339    float: left;
340    margin: 0 20px 20px 0;
341}
342
343.mt-image-center {
344    display: block;
345    margin: 0 auto 20px;
346    text-align: center;
347}
348
349.mt-image-right {
350    float: right;
351    margin: 0 0 20px 20px;
352}
353
354
355/* Feedback */
356
357.comments-open label {
358    display: block;
359}
360
361#comment-author, #comment-email, #comment-url, #comment-text {
362    width: 80%;
363}
364
365#comment-bake-cookie {
366    margin-left: 0;
367    vertical-align: middle;
368}
369
370#comment-submit {
371    font-weight: bold;
372}
373
374
375/* Widgets */
376
377.widget {
378    position: relative;
379    overflow: hidden;
380    width: 100%;
381}
382
383.widget-content {
384    position: relative;
385    margin: 5px 0 20px;
386}
387
388.widget-list,
389.archive-list {
390    margin: 0;
391    padding: 0;
392    list-style: none;
393}
394
395.widget-list .widget-list {
396    margin-left: 15px;
397}
398
399.widget-list-item {
400    margin-top: 5px;
401    margin-bottom: 5px;
402}
403
404.widget-tag-cloud .widget-list {
405    margin-right: 0;
406    margin-left: 0;
407}
408
409.widget-tag-cloud .widget-list-item {
410    display: inline;
411    margin: 0 5px 0 0;
412    padding: 0;
413    line-height: 1.2;
414    background: none;
415}
416
417.widget-tag-cloud .rank-1  { font-size: 1.75em; }
418.widget-tag-cloud .rank-2  { font-size: 1.75em; }
419.widget-tag-cloud .rank-3  { font-size: 1.625em; }
420.widget-tag-cloud .rank-4  { font-size: 1.5em; }
421.widget-tag-cloud .rank-5  { font-size: 1.375em; }
422.widget-tag-cloud .rank-6  { font-size: 1.25em; }
423.widget-tag-cloud .rank-7  { font-size: 1.125em; }
424.widget-tag-cloud .rank-8  { font-size: 1em; }
425.widget-tag-cloud .rank-9  { font-size: 0.95em; }
426.widget-tag-cloud .rank-10 { font-size: 0.9em; }
427
428#footer .widget-content {
429    margin-top: 0;
430    margin-bottom: 0;
431}
432
433.widget-recent-assets .widget-content .widget-list {
434    overflow: auto;
435    margin-right: 0;
436}
437
438.item {
439    display: inline;
440    float: left;
441    margin: 0pt 5px 8px;
442    overflow: hidden;
443    text-align: center;
444    vertical-align: middle;
445    width: 70px;
446}
447
448.widget-search .search-options,
449.widget-syndicate .blog-feeds  {
450    list-style: none;
451    margin: 5px 0;
452}
Note: See TracBrowser for help on using the browser.