source: branches/version-2_13-dev/html/user_data/packages/default/css/common.css @ 22930

Revision 22930, 8.4 KB checked in by Seasoft, 11 years ago (diff)

#2140 (標準テンプレートのカスタマイズ性を高める)
#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

Line 
1@charset "utf-8";
2
3/************************************************
4 共通設定
5************************************************ */
6body {
7    color: #666;
8    font-family: Verdana,Arial,Helvetica,sans-serif;
9    background-color: #f5f5f5;
10    font-size: 72.5%;
11    line-height: 150%;
12    letter-spacing: 0.1em;
13}
14
15/*写真*/
16img.picture {
17    border: 1px solid #ccc;
18}
19
20
21/* ==============================================
22 フレーム
23=============================================== */
24/* 全体を包括 */
25.frame_outer {
26    margin: 0 auto;
27    width: 100%;
28    text-align: center;
29}
30
31/* コンテンツ */
32#container {
33    margin: 0 auto;
34    padding: 0 0 30px;
35    width: 980px;
36    background: #fff;
37    text-align: left;
38}
39
40
41/* ==============================================
42 カラム指定
43=============================================== */
44
45/* メイン部
46----------------------------------------------- */
47#main_column {
48    padding: 10px 0 0;
49}
50
51/* 1カラム時 */
52#main_column.colnum1 {
53    margin: 0 auto;
54    width: 80%;
55}
56
57/* 2カラム時 (共通) */
58#main_column.colnum2 {
59    width: 78%;
60}
61
62/* 2カラム時 (メイン部が左) */
63#main_column.colnum2.left {
64    padding-left: 1.5%;
65    float: left;
66}
67
68/* 2カラム時 (メイン部が右) */
69#main_column.colnum2.right {
70    padding-right: 1.5%;
71    float: right;
72}
73
74/* 3カラム時 */
75#main_column.colnum3 {
76    padding-left: 0.5%;
77    width: 59%;
78    float: left;
79}
80
81/* サイドカラム
82----------------------------------------------- */
83.side_column {
84    padding: 10px 0 0;
85}
86#leftcolumn {
87    float: left;
88    width: 20%;
89}
90#rightcolumn {
91    float: right;
92    width: 20%;
93}
94
95/* 他
96----------------------------------------------- */
97/* ヘッダーとフッターの上下 */
98#topcolumn,
99#bottomcolumn,
100#footerbottomcolumn {
101    margin: 0px;
102    background: #fff;
103    text-align: left;
104    clear: both;
105}
106
107/* 下層コンテンツ */
108#undercolumn {
109    width: 100%;
110    margin: 0 0 30px 0;
111}
112
113
114/* ==============================================
115 ユーティリティ
116=============================================== */
117/* フロート回り込み解除
118----------------------------------------------- */
119.clearfix:after {
120    display: block;
121    clear: both;
122    height: 0px;
123    line-height: 0px;
124    visibility: hidden;
125    content: ".";
126}
127.clearfix {
128    display: block; /* for IE8 */
129}
130.clear {
131    clear: both;
132}
133
134/* リンク指定
135----------------------------------------------- */
136a:link,
137a:visited {
138    color: #39c;
139    text-decoration: none;
140}
141a:link:hover,
142a[href]:hover {
143    color: #f60;
144    text-decoration: underline;
145}
146
147
148/* フォント
149----------------------------------------------- */
150h1,
151h2,
152h3,
153h4,
154h5 {
155    font-size: 100%;
156    line-height: 150%;
157}
158.sale_price {
159    color: #f00;
160}
161.normal_price {
162    font-size: 90%;
163}
164.point {
165    color: #f00;
166    font-weight: bold;
167}
168.user_name {
169    font-weight: bold;
170}
171.recommend_level {
172    color: #ecbd00;
173}
174
175.attention {
176    color: #f00;
177}
178.attentionSt {
179    color: #f00;
180    font-weight: bold;
181}
182.st {
183    font-weight: bold;
184}
185.mini {
186    font-size: 90%;
187}
188
189
190/* 行揃え
191----------------------------------------------- */
192.alignC {
193    text-align: center;
194}
195.alignR {
196    text-align: right;
197}
198.alignL {
199    text-align: left;
200}
201.pricetd em {
202    font-weight: bold;
203}
204
205
206/* フォーム
207----------------------------------------------- */
208select {
209    border: solid 1px #ccc;
210}
211input[type='text'],
212input[type='password'] {
213    border: solid 1px #ccc;
214    padding: 2px;
215}
216
217.box40 {
218    width: 40px;
219}
220.box60 {
221    width: 60px;
222}
223.box100 {
224    width: 100px;
225}
226.box120 {
227    width: 120px;
228}
229.box140 {
230    width: 140px;
231}
232.box145 {
233    width: 145px;
234}
235.box150 {
236    width: 150px;
237}
238.box240 {
239    width: 240px;
240}
241.box300 {
242    width: 300px;
243}
244.box320 {
245    width: 320px;
246}
247.box350 {
248    width: 350px;
249}
250.box380 {
251    width: 380px;
252}
253
254/* フォームが縦に重なり合う場合に併用する余白 */
255.top { /* FIXME 簡素な単語は単独で使用しない */
256    margin-bottom: 5px;
257}
258
259
260/* タイトル
261----------------------------------------------- */
262h2.title {
263    margin-bottom: 10px;
264    padding: 8px;
265    border-top: solid 1px #ebeced;
266    color: #f60;
267    background: url("../img/background/bg_tit_sub_01.jpg") repeat-x left bottom;
268    background-color: #fef3d8;
269    font-size: 170%;
270}
271
272#main_column .sub_area h3,
273#undercolumn_login .login_area h3,
274#undercolumn_shopping h3,
275#mypagecolumn h3,
276#undercolumn_cart h3 {
277    margin: 0 0 10px 0;
278    padding: 5px 0 10px;
279    color: #f60;
280    background: url("../img/background/line_01.gif") repeat-x left bottom;
281    font-size: 120%;
282}
283
284div#undercolumn_login .login_area h4 {
285    padding-left: 15px;
286    background: url("../img/icon/ico_arrow_05.gif") no-repeat left;
287}
288
289
290/* ==============================================
291 ヘッダー
292=============================================== */
293/* レイアウト
294----------------------------------------------- */
295#header_wrap {
296    border-top: solid 3px #f90;
297    min-height: 82px;
298    background: url("../img/common/bg_header.gif") repeat-x bottom #fffaf0;
299}
300#header {
301    margin: auto;
302    width: 980px;
303}
304#logo_area {
305    padding-left: 10px;
306    float: left;
307    width: 390px;
308    text-align: left;
309}
310#header_utility {
311    float: right;
312    width: 580px;
313}
314
315#errorHeader {
316    color: #F00;
317    font-weight: bold;
318    font-size: 12px;
319    background-color: #FEB;
320    text-align: center;
321    padding: 5px;
322}
323
324/* ロゴ
325----------------------------------------------- */
326#site_description {
327    font-size: 90%;
328}
329#logo_area h1 {
330    width: 378px;
331    height: 33px;
332}
333#logo_area h1 span {
334    display: none; /* テキストロゴ非表示 */
335}
336
337
338/* ヘッダーナビ
339----------------------------------------------- */
340div#header_navi {
341    float: right;
342    width: 409px;
343    height: 38px;
344}
345div#header_navi ul li {
346    display: block;
347    float: left;
348}
349div#header_navi ul li.mypage,
350div#header_navi ul li.entry {
351    margin-top: 6px;
352}
353
354
355/* ==============================================
356 フッター
357=============================================== */
358#footer_wrap {
359    margin: 0 auto;
360    width: 980px;
361    height: 80px;
362    background: #fff;
363}
364#footer {
365    margin: auto;
366    padding-top: 10px;
367    border-top: solid 1px #ccc;
368    width: 950px;
369}
370#pagetop {
371    width: 210px;
372    float: right;
373    text-align: right;
374}
375#copyright {
376    width: 740px;
377    float: left;
378    text-align: left;
379    font-size: 97%;
380}
381
382
383/* ==============================================
384 パーツ
385=============================================== */
386/* ボタン
387----------------------------------------------- */
388.btn_area {
389    margin-top: 10px;
390    width: 100%;
391    text-align: center;
392}
393
394.btn_area li {
395    padding-right: 10px;
396    display: inline;
397}
398
399
400/* 完了メッセージ
401----------------------------------------------- */
402div#complete_area {
403    margin-bottom: 20px;
404}
405div#complete_area .message,
406div#undercolumn_entry .message {
407    margin-bottom: 20px;
408    line-height: 150%;
409    font-weight: bold;
410    font-size: 120%;
411}
412div#complete_area .shop_information {
413    margin-top: 40px;
414    padding: 20px 0 0 0;
415    border-top: solid 1px #ccc;
416}
417div#complete_area .shop_information .name {
418    margin-bottom: 10px;
419    font-weight: bold;
420    font-size: 140%;
421}
422
423
424/* Tipsy
425----------------------------------------------- */
426.tipsy {
427    padding: 5px;
428    font-size: 10px;
429    position: absolute;
430    z-index: 100000;
431}
432.tipsy-inner {
433    padding: 5px 8px 4px 8px;
434    background-color: black;
435    color: white;
436    max-width: 200px;
437    text-align: center;
438}
439.tipsy-inner {
440    border-radius: 3px;
441    -moz-border-radius: 3px;
442    -webkit-border-radius: 3px;
443}
444.tipsy-arrow {
445    position: absolute;
446    background: url('../img/ajax/tipsy.gif') no-repeat top left;
447    width: 9px;
448    height: 5px;
449}
450.tipsy-n .tipsy-arrow {
451    top: 0;
452    left: 50%;
453    margin-left: -4px;
454}
455.tipsy-nw .tipsy-arrow {
456    top: 0;
457    left: 10px;
458}
459.tipsy-ne .tipsy-arrow {
460    top: 0;
461    right: 10px;
462}
463.tipsy-s .tipsy-arrow {
464    bottom: 0;
465    left: 50%;
466    margin-left: -4px;
467    background-position: bottom left;
468}
469.tipsy-sw .tipsy-arrow {
470    bottom: 0;
471    left: 10px;
472    background-position: bottom left;
473}
474.tipsy-se .tipsy-arrow {
475    bottom: 0;
476    right: 10px;
477    background-position: bottom left;
478}
479.tipsy-e .tipsy-arrow {
480    top: 50%;
481    margin-top: -4px;
482    right: 0;
483    width: 5px;
484    height: 9px;
485    background-position: top right;
486}
487.tipsy-w .tipsy-arrow {
488    top: 50%;
489    margin-top: -4px;
490    left: 0;
491    width: 5px;
492    height: 9px;
493}
Note: See TracBrowser for help on using the repository browser.