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

Revision 21080, 8.6 KB checked in by Seasoft, 13 years ago (diff)

#1407 (clearfix IE8 で不具合懸念)

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