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

Revision 1297, 11.3 KB checked in by daisuke, 14 years ago (diff)

add link-unit on toppage

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