source: branches/version-2_5-dev/html/user_data/packages/sphone/css/common.css @ 20566

Revision 20566, 8.3 KB checked in by Seasoft, 13 years ago (diff)

#627(ソース整形・ソースコメントの改善)

  • TAB
  • インデント

#624(軽微な表示乱れを修正)

  • HTML 構文誤り
  • CSS 構文誤り
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
Line 
1@charset "utf-8";
2
3/* body
4----------------------------------------------- */
5body {
6    background: rgb(197,204,211) url(../img/common/stripes.png);
7    background-position: 50% 0% fixed;
8    font-family: helvetica, Osaka;
9    font-size:small;
10    margin: 0px 3.13% 10px;
11    padding: 0px;
12    -webkit-user-select: none;
13    -webkit-text-size-adjust: none;
14    -webkit-tap-highlight-color: rgba(51,102,204,0.70);
15    max-width: 100%;
16}
17
18/* HTML default
19----------------------------------------------- */
20a {
21    color: #5B87A4;
22    text-decoration: none;
23}
24form {
25    margin: 0;
26    padding: 0;
27}
28table,img,p {
29    border: 0;
30}
31em {
32    font-weight: bold;
33    font-style: normal;
34    color: #C00;
35}
36hr {
37    display: none;
38}
39p {
40    margin: 0 0 1em;
41    padding: 0;
42}
43li {
44    list-style-type: none;
45}
46img {
47    vertical-align: bottom;
48}
49.hidden {
50    display: none;
51}
52br.clear {
53    clear: both;
54    display: none;
55    font-size: 0px;
56    line-height: 0%;
57    height: 0px
58}
59
60/* クリアフィックス
61----------------------------------------------- */
62#block-login:after,
63.block-center:after,
64.listarea:after,
65.recomendblock > div
66.whoboughtblock > div {
67    content: "";
68    display: block;
69    height: 0;
70    clear: both;
71    visibility: hidden;
72}
73
74/* font
75----------------------------------------------- */
76h1,h2,h3,h4,h5 {
77    font-size: 100%;
78    line-height: 150%;
79}
80.price { color: #ff0000; font-weight: bold; }
81.attention { color: #ff0000; }
82.mini { font-size: 80%; }
83
84/* wrapper
85----------------------------------------------- */
86div#wrapper {
87    margin: 0 auto;
88    padding: 0;
89    text-align: left;
90    background: #FFFFFF;
91    overflow: hidden;
92}
93
94/* 見出し (h2)
95----------------------------------------------- */
96h2 {
97    color:#4D576B;
98    font: bold 22px helvetica;
99    background-color: transparent;
100    text-shadow: 0px 1px 1px #ffffff;
101    margin: 10px 0px;
102}
103
104/* 見出し (h3)
105----------------------------------------------- */
106#mycontentsarea h3 {
107    color:#4D576B;
108    font: bold 19px helvetica;
109    text-shadow: 0px 1px 1px #ffffff;
110}
111
112/* ナビゲーションバー・ページタイトル
113----------------------------------------------- */
114#navigation_bar,
115h2.title,
116.title-undercolumn,
117.title-under02column,
118#title-list,
119.title-mypagecolumn,
120#windowarea h2,
121#pan + h2 {
122    display: inline-block;
123    width: 106.8%;
124    margin: 0 0 1em -3.4%;
125    color: #ffffff;
126    text-shadow: 0px -1px 1px rgba(0,0,0,0.5);
127    font: bold 17px helvetica;
128    padding: 0.45em 0;
129    background-color: #333332;
130    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255,255,255,0.25)), to(rgba(0,0,0,0.2)), color-stop(0.5, rgba(255,255,255,0.05)), color-stop(0.51, rgba(0,0,0,0.05)));
131    border-top: 1px solid rgba(255,255,255,0.3);
132    border-bottom: 1px solid rgba(0,0,0,1);
133    text-align:center;
134    vertical-align: middle;
135    white-space: nowrap;
136    overflow: hidden;
137    text-overflow: ellipsis;
138}
139
140/* ページタイトル
141----------------------------------------------- */
142#navigation_bar > h2{
143    font: bold 17px helvetica;
144    color: #ffffff;
145    vertical-align: middle;
146    text-shadow: 0px -1px 1px rgba(0,0,0,0.5);
147    margin: 0;
148    display: inline-block;
149    max-width: 65%;
150    white-space: nowrap;
151    overflow: hidden;
152    text-overflow: ellipsis;
153    -webkit-text-overflow: ellipsis;
154}
155
156/* header
157----------------------------------------------- */
158/* information
159----------------------------------------------- */
160/* navigation
161----------------------------------------------- */
162/* フレーム
163----------------------------------------------- */
164/* contents
165----------------------------------------------- */
166
167/* footer
168----------------------------------------------- */
169#pagetop {
170    width: 100%;
171    margin: 25px 0 0;
172    text-align: right;
173}
174#pagetop a{
175    color:#4D576B;
176    font: bold 13px helvetica;
177    text-shadow: 0px 1px 1px #ffffff;
178    text-decoration: underline;
179}
180div#footer {
181    margin: 0;
182    padding: 0;
183    text-align: center;
184}
185
186/* footer information
187----------------------------------------------- */
188#footer-menu {
189    text-align: left;
190    font: bold 15px helvetica;
191}
192#footer-menu li{
193    background: #ffffff url(../img/common/chevron.png) no-repeat right center;
194}
195#footer-navi {
196    float:left;
197    list-style:none outside none;
198    margin: 0 auto 4px;
199    padding: 0 0 0 5px;
200    text-align:center;
201    width: 100%;
202    border: none;
203    background-color: transparent;
204}
205#footer-navi > li{
206    display: inline;
207    color:#4D576B;
208    font: bold 12px helvetica;
209    background-color: transparent;
210    text-shadow: 0px 1px 1px #ffffff;
211    border: none;
212    border-right: 1px dotted #999999;
213    -webkit-border-radius: 0;
214    line-height: 1em;
215    margin: 0;
216    padding: 0;
217}
218#footer-navi > li:last-child{
219    border-right: none;
220}
221#footer-navi > li > a {
222    margin: 0;
223    padding: 0;
224    display: inline;
225    color:#4D576B;
226}
227#copyright {
228    margin: 7px 0px;
229    color: #4D576B;
230    font: bold 17px helvetica;
231    text-shadow: 0px 1px 1px #ffffff;
232    text-align: center;
233}
234#copyright a{
235    color: #4D576B;
236    text-decoration: under-line;
237}
238
239/* ニュース
240----------------------------------------------- */
241/* おすすめ
242----------------------------------------------- */
243
244/* panlist
245----------------------------------------------- */
246div#pan {
247    display: none;
248}
249
250/* error
251----------------------------------------*/
252
253div .error {
254    text-align:center;
255    padding: 30px 0;
256}
257
258
259/* フォーム
260----------------------------------------------- */
261input[size="40"] {
262    width: 50%;
263}
264input[type="password"] {
265    width: 50%;
266}
267input[type="tel"] {
268    width: 3em;
269}
270input, tr, th, td {
271    max-width: 93.8%;
272}
273input {
274    font-size: small;
275}
276textarea{
277    font-size: small;
278    width: 95%;
279}
280form dl{
281    font: bold small helvetica;
282    margin: 10px 0;
283}
284form dt{
285    margin: 5px 0;
286    color:#4D576B;
287    font: bold small helvetica;
288    background-color: transparent;
289    text-shadow: 0px 1px 1px #ffffff;
290    border: none;
291}
292form dd{
293    margin:0;
294    background-color: rgba(255,255,255,0.3);
295    color: #999999;
296    border: 2px dotted #B4B4B4;
297    list-style-type: none;
298    padding: 10px 7px;
299    -webkit-border-radius: 8px;
300}
301
302body, p,
303table, thead, tbody, th, td {
304    word-break: break-all;
305}
306table, thead, tbody {
307    white-space: normal;
308    overflow: hidden;
309}
310
311/* プライバシーポリシー
312----------------------------------------------- */
313ol {
314    padding-start:0;
315    -o-padding-start:0;
316    -moz-padding-start:0;
317    -webkit-padding-start:0;
318    margin: 1em 3.13%;
319}
320ol > li.privacy_ol{
321    margin: 1em;
322}
323ol > li.privacy_ol > strong{
324    color:#4D576B;
325    font: bold 17px helvetica;
326    text-shadow: 0px 1px 1px #ffffff;
327    line-height: 2em;
328}
329
330/* 特定商取引に基づく表記
331----------------------------------------------- */
332#undercolumn_order dl{
333    margin: 0;
334}
335#undercolumn_order dt{
336    color:#4D576B;
337    font: bold 17px helvetica;
338    text-shadow: 0px 1px 1px #ffffff;
339    line-height: 2em;
340}
341#undercolumn_order dd,
342#undercolumn_order ul {
343    padding-start:0;
344    -o-padding-start:0;
345    -moz-padding-start:0;
346    -webkit-padding-start:0;
347    margin: 0 3.13%;
348}
349
350/* マイページ
351----------------------------------------------- */
352#welcome-message {
353    color: #4D576B;
354    text-shadow: 0px 1px 1px #ffffff;
355}
356.your-point {
357    display: inline-block;
358    padding: 0.1em;
359    text-align: right;
360    color: #ffffff;
361    width: 100%;
362    background-color: rgba(0,0,0,0.3);
363    margin-bottom: 5px;
364}
365.your-point em {
366    text-shadow: 0 0 2px #ffffff;
367}
368#btn-mypagetop {
369    width: 100%;
370    text-align: left;
371    -webkit-border-radius: 8px;
372    background: #ffffff url(../img/common/chevron.png) no-repeat right center;
373    border: solid 1px #cccccc;
374    margin: 10px 0;
375}
376#btn-mypagetop a {
377    display: inline-block;
378    margin: 7px 3.3%;
379    width: 93%;
380    color: black;
381    text-decoration: none;
382    font: bold 15px helvetica;
383}
384
385/* マイページ・購入履歴
386----------------------------------------------- */
387table[summary="購入履歴"] td:first-child {
388    width: 20%;
389    text-align: center;
390}
391table[summary="購入履歴"] tr[onclick] td:last-child {
392    background: #ffffff url(../img/common/chevron.png) no-repeat right center;
393}
394table[summary="お届け先の指定"] td:nth-child(2),
395table[summary="購入履歴"] tr[onclick] td:last-child {
396    text-align: left;
397}
398
399/* 商品詳細
400----------------------------------------------- */
Note: See TracBrowser for help on using the repository browser.