root/branches/athena/default_templates/base_theme.mtml @ 1092

Revision 1092, 6.4 kB (checked in by hachi, 2 years ago)

Merging release-15 to athena branch. svn merge -r59987:60375 http://svn.sixapart.com/repos/eng/movabletype/branches/release-15 .

  • 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}
64
65
66/* Layout ----------------------------------------------------------------- */
67
68body {
69    text-align: center;
70    background: #fff;
71}
72
73#container-inner {
74    width: 940px;
75    min-height: 100%;
76    margin: 0 auto;
77    text-align: left;
78}
79
80#header, #content, #alpha, #beta, #gamma, #footer {
81    position: relative;
82}
83
84#alpha, #beta, #gamma {
85    display: inline;
86    float: left;
87}
88
89#header-inner, #content-inner, #footer-inner,
90#alpha-inner, #beta-inner, #gamma-inner {
91    position: static;
92}
93
94#header-inner, #content-inner, #footer-inner {
95    padding-top: 20px;
96    padding-bottom: 20px;
97}
98
99#header-inner, #footer-inner,
100#alpha-inner, #beta-inner, #gamma-inner {
101    overflow: hidden;
102    padding-right: 20px;
103    padding-left: 20px;
104}
105
106
107/* Wide-Thin-Thin */
108
109.layout-wtt #alpha {
110    width: 560px;
111}
112
113.layout-wtt #beta {
114    left: 190px;
115    width: 190px;
116}
117
118.layout-wtt #gamma {
119    right: 190px;
120    width: 190px;
121}
122
123
124/* Thin-Wide-Thin */
125
126.layout-twt #alpha {
127    left: 190px;
128    width: 560px;
129}
130
131.layout-twt #beta {
132    left: -560px;
133    width: 190px;
134}
135
136.layout-twt #gamma {
137    width: 190px;
138}
139
140
141/* Wide-Thin */
142
143.layout-wt #alpha {
144    width: 750px;
145}
146
147.layout-wt #beta {
148    width: 190px;
149}
150
151
152/* Thin-Wide */
153
154.layout-tw #alpha {
155    left: 190px;
156    width: 750px;
157}
158
159.layout-tw #beta {
160    left: -750px;
161    width: 190px;
162}
163
164
165/* Utilities */
166
167.pkg:after, #content-inner:after {
168    content: " ";
169    display: block;
170    visibility: hidden;
171    clear: both;
172    height: 0.1px;
173    font-size: 0.1em;
174    line-height: 0;
175}
176.pkg, #content-inner { display: inline-block; }
177/* no ie mac \*/
178* html .pkg, * html #content-inner { height: 1%; }
179.pkg, #content-inner { display: block; }
180/* */
181
182
183/* Content ---------------------------------------------------------------- */
184
185a:link, a:visited {
186    text-decoration: underline;
187}
188
189h1, h2, h3, h4, h5, h6, p, pre, blockquote, fieldset, ul, ol, dl {
190    margin-bottom: .75em;
191}
192
193blockquote, ol, ul {
194    margin-left: 30px;
195    background-repeat: repeat-y;
196}
197
198ol { list-style: decimal outside; }
199ul { list-style: disc outside; }
200.item { list-style: none; }
201
202
203/* Header */
204
205#header-name {
206    margin-bottom: .25em;
207}
208
209#header-description {
210    margin-bottom: 0;
211}
212
213
214/* Assets */
215
216.asset,
217.comments,
218.comments-content,
219.trackbacks,
220.archive,
221.search-form {
222    margin-bottom: 1.5em;
223}
224
225.asset-header,
226.asset-content,
227.asset-body,
228.entry-categories,
229.entry-tags,
230.comments-header,
231.comment-header,
232.comment-content,
233.comment-footer,
234.comments-open-header,
235.comments-open-content,
236#comments-open-footer,
237.comments-closed,
238#comment-form-external-auth,
239.comments-open-moderated,
240#comment-form-name,
241#comment-form-email,
242#comment-form-url,
243#comment-form-remember-me,
244#comments-open-text,
245.trackbacks-header,
246.trackbacks-info,
247.trackback-content,
248.trackback-footer,
249.archive-content,
250.search-form-header,
251.search-results-header {
252    margin-bottom: .75em;
253}
254
255.asset-name {
256    margin-bottom: .25em;
257}
258
259.asset-meta {
260    font-size: 11px;
261}
262
263.content-nav {
264    text-align: center;
265}
266
267.asset,
268.comments,
269.trackbacks,
270.archive {
271    overflow: hidden;
272    width: 100%;
273}
274
275.asset,
276.asset-content,
277.comments,
278.trackbacks,
279.archive {
280    position: static;
281    clear: both;
282}
283
284.asset-body,
285.asset-more,
286.asset-more-link,
287.asset-excerpt,
288.comment-content,
289.comment-footer,
290.comments-open-content,
291.comments-open-footer,
292.comments-closed,
293.trackbacks-info,
294.trackback-content,
295.trackback-footer,
296.archive-content {
297    clear: both;
298}
299
300.mt-image-left {
301    float: left;
302    margin: 0 20px 20px 0;
303}
304
305.mt-image-center {
306    display: block;
307    margin: 0 auto 20px;
308    text-align: center;
309}
310
311.mt-image-right {
312    float: right;
313    margin: 0 0 20px 20px;
314}
315
316
317/* Feedback */
318
319.comments-open label {
320    display: block;
321}
322
323#comment-author, #comment-email, #comment-url, #comment-text {
324    width: 80%;
325}
326
327#comment-bake-cookie {
328    margin-left: 0;
329    vertical-align: middle;
330}
331
332#comment-submit {
333    font-weight: bold;
334}
335
336
337/* Widgets */
338
339.widget {
340    position: relative;
341    overflow: hidden;
342    width: 100%;
343}
344
345.widget-content {
346    position: relative;
347    margin: 5px 0 20px;
348}
349
350.widget-list,
351.archive-list {
352    margin: 0;
353    padding: 0;
354    list-style: none;
355}
356
357.widget-list .widget-list {
358    margin-left: 15px;
359}
360
361.widget-list-item {
362    margin-top: 5px;
363    margin-bottom: 5px;
364}
365
366.widget-cloud .widget-list {
367    margin-right: 0;
368    margin-left: 0;
369}
370
371.widget-cloud .widget-list-item {
372    display: inline;
373    margin: 0 5px 0 0;
374    padding: 0;
375    line-height: 1.2;
376    background: none;
377}
378
379.widget-cloud .rank-1  { font-size: 1.75em; }
380.widget-cloud .rank-2  { font-size: 1.75em; }
381.widget-cloud .rank-3  { font-size: 1.625em; }
382.widget-cloud .rank-4  { font-size: 1.5em; }
383.widget-cloud .rank-5  { font-size: 1.375em; }
384.widget-cloud .rank-6  { font-size: 1.25em; }
385.widget-cloud .rank-7  { font-size: 1.125em; }
386.widget-cloud .rank-8  { font-size: 1em; }
387.widget-cloud .rank-9  { font-size: 0.95em; }
388.widget-cloud .rank-10 { font-size: 0.9em; }
389
390#footer .widget-content {
391    margin-top: 0;
392    margin-bottom: 0;
393}
394
395.widget-assets .widget-content .widget-list {
396    overflow: auto;
397    margin-right: 0;
398}
399
400.item {
401    display: inline;
402    float: left;
403    margin: 0pt 5px 8px;
404    overflow: hidden;
405    text-align: center;
406    vertical-align: middle;
407    width: 70px;
408}
Note: See TracBrowser for help on using the browser.