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

Revision 5941, 13.3 KB checked in by daisuke, 12 years ago (diff)

layout fix

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: 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        padding-left: 15px;
168        font-family: 'VLPGothic', sans-serif;
169}
170
171#menu ul {
172        margin: 0 auto;
173        padding: 0;
174        list-style: none;
175}
176
177#menu li {
178        display: inline;
179}
180
181#menu a {
182        display: block;
183        float: left;
184        //margin: 0 3px 0 0;
185        margin: 0;
186        background: url(/images/sep.gif) no-repeat left 50%;
187        padding: 10px 10px 10px 10px;
188        border: none;
189        text-decoration: none;
190        text-transform: uppercase;
191        font-size: 11px;
192        color: #444444;
193}
194
195#menu a:hover {
196        margin: 0 0 0 0;
197        padding: 10px 15px 10px 15px;
198        color: #000000;
199        border-bottom: dashed 1px;
200        font-weight: normal;
201}
202
203#menu a.left {
204        background: none;
205        margin: 0 3px 0 0;
206        padding: 10px 15px 10px 0px;
207        border: none;
208        text-decoration: none;
209        text-transform: uppercase;
210        font-size: 11px;
211        color: #444444;
212}
213
214#menu a.left:hover {
215        margin: 0 3px 0 0;
216        padding: 10px 15px 10px 0px;
217        color: #000000;
218        border-bottom: dashed 1px;
219        font-weight: normal;
220}
221
222#menu .current a {
223        background: none;
224        margin: 0 3px 0 0;
225        padding: 10px 15px 10px 0px;
226        color: #000000;
227        font-weight: bold;
228}
229
230/* Wrapper */
231
232#wrapper {
233}
234
235/* Page */
236
237#page {
238        width: 980px;
239        margin: 0 auto;
240        padding: 30px 10px;
241}
242
243/* Latest Post */
244
245#latest-post {
246        padding: 20px;
247        border: 1px dashed #8D8D8D;
248}
249
250/* Content */
251
252#content {
253        float: left;
254        width: 658px;
255}
256
257#content-wide {
258        float: left;
259        width: 738px;
260}
261
262#content-full {
263        width: 100%;
264}
265
266.post {
267        margin-bottom: 20px;
268        padding-bottom: 15px;
269        line-height: 200%;
270}
271
272#content-full h1, #content-wide h1, #content h1 {
273        font-weight: bold;
274        font-size: 28px;
275        text-shadow: 1px 1px 4px #AAAAAA;
276        border-bottom: dashed 1px #8D8D8D;
277        margin-bottom: 20px;
278}
279
280#content-full h2, #content-wide h2, #content h2 {
281        font-size: 24px;
282        text-shadow: 1px 1px 3px #AAAAAA;
283        border-bottom: dashed 1px #8D8D8D;
284        margin-bottom: 15px;
285}
286
287#content-full h3, #content-wide h3, #content h3 {
288        font-size: 18px;
289        font-weight: normal;
290        text-shadow: 1px 1px 3px #CCCCCC;
291        border-bottom: dashed 1px #ADADAD;
292        margin-bottom: 15px;
293}
294
295#content-full h4, #content-wide h4, #content h4 {
296        font-size: 16px;
297        font-weight: normal;
298        text-shadow: 1px 1px 3px #DDDDDD;
299        border-bottom: dashed 1px #CDCDCD;
300        margin-bottom: 15px;
301}
302
303#content-full ul, #content-wide ul, #content ul {
304         //margin: 0;
305         margin-left: 30px;
306         padding: 0;
307}
308
309#content-full dl,ul, #content-wide dl ul, #content dl ul {
310         //margin: 0;
311         margin-left: 0px;
312         padding: 0;
313}
314
315#content-wide ul li:before, #content ul li:before {
316          content: "≫ ";
317          margin-left: -24px;
318          padding-left: 5px;
319}
320
321
322.title {
323        margin: 0;
324        padding-bottom: 6px;
325        font-weight: normal;
326}
327
328.title a {
329        border-bottom: none;
330}
331
332.title a:hover {
333        border-bottom: 1px dashed #CCCCCC;
334}
335
336.byline {
337        border-top: 1px dashed #8D8D8D;
338        //margin: 0 0 20px 0;
339        text-transform: uppercase;
340}
341
342.news table {
343        margin-bottom: 20px;
344        text-align: left;
345        vertical-align: top;
346}
347
348.news table th {
349        color: black;
350        border-bottom: 1px dashed #BBBBBB;
351        padding: 3px 10px 3px 5px;
352}
353
354.news table tr td {
355        color: black;
356        border-bottom: 1px dashed #BBBBBB;
357        //border-left: 1px dashed #CCCCCC;
358        padding: 3px 10px 3px 5px;
359}
360
361table.about {
362        margin-bottom: 20px;
363        text-align: left;
364        vertical-align: top;
365}
366
367table.about th {
368        color: black;
369        border-bottom: 1px dashed #BBBBBB;
370        //border-right: 1px dashed #CCCCCC;
371        padding: 3px 10px 3px 5px;
372}
373
374table.about tr td {
375        color: black;
376        border-bottom: 1px dashed #BBBBBB;
377        border-left: 1px dashed #CCCCCC;
378        padding: 3px 10px 3px 5px;
379}
380
381dl.paypal dt {
382        //border-bottom: 1px dashed #999999;
383        text-decoration: underline;
384        font-weight: bold;
385}
386
387.links {
388        border-bottom: 1px dashed #8D8D8D;
389        font-size: 11px;
390}
391
392.links a {
393        display: block;
394        border: none;
395        color: #FFFFFF;
396}
397
398.links a:hover {
399}
400
401.links .more {
402        float: left;
403        padding-left: 25px;
404        padding-right: 15px;
405        background: #AAAADD url(/images/links.jpg) no-repeat left 50%;
406        text-transform: uppercase;
407}
408
409.links .comments {
410        float: left;
411        padding-left: 20px;
412        background: url(/images/links.jpg) no-repeat left top;
413}
414/* Sidebars */
415
416.sidebar {
417        float: left;
418        width: 300px;
419        padding: 0 0 0 21px;
420}
421
422.sidebar2 {
423        float: left;
424        width: 220px;
425        padding: 0 0 0 21px;
426}
427
428.sidebar2 ul, .sidebar ul {
429        margin: 0;
430        padding: 0;
431        list-style: none;
432}
433
434.sidebar2 li, .sidebar li {
435        padding: 0 0 20px 0;
436}
437
438.sidebar2 li ul, .sidebar li ul {
439}
440
441.sidebar2 li li, .sidebar li li {
442        padding: 5px 0px 0px 0px;
443        font-size: 11px;
444}
445
446.sidebar li h2 {
447        margin: 0 0 10px 0;
448        padding: 5px 0;
449        border-bottom: 1px dashed #8D8D8D;
450        font-size: 16px;
451        font-weight: normal;
452        color: #333366;
453}
454
455.sidebar2 li h2 {
456        margin: 0 0 10px 0;
457        padding: 5px 0;
458        border-bottom: 1px dashed #8D8D8D;
459        font-size: 16px;
460        font-weight: normal;
461        color: #333366;
462}
463
464.sidebar li li {
465        margin-left: 20px;
466}
467
468.sidebar2 li li {
469        margin-left: 20px;
470}
471
472.sidebar ul li li:before, .sidebar2 ul li li:before {
473        content: "≫ ";
474        margin-left: -20px;
475        padding-left: 5px;
476}
477
478.ads-sidebar, .paypal-sidebar {
479        text-align: left;
480        margin-left: 5px;
481}
482
483.ads-sidebar-linkunit {
484        text-align: left;
485        padding: 10px 0px 15px 0px;
486        margin: 5px 0px 20px 5px;
487        width: 160px;
488        border-width: 1px 1px 1px 1px;
489        border-color: #666699;
490        border-style: solid;
491        border-radius: 6px;
492        -moz-border-radius: 6px;
493        -webkit-border-radius: 6px;
494}
495
496/* Search */
497
498#searchform {
499        margin: 0;
500        padding: 0;
501}
502
503#searchform br {
504        display: none;
505}
506
507#s {
508        margin: 0;
509        padding: 2px 2px;
510        width: 120px;
511        height: 18px;
512        border: 1px solid #336699;
513        background: #FFFFFF;
514        font-size: 10px;
515        color: #000000;
516}
517
518#x {
519        margin: 0;
520        padding: 2px 5px;
521        height: 24px;
522        border: none;
523        background: #AAAADD;
524        text-decoration: none;
525        text-transform: uppercase;
526        font-size: 10px;
527        color: #000000;
528}
529
530/* Top News */
531.top-news table {
532        width: 658px;
533        border: 0;
534        margin-bottom: 20px;
535}
536
537.top-news table th:before {
538          content: "≫ ";
539}
540
541.top-news table th {
542        width: 550px;
543        height: 15px;
544        fontsize: 11pt;
545        font-weight: normal;
546        text-align: left;
547        padding-left: 10px;
548        vertical-align: bottom;
549}
550
551.top-news table td {
552        text-align: left;
553        font-size: 8px;
554        width: 50px; 
555        height: 15px; 
556        padding-left: 20px;
557        margin: 0;
558        vertical-align: top;
559}
560
561/* Adsense link-unit on bottom of content */
562#ads-bottom-linkunit {
563        text-align: left;
564        padding: 10px 10px 10px 10px;
565        margin: 5px 0px 0px 0px;
566        width: 728px;
567        border-width: 1px 1px 1px 1px;
568        border-color: #666699;
569        border-style: solid;
570        border-radius: 8px;
571        -moz-border-radius: 8px;
572        -webkit-border-radius: 8px;
573}
574
575/* Adsense link-unit on toppage */
576#ads-top-linkunit {
577        text-align: left;
578        padding: 10px 16px 10px 16px;
579        margin: 0px 0px 0px 15px;
580        width: 500px;
581        border-width: 1px 1px 1px 1px;
582        border-color: #666699;
583        border-style: solid;
584        border-radius: 8px;
585        -moz-border-radius: 8px;
586        -webkit-border-radius: 8px;
587}
588
589.ads-middle-linkunit {
590        text-align: left;
591        padding: 10px 10px 10px 10px;
592        margin: 0px 0px 10px 0px;
593        width: 728px;
594        border-width: 1px 1px 1px 1px;
595        border-color: #666699;
596        border-style: solid;
597        border-radius: 8px;
598        -moz-border-radius: 8px;
599        -webkit-border-radius: 8px;
600}
601
602/* Foot Adsense */
603#ads-footer {
604        text-align: center;
605}
606
607#ads-top {
608        text-align: center;
609        //background: #666666;
610}
611
612/* Foot Links */
613
614#footlinks {
615        text-align: center;
616}
617
618#footlinks img {
619        vertical-align: middle;
620}
621
622#footlinks a {
623        margin: 0;
624        padding: 5px;
625        border: none;
626        text-decoration: none;
627        font-size: 11px;
628        color: #FFFFFF;
629}
630
631
632/* Footer */
633
634#footer {
635        background: #565656 url(/images/footer.jpg) repeat-x left top;
636        height: 100px;
637}
638
639#footer p {
640        margin: 0;
641        padding: 10px 0 0 0;
642        text-align: center;
643        text-transform: uppercase;
644        font-size: 11px;
645        color: #FFFFFF;
646}
647
648#footer a {
649        color: #FFFFFF;
650}
651
652#footmenu {
653        margin: 0;
654        padding-top: 30px;
655        text-align: center;
656        color: #FFFFFF;
657}
658
659#footmenu a {
660        margin: 0;
661        padding: 10px 15px 0px 15px;
662        border: none;
663        text-decoration: none;
664        font-size: 11px;
665        color: #FFFFFF;
666}
667
668#download {
669        margin-bottom: 30px;
670}
671
672.getbutton {
673        color: 666699;
674        background-color: #BBBBDD;
675        padding: 10px 10px 5px 10px;
676        margin: 5px 15px 0px 15px;
677        width: 230px;
678        border-width: 1px 1px 1px 1px;
679        border-color: #666699;
680        border-style: solid;
681        border-radius: 8px;
682        -moz-border-radius: 8px;
683        -webkit-border-radius: 8px;
684        font-size: 18px;
685        font-weight: bold;
686        float: left;
687        text-shadow: 1px 1px 8px #EEEEFF;
688}
689
690.getbutton div.sub {
691        font-size: 8px;
692        color: #333366;
693        text-shadow: 1px 1px 8px #EEEEFF;
694}
695
696blockquote {
697        border-width: 0px 0px 0px 5px;
698        border-color: #DDDDDF;
699        border-style: solid;
700        margin: 15px 30px 15px 30px;
701        padding-left: 10px;
702}
703
704/* errata */
705.errata li {
706        margin-left: 40px;
707}
708
709.errata dl dt {
710        margin-top: 20px;
711        margin-bottom: 10px;
712        font-size: 16px;
713        font-weight: bold;
714        text-decoration: underline;
715}
716
717.errata table {
718        width: 100%;
719}
720
721.errata th {
722        text-align: left;
723        border-bottom: 1px dashed #888888;
724}
725
726.errata td {
727        margin-left: 20px;
728        font-size: 14px;
729        border-bottom: 1px dashed #EFEFEF;
730}
731
732.errata td.title {
733        text-align: left;
734        width: 70%;
735}
736
737.errata td.date {
738        text-align: right;
739        width: 30%;
740}
741
742.news table {
743        vertical-align: bottom;
744}
745
746.news table tr td.title {
747        width: 80%;
748        vertical-align: top;
749}
750
751.news table tr td.date {
752        width: 20%;
753        vertical-align: top;
754}
755
756.news dl dt {
757        font-size: 14px;
758        font-weight: bold;
759        margin-top: 5px;
760}
761
762
763table.erratalimit {
764        width: 50%;
765        border: 1px solid #DDDDDD;
766}
767
768table.erratalimit th {
769        text-align: left;
770        border-bottom: 1px dashed #888888;
771}
772
773table.erratalimit td {
774        margin-left: 20px;
775        font-size: 14px;
776        border-bottom: 1px dashed #EFEFEF;
777}
778
779dl dt {
780        font-weight: bold;
781}
782
783pre.screen {
784        background-color: #444444;
785        color: #F7F7F7;
786        padding: 3px;
787        padding-left: 10px;
788        border-left: solid 10px #BBBBBB;
789        white-space: -moz-pre-wrap;
790        white-space: -pre-wrap;
791        white-space: -o-pre-wrap;
792        white-space: pre-wrap;
793        word-wrap: break-word;
794}
795
Note: See TracBrowser for help on using the repository browser.