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

Revision 18623, 9.4 KB checked in by Seasoft, 14 years ago (diff)

#612(画面幅の調整を容易にする) 現状を一旦コミット。

  • クラス「frame_outer」のCSS定義を変更でサイト全体の画面幅を調整できるようにする試み。
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}
84h2.title {
85    margin: 0 0 10px 0;
86    border-style: solid;
87    border-width: 2px 1px;
88    border-color: #999 #ccc;
89    background: url("../img/title/title_icon.gif") no-repeat 7px center;
90    padding: 7px 0 7px 30px;
91    font-size: 140%;
92    color: #000;
93}
94
95/* テーブル共通指定
96----------------------------------------------- */
97table {
98    margin: 15px auto 0 auto;
99    border-top: 1px solid #ccc;
100    border-left: 1px solid #ccc;
101    border-collapse: collapse;
102    text-align: left;
103}
104table th {
105    padding: 8px;
106    border-right: 1px solid #ccc;
107    border-bottom: 1px solid #ccc;
108    background-color: #f0f0f0;
109    font-weight: normal;
110}
111table td {
112    padding: 8px;
113    border-right: 1px solid #ccc;
114    border-bottom: 1px solid #ccc;
115}
116div.tblareabtn {
117    clear: both;
118    margin: 15px 0 0 0;
119    text-align: center;
120}
121.phototd {
122    width: 75px;
123    text-align: center;
124}
125.centertd {
126    text-align: center;
127}
128.pricetd {
129    text-align: right;
130}
131.pricetd em {
132    font-weight: bold;
133}
134div#completetext {
135    width: 470px;
136    margin: 15px auto 0 auto;
137    padding: 15px;
138    border: 5px solid #ccc;
139}
140div#completetext em {
141    font-weight: bold;
142}
143div#completetext p{
144    padding: 20px 0 0 0;
145    text-align: left;
146}
147
148
149/* ヘッダーロゴ
150------------------------------------------------ */
151#header {
152    background: url("../img/header/bg.gif");
153    height: 95px;
154    margin: 0 auto;
155}
156#header h1 a {
157    float: left;
158    display: block;
159    margin: 8px 0 0 0;
160    width: 292px;
161    height: 81px;
162    background: url("../img/header/logo.gif") no-repeat;
163}
164#header em {
165    display: none;
166}
167
168
169/* ヘッダーナビ
170----------------------------------------------- */
171div#information {
172    float: right;
173    padding: 60px 8px 0 0;
174}
175div#information ul li {
176    display: inline;
177}
178div#information ul li a {
179    text-decoration: none;
180}
181/* フレーム
182----------------------------------------------- */
183.frame_outer {
184    width: 950px;
185    margin: 0 auto;
186    background-color: #fff;
187}
188#container {
189    text-align: left;
190    clear: both;
191}
192
193#leftcolumn {
194    float: left;
195    width: 20%;
196}
197
198#rightcolumn {
199    float: right;
200    width: 20%;
201}
202
203/* メインコンテンツ
204----------------------------------------------- */
205.main_column {
206    padding: 10px 0 20px;
207}
208
209/* 3カラム設定 */
210#three_maincolumn {
211    width: 58%;
212    margin-left: 1%; /* 右側を同等幅の未定義空間として、段落崩れを防ぐ */
213    float: left;
214}
215
216/* 2カラム設定 (メイン部が左) */
217#two_maincolumn_left {
218    width: 79%;
219    float: left;
220}
221
222/* 2カラム設定 (メイン部が右) */
223#two_maincolumn_right {
224    width: 79%;
225    float: right;
226}
227
228/* 1カラム設定 */
229#one_maincolumn {
230}
231
232/* 上下のブロックエリア
233----------------------------------------------- */
234div#topcolumn{
235    clear:both;
236    margin:0px;
237}
238div#bottomcolumn{
239    clear: both;
240    margin:0px;
241}
242
243/* リストをボタンのような外観に
244----------------------------------------------- */
245ul.button_like li {
246    margin: 0;
247    padding: 0;
248    background: url(../img/common/gradation_v50.gif) top repeat-x;
249}
250ul.button_like li a {
251    display: block;
252    padding: 7px 0 7px 15px;
253    text-decoration: none;
254    border: 1px solid;
255    border-color: #ccc #999 #999 #ccc;
256    background: url("../img/common/button_like_bg.gif") 5px 7px no-repeat;
257    outline: none;
258    margin: 0;
259}
260ul.button_like li a:link,
261ul.button_like li a:visited {
262    color: #000;
263}
264ul.button_like li a:hover,
265ul.button_like li a.selected:link,
266ul.button_like li a.selected:visited {
267    color: #f60;
268}
269ul.button_like li a:active {
270    border-color: #999 #ccc #ccc #999;
271}
272
273/* ブロック共通
274----------------------------------------------- */
275.bloc_body {
276    background-color: #FFF;
277}
278.side_column {
279    overflow-x: hidden; /* IE6 表示乱れ防止 */
280}
281.side_column .bloc_outer {
282    margin: 10px 5%;
283}
284.side_column .bloc_body {
285    border: solid 1px #ccc;
286}
287.side_column h2 {
288    border-style: solid;
289    border-color: #F60 #ccc #999 #ccc;
290    border-width: 3px 1px 2px;
291    background: url(../img/common/gradation_v50.gif);
292    padding: 5px 0 4px 8px;
293    font-size: 14px;
294}
295.side_column h2 img.title_icon {
296    vertical-align: -2px;
297}
298.main_column .bloc_outer {
299    margin: 10px 0;
300}
301.main_column .bloc_outer h2 {
302    border-style: solid;
303    border-color: #ccc #ccc #999;
304    border-width: 1px 1px 2px;
305    background: #f4f4d8;
306    padding: 5px 0 4px 8px;
307    font-size: 14px;
308}
309.main_column .bloc_outer h2 img.title_icon {
310    vertical-align: -2px;
311}
312
313/* カゴの中
314----------------------------------------------- */
315#cartarea {
316    padding: 10px;
317}
318
319#cartarea p {
320    padding: 5px 0 10px 0;
321}
322
323#cartarea p.item {
324    padding: 0 0 10px 0;
325    background: url("../img/side/line_146.gif") no-repeat bottom;
326}
327
328#cartarea .btn {
329    padding: 0;
330    text-align: center;
331}
332
333#cartarea .price {
334    color: #FF0000;
335    font-weight: bold;
336}
337
338/* カテゴリー
339----------------------------------------------- */
340#categoryarea {
341    padding: 10px;
342    background-color: #fff1e3;
343}
344
345#categoryarea li {
346    padding: 0 0 0 20px;
347    background: url("../img/common/arrow_blue.gif") 0 3px no-repeat;
348}
349#categoryarea li.onmark {
350    background: url("../img/common/arrow_red.gif") 0 3px no-repeat;
351}
352#categoryarea li.level1 {
353    font-weight: bold;
354}
355#categoryarea li.level1 li {
356    font-weight: normal;
357}
358#categoryarea li a {
359    display: block;
360    padding: 3px 0;
361}
362
363a.onlink:link {
364    color: #ff0000;
365    text-decoration: underline;
366}
367a.onlink:visited {
368    color: #ff0000;
369}
370a.onlink:hover {
371    color: #ff0000;
372}
373
374/* ガイドリンク
375----------------------------------------------- */
376#guidearea {
377    margin-top: 1em;
378    border: none;
379}
380#guidearea ul.button_like {
381    font-size: 11px;
382}
383
384/* ログイン
385----------------------------------------------- */
386div#loginarea {
387    padding: 0 10px 10px 10px;
388}
389
390div#loginarea p {
391    padding: 8px 0 0 0;
392}
393
394div#login img {
395    padding: 0 5px 0 0;
396    vertical-align: bottom;
397}
398
399div#loginarea .btn {
400    text-align: center;
401}
402
403#loginarea .box96 {
404    width: 96px;
405    border: solid 1px #ccc;
406}
407
408
409/* 検索
410----------------------------------------------- */
411div#searcharea {
412    padding: 0 10px 10px 10px;
413}
414
415div#searcharea p {
416    padding: 8px 0 0 0;
417}
418
419div#searcharea .btn {
420    text-align: center;
421}
422
423#searcharea .box142 {
424    width: 142px;
425    border: solid 1px #ccc;
426}
427
428/* カレンダー
429----------------------------------------------- */
430#block-calendar {
431    background-color: transparent;
432    border: none;
433}
434
435#block-calendar table {
436    background: #FFF;
437    border-collapse: collapse;
438    margin: 0 auto 10px;
439    text-align:center;
440}
441
442#block-calendar th, #block-calendar td {
443    padding: 2px;
444    border: 1px solid #CCCCCC;
445}
446
447#block-calendar th {
448    background: #FF8144;
449    color: #FFFFFF;
450}
451
452#block-calendar .off {
453    background: #FFEECC;
454    color: #E04A00;
455}
456
457#block-calendar caption {
458    color: #DD4400;
459}
460
461
462/* バナー
463----------------------------------------------- */
464ul#banner {
465    padding: 15px 0 0 0;
466}
467
468#banner li {
469    padding: 0 0 10px 0;
470}
471
472/* テキストフィールド
473----------------------------------------------- */
474input[type='text'] {
475    border: solid 1px #ccc;
476}
477
478/* ボタン
479----------------------------------------------- */
480input[type='image'] {
481    border: none;
482}
483
484input[type='image'].box190 {
485    width: 190px;
486    height: 30px;
487}
488
489input[type='image'].box180 {
490    width: 180px;
491    height: 30px;
492}
493
494input[type='image'].box150 {
495    width: 150px;
496    height: 30px;
497}
498
499input[type='image'].box140 {
500    width: 140px;
501    height: 30px;
502}
503
504input[type='image'].box130 {
505    width: 130px;
506    height: 30px;
507}
508
509input[type='image'].box51 {
510    width: 51px;
511    height: 22px;
512}
513
514/* フッター
515----------------------------------------------- */
516#pagetop {
517    margin: 0 auto;
518    padding: 15px 8px;
519    text-align: right;
520    clear: both;
521}
522
523#fotter {
524    margin: 0 auto;
525    padding: 15px 8px;
526    border-top: 1px solid #ff6600;
527    background-color: #ffa85c;
528    font-size: 90%;
529    color: #fff;
530    text-align: center;
531    clear: both;
532}
Note: See TracBrowser for help on using the repository browser.