source: branches/comu-ver2/html/user_data/packages/default/css/main.css @ 18398

Revision 18398, 8.6 KB checked in by Seasoft, 14 years ago (diff)

href 属性を設定していない a 要素で、CSS疑似クラス :hover が適用されてしまう不具合を解消。

  • テスト済みブラウザ: IE5.5,6,7 Fx3.5, Sf4
Line 
1@charset "utf-8";
2* {
3    margin: 0;
4    padding: 0;
5}
6
7table,img,p {
8    border: 0;
9}
10
11body {
12    font-family: Verdana,Arial,Helvetica,sans-serif;
13    color: #555555;
14    background-color: #ffe9e6;
15    font-size: 72.5%;
16    line-height: 150%;
17    letter-spacing:1px;
18}
19
20li {
21    list-style-type: none;
22}
23
24select {
25    border: solid 1px #ccc;
26}
27
28/*PHOTO*/
29.picture {
30    border: 1px solid #ccc;
31}
32/* フロート回り込み解除
33----------------------------------------------- */
34br.clear {
35    clear: both;
36    display: none;
37    font-size: 0px;
38    line-height: 0%;
39    height: 0px
40}
41/* リンク指定
42----------------------------------------------- */
43a:link {
44    color: #3a75af;
45    text-decoration: underline;
46}
47a:visited {
48    color: #3a75af;
49}
50a:link:hover {
51    color: #ff6600;
52}
53a[href]:hover { /* 「a:link:hover」の Firefox 向けハック。上と Grouping 構文で統合すると、IE で動作しなくなる。 */
54    color: #ff6600;
55}
56/* フォント
57----------------------------------------------- */
58h1,h2,h3,h4,h5 {
59    font-size: 100%;
60    line-height: 150%;
61}
62.price {
63}
64/* FIXME ポイントがクラス「price」を利用しているようだが、専用のクラスを用意すべき。 */
65.sale_price {
66    color: #ff0000;
67}
68.sale_price .price {
69    font-weight: bold;
70}
71.normal_price {
72}
73.attention { color: #ff0000; }
74.mini { font-size: 90%; }
75em {
76    font-style: normal;
77    color: #ff0000;
78}
79
80/* 見出し
81----------------------------------------------- */
82h2 {
83    padding: 15px 0 0 0;
84}
85h2.title {
86    margin: 0 0 10px 0;
87    border-style: solid;
88    border-width: 2px 1px;
89    border-color: #999 #ccc;
90    background: url("../img/title/title_icon.gif") no-repeat 7px center;
91    padding: 7px 0 7px 30px;
92    font-size: 140%;
93    color: #000;
94}
95
96/* テーブル共通指定
97----------------------------------------------- */
98table  {
99    margin: 15px auto 0 auto;
100    border-top: 1px solid #ccc;
101    border-left: 1px solid #ccc;
102    border-collapse: collapse;
103    text-align: left;
104}
105table th {
106    padding: 8px;
107    border-right: 1px solid #ccc;
108    border-bottom: 1px solid #ccc;
109    background-color: #f0f0f0;
110    font-weight: normal;
111}
112table td {
113    padding: 8px;
114    border-right: 1px solid #ccc;
115    border-bottom: 1px solid #ccc;
116}
117div.tblareabtn {
118    clear: both;
119    margin: 15px 0 0 0;
120    text-align: center;
121}
122.phototd {
123    width: 75px;
124    text-align: center;
125}
126.centertd {
127    text-align: center;
128}
129.pricetd {
130    text-align: right;
131}
132.pricetd em {
133    font-weight: bold;
134}
135div#completetext {
136    width: 470px;
137    margin: 15px auto 0 auto;
138    padding: 15px;
139    border: 5px solid #ccc;
140}
141div#completetext em {
142    font-weight: bold;
143}
144div#completetext p{
145    padding: 20px 0 0 0;
146    text-align: left;
147}
148
149
150/* ヘッダーロゴ
151------------------------------------------------ */
152div#header {
153    background: url("../img/header/bg.gif");
154    width: 780px;
155    height: 95px;
156    margin: 0 auto;
157}
158div#header h1 a {
159    float: left;
160    display: block;
161    margin: 8px 0 0 0;
162    width: 292px;
163    height: 81px;
164    background: url("../img/header/logo.gif") no-repeat;
165}
166div#header em {
167    display: none;
168}
169
170
171/* ヘッダーナビ
172----------------------------------------------- */
173div#information {
174    float: right;
175    padding: 60px 8px 0 0;
176}
177div#information ul li {
178    display: inline;
179}
180div#information ul li a {
181    text-decoration: none;
182}
183/* フレーム
184----------------------------------------------- */
185div#container {
186    width: 764px;
187    margin: 0 auto;
188    padding: 0 8px;
189    background-color: #fff;
190    text-align: left;
191}
192#container:after {/* firefox背景色表示用 */
193    content: "";
194    display: block;
195    clear: both;
196    height: 1px;
197    overflow: hidden;
198}
199
200div#leftcolumn {
201    float: left;
202    width: 166px;
203}
204
205div#rightcolumn {
206    float: left;
207    width: 166px;
208}
209
210/* メインコンテンツ
211----------------------------------------------- */
212/* 3カラム設定 */
213div#three_maincolumn {
214    float: left;
215    width: 432px;
216    padding: 15px 0 0 0;
217}
218
219/* 2カラム設定 */
220div#two_maincolumn {
221    float: left;
222    width: 598px;
223    padding: 15px 0 0 0;
224}
225
226/* 1カラム設定 */
227div#one_maincolumn {
228    padding: 10px 0 0 0;
229}
230
231/* 上下のブロックエリア
232----------------------------------------------- */
233div#topcolumn{
234    clear:both;
235    margin:0px;
236}
237div#bottomcolumn{
238    clear: both;
239    margin:0px;
240}
241
242/* リストをボタンのような外観に
243----------------------------------------------- */
244ul.button_like li {
245    margin: 0;
246    padding: 0;
247}
248ul.button_like li a {
249    display: block;
250    padding: 7px 0 7px 15px;
251    text-decoration: none;
252    border: 1px solid;
253    border-color: #ccc #999 #999 #ccc;
254    background: url("../img/common/button_like_bg.gif") 5px 7px no-repeat;
255    outline: none;
256    margin: 0;
257}
258ul.button_like li a:link,
259ul.button_like li a:visited {
260    color: #000;
261}
262ul.button_like li a:hover,
263ul.button_like li a.selected:link,
264ul.button_like li a.selected:visited {
265    color: #f60;
266}
267ul.button_like li a:active {
268    border-color: #999 #ccc #ccc #999;
269}
270
271/* カゴの中
272----------------------------------------------- */
273div#cartarea {
274    width: 144px;
275    padding: 10px;
276    border: solid 1px #ccc;
277}
278
279div#cartarea p {
280    padding: 5px 0 10px 0;
281}
282
283div#cartarea p.item {
284    padding: 0 0 10px 0;
285    background: url("../img/side/line_146.gif") no-repeat bottom;
286}
287
288div#cartarea .btn {
289    padding: 0;
290    text-align: center;
291}
292
293div#cartarea .price {
294    color: #FF0000;
295    font-weight: bold;
296}
297
298
299/* カテゴリー
300----------------------------------------------- */
301div#categoryarea {
302    width: 144px;
303    padding: 10px;
304    border: solid 1px #ccc;
305    background-color: #fff1e3;
306}
307
308div#categoryarea li {
309    padding: 0 0 0 20px;
310    background: url("../img/common/arrow_blue.gif") 0 3px no-repeat;
311}
312div#categoryarea li.onmark {
313    background: url("../img/common/arrow_red.gif") 0 3px no-repeat;
314}
315div#categoryarea li.level1 {
316    font-weight: bold;
317}
318div#categoryarea li.level1 li {
319    font-weight: normal;
320}
321div#categoryarea li a {
322    display: block;
323    padding: 3px 0;
324}
325
326a.onlink:link {
327    color: #ff0000;
328    text-decoration: underline;
329}
330a.onlink:visited {
331    color: #ff0000;
332}
333a.onlink:hover {
334    color: #ff0000;
335}
336
337
338/* ガイドリンク
339----------------------------------------------- */
340#guidearea ul.button_like {
341    margin-top: 1em;
342    font-size: 11px;
343}
344
345/* ログイン
346----------------------------------------------- */
347div#loginarea {
348    width: 144px;
349    padding: 0 10px 10px 10px;
350    border: solid 1px #ccc;
351}
352
353div#loginarea p {
354    padding: 8px 0 0 0;
355}
356
357div#login img {
358    padding: 0 5px 0 0;
359    vertical-align: bottom;
360}
361
362div#loginarea .btn {
363    text-align: center;
364}
365
366#loginarea .box96 {
367    width: 96px;
368    border: solid 1px #ccc;
369}
370
371
372/* 検索
373----------------------------------------------- */
374div#searcharea {
375    width: 144px;
376    padding: 0 10px 10px 10px;
377    border: solid 1px #ccc;
378}
379
380div#searcharea p {
381    padding: 8px 0 0 0;
382}
383
384div#searcharea .btn {
385    text-align: center;
386}
387
388#searcharea .box142 {
389    width: 142px;
390    border: solid 1px #ccc;
391}
392
393/* カレンダー
394----------------------------------------------- */
395#block-calendar {
396}
397
398#block-calendar table {
399    border-collapse: collapse;
400    margin: 0 auto 10px;
401    text-align:center;
402}
403
404#block-calendar th, #block-calendar td {
405    padding: 2px;
406    border: 1px solid #CCCCCC;
407}
408
409#block-calendar th {
410    background: #FF8144;
411    color: #FFFFFF;
412}
413
414#block-calendar .off {
415    background: #FFEECC;
416    color: #E04A00;
417}
418
419#block-calendar caption {
420    color: #DD4400;
421}
422
423
424/* バナー
425----------------------------------------------- */
426ul#banner {
427    padding: 15px 0 0 0;
428}
429
430#banner li {
431    padding: 0 0 10px 0;
432}
433
434/* テキストフィールド
435----------------------------------------------- */
436input[type='text'] {
437    border: solid 1px #ccc;
438}
439
440/* ボタン
441----------------------------------------------- */
442input[type='image'] {
443    border: none;
444}
445
446input[type='image'].box190 {
447    width: 190px;
448    height: 30px;
449}
450
451input[type='image'].box180 {
452    width: 180px;
453    height: 30px;
454}
455
456input[type='image'].box150 {
457    width: 150px;
458    height: 30px;
459}
460
461input[type='image'].box140 {
462    width: 140px;
463    height: 30px;
464}
465
466input[type='image'].box130 {
467    width: 130px;
468    height: 30px;
469}
470
471input[type='image'].box51 {
472    width: 51px;
473    height: 22px;
474}
475
476/* フッター
477----------------------------------------------- */
478#pagetop {
479    width: 764px;
480    margin: 0 auto;
481    padding: 30px 8px 15px 8px;
482    background-color: #fff;
483    text-align: right;
484}
485
486#fotter {
487    width: 764px;
488    margin: 0 auto;
489    padding: 15px 8px;
490    border-top: 1px solid #ff6600;
491    background-color: #ffa85c;
492    font-size: 90%;
493    color: #fff;
494    text-align: left;
495}
Note: See TracBrowser for help on using the repository browser.