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

Revision 18189, 8.5 KB checked in by miningbrownie, 15 years ago (diff)

ブロックを配置出来る場所を増やしてみた。

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