source: projects/web/trunk/css/layout.css @ 5935

Revision 5935, 13.5 KB checked in by daisuke, 12 years ago (diff)

fix typo

Line 
1/*
2Design based on Free CSS Templates
3--
4Design by Free CSS Templates
5http://www.freecsstemplates.org
6Released for free under a Creative Commons Attribution 2.5 License
7*/
8
9/* dlwin */
10@import url(/css/dlwin.css);
11
12@font-face {
13        font-family: 'VLPGothic';
14        src: url(http://vlgothic.dicey.org/files/VL-PGothic-Regular.woff) format("woff");
15}
16
17@font-face {
18        font-family: 'VLGothic';
19        src: url(http://vlgothic.dicey.org/files/VL-Gothic-Regular.woff) format("woff");
20}
21
22
23body {
24        margin: 0;
25        padding: 0;
26        background: #FFFFFF url(/images/header.jpg) repeat-x left top;
27        font-size: 13px;
28        color: #222222;
29        //font-family: 'VL Pゴシック', 'VL PGothic', Arial, Tahoma, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, sans-serif;
30}
31
32#inner {
33        margin: 0;
34        padding: 0;
35        background: #FFFFFF url(/images/header.jpg) repeat-x left top;
36        font-size: 13px;
37        color: #222222;
38        //font-family: 'VL Pゴシック', 'VL PGothic', Arial, Tahoma, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, sans-serif;
39}
40
41h1, h2, h3 {
42        margin-top: 0;
43        color: #333366;
44        font-family: 'VL Pゴシック', 'VL PGothic', 'VLPGothic', Arial, Tahoma, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, sans-serif;
45}
46
47h1 {
48        font-size: 2em;
49}
50
51h2 {
52        font-size: 1.6em;
53}
54
55h3 {
56        font-size: 1em;
57}
58
59ul {
60        list-style-type: none;
61}
62
63a {
64        text-decoration: none;
65        border-bottom: 1px dashed #DDDDDD;
66        color: #333366;
67}
68
69a:hover {
70        border-bottom: none;
71        border-bottom: 1px dashed #CCCCCC;
72        text-shadow: 1px 1px 12px #8888AA;
73}
74
75a img {
76        border: none;
77}
78
79img.left {
80        float: left;
81        margin: 0 20px 0 0;
82}
83
84img.right {
85        float: right;
86        margin: 0 0 0 20px;
87}
88
89/* Header */
90
91#toplogo {
92        width: 980px;
93        height: 108px;
94        margin: 0 auto;
95        padding: 0 10px;
96}
97
98#toplogo #toplogo-title {
99        float: left;
100}
101
102#toplogo h1, #toplogo p {
103        //float: left;
104        margin: 2px 0 0 -10px;
105        color: #FFFFFF;
106}
107
108#toplogo h1 {
109        //padding: 22px 0 0 0;
110        padding: 32px 0 0 0;
111        margin-left: -15px;
112        line-height: 100%;
113        text-transform: uppercase;
114        font-family: 'VLPGothic', 'VL Pゴシック', 'VL PGothic', Arial, Tahoma, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', sans-serif;
115        font-weight: normal;
116        font-size: 2.2em;
117        text-shadow: 1px 1px 8px #CCCCCC;
118}
119
120#toplogo h1 strong {
121        font-weight: bold;
122        font-size: 1.2em;
123        text-shadow: 1px 1px 8px #CCCCCC;
124}
125
126#toplogo strong {
127        padding: 22px 0 0 0;
128        text-transform: uppercase;
129        font-size: 1.1em;
130        text-shadow: 1px 1px 8px #CCCCCC;
131}
132
133#toplogo p {
134        text-transform: uppercase;
135        font-family: 'VLPGothic', sans-serif;
136        font-size: 9px;
137        color: #FFFFFF;
138        text-shadow: 1px 1px 3px #CCCCCC;
139        clear: both;
140}
141
142#toplogo a {
143        border: none;
144        text-decoration: none;
145        color: #FFFFFF;
146}
147
148#toplogo img {
149        padding: 15px 0 0 0;
150        float: left;
151        margin: 0 20px 0 0;
152}
153
154#toplogo #ads {
155        float: right;
156        margin: 0 -5px 0 0;
157        padding: 8px 0 0 0;
158}
159
160/* Menu */
161
162#menu {
163        width: 980px;
164        height: 30px;
165        margin: 0 auto;
166        padding-top: 5px;
167        font-family: 'VL Pゴシック', 'VL PGothic', Arial, Tahoma, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, sans-serif;
168}
169
170#menu ul {
171        margin: 0 auto;
172        padding: 0;
173        list-style: none;
174}
175
176#menu li {
177        display: inline;
178}
179
180#menu a {
181        display: block;
182        float: left;
183        //margin: 0 3px 0 0;
184        background: url(/images/sep.gif) no-repeat left 50%;
185        padding: 10px 15px 10px 15px;
186        border: none;
187        text-decoration: none;
188        text-transform: uppercase;
189        font-size: 11px;
190        color: #444444;
191}
192
193#menu a:hover {
194        margin: 0 0 0 0;
195        padding: 10px 15px 10px 15px;
196        color: #000000;
197        border-bottom: dashed 1px;
198        font-weight: normal;
199}
200
201#menu a.left {
202        background: none;
203        margin: 0 3px 0 0;
204        padding: 10px 15px 10px 0px;
205        border: none;
206        text-decoration: none;
207        text-transform: uppercase;
208        font-size: 11px;
209        color: #444444;
210}
211
212#menu a.left:hover {
213        margin: 0 3px 0 0;
214        padding: 10px 15px 10px 0px;
215        color: #000000;
216        border-bottom: dashed 1px;
217        font-weight: normal;
218}
219
220#menu .current a {
221        background: none;
222        margin: 0 3px 0 0;
223        padding: 10px 15px 10px 0px;
224        color: #000000;
225        font-weight: bold;
226}
227
228/* Wrapper */
229
230#wrapper {
231}
232
233/* Page */
234
235#page {
236        width: 980px;
237        margin: 0 auto;
238        padding: 30px 10px;
239}
240
241/* Latest Post */
242
243#latest-post {
244        padding: 20px;
245        border: 1px dashed #8D8D8D;
246}
247
248/* Content */
249
250#content {
251        float: left;
252        width: 658px;
253}
254
255#content-wide {
256        float: left;
257        width: 738px;
258}
259
260#content-full {
261        width: 100%;
262}
263
264.post {
265        margin-bottom: 20px;
266        padding-bottom: 15px;
267        line-height: 200%;
268}
269
270#content-full h1, #content-wide h1, #content h1 {
271        font-weight: bold;
272        font-size: 28px;
273        text-shadow: 1px 1px 4px #AAAAAA;
274        border-bottom: dashed 1px #8D8D8D;
275        margin-bottom: 20px;
276}
277
278#content-full h2, #content-wide h2, #content h2 {
279        font-size: 24px;
280        text-shadow: 1px 1px 3px #AAAAAA;
281        border-bottom: dashed 1px #8D8D8D;
282        margin-bottom: 15px;
283}
284
285#content-full h3, #content-wide h3, #content h3 {
286        font-size: 18px;
287        font-weight: normal;
288        text-shadow: 1px 1px 3px #CCCCCC;
289        border-bottom: dashed 1px #ADADAD;
290        margin-bottom: 15px;
291}
292
293#content-full h4, #content-wide h4, #content h4 {
294        font-size: 16px;
295        font-weight: normal;
296        text-shadow: 1px 1px 3px #DDDDDD;
297        border-bottom: dashed 1px #CDCDCD;
298        margin-bottom: 15px;
299}
300
301#content-full ul, #content-wide ul, #content ul {
302         //margin: 0;
303         margin-left: 30px;
304         padding: 0;
305}
306
307#content-full dl,ul, #content-wide dl ul, #content dl ul {
308         //margin: 0;
309         margin-left: 0px;
310         padding: 0;
311}
312
313#content-wide ul li:before, #content ul li:before {
314          content: "≫ ";
315          margin-left: -24px;
316          padding-left: 5px;
317}
318
319
320.title {
321        margin: 0;
322        padding-bottom: 6px;
323        font-weight: normal;
324}
325
326.title a {
327        border-bottom: none;
328}
329
330.title a:hover {
331        border-bottom: 1px dashed #CCCCCC;
332}
333
334.byline {
335        border-top: 1px dashed #8D8D8D;
336        //margin: 0 0 20px 0;
337        text-transform: uppercase;
338}
339
340.news table {
341        margin-bottom: 20px;
342        text-align: left;
343        vertical-align: top;
344}
345
346.news table th {
347        color: black;
348        border-bottom: 1px dashed #BBBBBB;
349        padding: 3px 10px 3px 5px;
350}
351
352.news table tr td {
353        color: black;
354        border-bottom: 1px dashed #BBBBBB;
355        //border-left: 1px dashed #CCCCCC;
356        padding: 3px 10px 3px 5px;
357}
358
359table.about {
360        margin-bottom: 20px;
361        text-align: left;
362        vertical-align: top;
363}
364
365table.about th {
366        color: black;
367        border-bottom: 1px dashed #BBBBBB;
368        //border-right: 1px dashed #CCCCCC;
369        padding: 3px 10px 3px 5px;
370}
371
372table.about tr td {
373        color: black;
374        border-bottom: 1px dashed #BBBBBB;
375        border-left: 1px dashed #CCCCCC;
376        padding: 3px 10px 3px 5px;
377}
378
379dl.paypal dt {
380        //border-bottom: 1px dashed #999999;
381        text-decoration: underline;
382        font-weight: bold;
383}
384
385.links {
386        border-bottom: 1px dashed #8D8D8D;
387        font-size: 11px;
388}
389
390.links a {
391        display: block;
392        border: none;
393        color: #FFFFFF;
394}
395
396.links a:hover {
397}
398
399.links .more {
400        float: left;
401        padding-left: 25px;
402        padding-right: 15px;
403        background: #AAAADD url(/images/links.jpg) no-repeat left 50%;
404        text-transform: uppercase;
405}
406
407.links .comments {
408        float: left;
409        padding-left: 20px;
410        background: url(/images/links.jpg) no-repeat left top;
411}
412/* Sidebars */
413
414.sidebar {
415        float: left;
416        width: 300px;
417        padding: 0 0 0 21px;
418}
419
420.sidebar2 {
421        float: left;
422        width: 220px;
423        padding: 0 0 0 21px;
424}
425
426.sidebar2 ul, .sidebar ul {
427        margin: 0;
428        padding: 0;
429        list-style: none;
430}
431
432.sidebar2 li, .sidebar li {
433        padding: 0 0 20px 0;
434}
435
436.sidebar2 li ul, .sidebar li ul {
437}
438
439.sidebar2 li li, .sidebar li li {
440        padding: 5px 0px 0px 0px;
441        font-size: 11px;
442}
443
444.sidebar li h2 {
445        margin: 0 0 10px 0;
446        padding: 5px 0;
447        border-bottom: 1px dashed #8D8D8D;
448        font-size: 16px;
449        font-weight: normal;
450        color: #333366;
451}
452
453.sidebar2 li h2 {
454        margin: 0 0 10px 0;
455        padding: 5px 0;
456        border-bottom: 1px dashed #8D8D8D;
457        font-size: 16px;
458        font-weight: normal;
459        color: #333366;
460}
461
462.sidebar li li {
463        margin-left: 20px;
464}
465
466.sidebar2 li li {
467        margin-left: 20px;
468}
469
470.sidebar ul li li:before, .sidebar2 ul li li:before {
471        content: "≫ ";
472        margin-left: -20px;
473        padding-left: 5px;
474}
475
476.ads-sidebar, .paypal-sidebar {
477        text-align: left;
478        margin-left: 5px;
479}
480
481.ads-sidebar-linkunit {
482        text-align: left;
483        padding: 10px 0px 15px 0px;
484        margin: 5px 0px 20px 5px;
485        width: 160px;
486        border-width: 1px 1px 1px 1px;
487        border-color: #666699;
488        border-style: solid;
489        border-radius: 6px;
490        -moz-border-radius: 6px;
491        -webkit-border-radius: 6px;
492}
493
494/* Search */
495
496#searchform {
497        margin: 0;
498        padding: 0;
499}
500
501#searchform br {
502        display: none;
503}
504
505#s {
506        margin: 0;
507        padding: 2px 2px;
508        width: 120px;
509        height: 18px;
510        border: 1px solid #336699;
511        background: #FFFFFF;
512        font-size: 10px;
513        color: #000000;
514}
515
516#x {
517        margin: 0;
518        padding: 2px 5px;
519        height: 24px;
520        border: none;
521        background: #AAAADD;
522        text-decoration: none;
523        text-transform: uppercase;
524        font-size: 10px;
525        color: #000000;
526}
527
528/* Top News */
529.top-news table {
530        width: 658px;
531        border: 0;
532        margin-bottom: 20px;
533}
534
535.top-news table th:before {
536          content: "≫ ";
537}
538
539.top-news table th {
540        width: 550px;
541        height: 15px;
542        fontsize: 11pt;
543        font-weight: normal;
544        text-align: left;
545        padding-left: 10px;
546        vertical-align: bottom;
547}
548
549.top-news table td {
550        text-align: left;
551        font-size: 8px;
552        width: 50px; 
553        height: 15px; 
554        padding-left: 20px;
555        margin: 0;
556        vertical-align: top;
557}
558
559/* Adsense link-unit on bottom of content */
560#ads-bottom-linkunit {
561        text-align: left;
562        padding: 10px 10px 10px 10px;
563        margin: 5px 0px 0px 0px;
564        width: 728px;
565        border-width: 1px 1px 1px 1px;
566        border-color: #666699;
567        border-style: solid;
568        border-radius: 8px;
569        -moz-border-radius: 8px;
570        -webkit-border-radius: 8px;
571}
572
573/* Adsense link-unit on toppage */
574#ads-top-linkunit {
575        text-align: left;
576        padding: 10px 16px 10px 16px;
577        margin: 0px 0px 0px 15px;
578        width: 500px;
579        border-width: 1px 1px 1px 1px;
580        border-color: #666699;
581        border-style: solid;
582        border-radius: 8px;
583        -moz-border-radius: 8px;
584        -webkit-border-radius: 8px;
585}
586
587.ads-middle-linkunit {
588        text-align: left;
589        padding: 10px 10px 10px 10px;
590        margin: 0px 0px 10px 0px;
591        width: 728px;
592        border-width: 1px 1px 1px 1px;
593        border-color: #666699;
594        border-style: solid;
595        border-radius: 8px;
596        -moz-border-radius: 8px;
597        -webkit-border-radius: 8px;
598}
599
600/* Foot Adsense */
601#ads-footer {
602        text-align: center;
603}
604
605#ads-top {
606        text-align: center;
607        //background: #666666;
608}
609
610/* Foot Links */
611
612#footlinks {
613        text-align: center;
614}
615
616#footlinks img {
617        vertical-align: middle;
618}
619
620#footlinks a {
621        margin: 0;
622        padding: 5px;
623        border: none;
624        text-decoration: none;
625        font-size: 11px;
626        color: #FFFFFF;
627}
628
629
630/* Footer */
631
632#footer {
633        background: #565656 url(/images/footer.jpg) repeat-x left top;
634        height: 100px;
635}
636
637#footer p {
638        margin: 0;
639        padding: 10px 0 0 0;
640        text-align: center;
641        text-transform: uppercase;
642        font-size: 11px;
643        color: #FFFFFF;
644}
645
646#footer a {
647        color: #FFFFFF;
648}
649
650#footmenu {
651        margin: 0;
652        padding-top: 30px;
653        text-align: center;
654        color: #FFFFFF;
655}
656
657#footmenu a {
658        margin: 0;
659        padding: 10px 15px 0px 15px;
660        border: none;
661        text-decoration: none;
662        font-size: 11px;
663        color: #FFFFFF;
664}
665
666#download {
667        margin-bottom: 30px;
668}
669
670.getbutton {
671        color: 666699;
672        background-color: #BBBBDD;
673        padding: 10px 10px 5px 10px;
674        margin: 5px 15px 0px 15px;
675        width: 230px;
676        border-width: 1px 1px 1px 1px;
677        border-color: #666699;
678        border-style: solid;
679        border-radius: 8px;
680        -moz-border-radius: 8px;
681        -webkit-border-radius: 8px;
682        font-size: 18px;
683        font-weight: bold;
684        float: left;
685        text-shadow: 1px 1px 8px #EEEEFF;
686}
687
688.getbutton div.sub {
689        font-size: 8px;
690        color: #333366;
691        text-shadow: 1px 1px 8px #EEEEFF;
692}
693
694blockquote {
695        border-width: 0px 0px 0px 5px;
696        border-color: #DDDDDF;
697        border-style: solid;
698        margin: 15px 30px 15px 30px;
699        padding-left: 10px;
700}
701
702/* errata */
703.errata li {
704        margin-left: 40px;
705}
706
707.errata dl dt {
708        margin-top: 20px;
709        margin-bottom: 10px;
710        font-size: 16px;
711        font-weight: bold;
712        text-decoration: underline;
713}
714
715.errata table {
716        width: 100%;
717}
718
719.errata th {
720        text-align: left;
721        border-bottom: 1px dashed #888888;
722}
723
724.errata td {
725        margin-left: 20px;
726        font-size: 14px;
727        border-bottom: 1px dashed #EFEFEF;
728}
729
730.errata td.title {
731        text-align: left;
732        width: 70%;
733}
734
735.errata td.date {
736        text-align: right;
737        width: 30%;
738}
739
740.news table {
741        vertical-align: bottom;
742}
743
744.news table tr td.title {
745        width: 80%;
746        vertical-align: top;
747}
748
749.news table tr td.date {
750        width: 20%;
751        vertical-align: top;
752}
753
754.news dl dt {
755        font-size: 14px;
756        font-weight: bold;
757        margin-top: 5px;
758}
759
760
761table.erratalimit {
762        width: 50%;
763        border: 1px solid #DDDDDD;
764}
765
766table.erratalimit th {
767        text-align: left;
768        border-bottom: 1px dashed #888888;
769}
770
771table.erratalimit td {
772        margin-left: 20px;
773        font-size: 14px;
774        border-bottom: 1px dashed #EFEFEF;
775}
776
777dl dt {
778        font-weight: bold;
779}
780
781pre.screen {
782        background-color: #444444;
783        color: #F7F7F7;
784        padding: 3px;
785        padding-left: 10px;
786        border-left: solid 10px #BBBBBB;
787        white-space: -moz-pre-wrap;
788        white-space: -pre-wrap;
789        white-space: -o-pre-wrap;
790        white-space: pre-wrap;
791        word-wrap: break-word;
792}
793
Note: See TracBrowser for help on using the repository browser.