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

Revision 1564, 12.3 KB checked in by daisuke, 14 years ago (diff)

move pre.screen to main css

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 10px 10px 10px;
522        margin: 5px 0px 0px 0px;
523        width: 728px;
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.ads-middle-linkunit {
547        text-align: left;
548        padding: 10px 10px 10px 10px;
549        margin: 0px 0px 10px 0px;
550        width: 728px;
551        border-width: 1px 1px 1px 1px;
552        border-color: #666699;
553        border-style: solid;
554        border-radius: 8px;
555        -moz-border-radius: 8px;
556        -webkit-border-radius: 8px;
557}
558
559/* Foot Adsense */
560#ads-footer {
561        text-align: center;
562}
563
564/* Foot Links */
565
566#footlinks {
567        text-align: center;
568}
569
570#footlinks img {
571        vertical-align: middle;
572}
573
574#footlinks a {
575        margin: 0;
576        padding: 5px;
577        border: none;
578        text-decoration: none;
579        font-size: 11px;
580        color: #FFFFFF;
581}
582
583
584/* Footer */
585
586#footer {
587        background: #565656 url(/images/footer.jpg) repeat-x left top;
588        height: 100px;
589}
590
591#footer p {
592        margin: 0;
593        padding: 10px 0 0 0;
594        text-align: center;
595        text-transform: uppercase;
596        font-size: 11px;
597        color: #FFFFFF;
598}
599
600#footer a {
601        color: #FFFFFF;
602}
603
604#footmenu {
605        margin: 0;
606        padding-top: 30px;
607        text-align: center;
608        color: #FFFFFF;
609}
610
611#footmenu a {
612        margin: 0;
613        padding: 10px 15px 0px 15px;
614        border: none;
615        text-decoration: none;
616        font-size: 11px;
617        color: #FFFFFF;
618}
619
620#download {
621        margin-bottom: 30px;
622}
623
624.getbutton {
625        color: 666699;
626        background-color: #BBBBDD;
627        padding: 10px 10px 5px 10px;
628        margin: 5px 15px 0px 15px;
629        width: 230px;
630        border-width: 1px 1px 1px 1px;
631        border-color: #666699;
632        border-style: solid;
633        border-radius: 8px;
634        -moz-border-radius: 8px;
635        -webkit-border-radius: 8px;
636        font-size: 18px;
637        font-weight: bold;
638        float: left;
639        text-shadow: 1px 1px 8px #EEEEFF;
640}
641
642.getbutton div.sub {
643        font-size: 8px;
644        color: #333366;
645        text-shadow: 1px 1px 8px #EEEEFF;
646}
647
648blockquote {
649        border-width: 0px 0px 0px 5px;
650        border-color: #DDDDDF;
651        border-style: solid;
652        margin: 15px 30px 15px 30px;
653        padding-left: 10px;
654}
655
656/* errata */
657.errata li {
658        margin-left: 40px;
659}
660
661.errata dl dt {
662        margin-top: 20px;
663        margin-bottom: 10px;
664        font-size: 16px;
665        font-weight: bold;
666        text-decoration: underline;
667}
668
669.errata table {
670        width: 100%;
671}
672
673.errata th {
674        text-align: left;
675        border-bottom: 1px dashed #888888;
676}
677
678.errata td {
679        margin-left: 20px;
680        font-size: 14px;
681        border-bottom: 1px dashed #EFEFEF;
682}
683
684.errata td.title {
685        width: 70%;
686}
687
688.errata td.date {
689        width: 30%;
690}
691
692.news table {
693        vertical-align: bottom;
694}
695
696.news table tr td.title {
697        width: 80%;
698        vertical-align: top;
699}
700
701.news table tr td.date {
702        width: 20%;
703        vertical-align: top;
704}
705
706.news dl dt {
707        font-size: 14px;
708        font-weight: bold;
709        margin-top: 5px;
710}
711
712
713table.erratalimit {
714        width: 50%;
715        border: 1px solid #DDDDDD;
716}
717
718table.erratalimit th {
719        text-align: left;
720        border-bottom: 1px dashed #888888;
721}
722
723table.erratalimit td {
724        margin-left: 20px;
725        font-size: 14px;
726        border-bottom: 1px dashed #EFEFEF;
727}
728
729dl dt {
730        font-weight: bold;
731}
732
733pre.screen {
734        background-color: #444444;
735        color: #F7F7F7;
736        padding: 3px;
737        padding-left: 10px;
738        border-left: solid 10px #BBBBBB;
739}
740
Note: See TracBrowser for help on using the repository browser.