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

Revision 1330, 11.8 KB checked in by daisuke, 14 years ago (diff)

increase page width (900->950px)

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