summary refs log tree commit diff stats
path: root/theme/css/website.php
diff options
context:
space:
mode:
Diffstat (limited to 'theme/css/website.php')
-rwxr-xr-xtheme/css/website.php843
1 files changed, 843 insertions, 0 deletions
diff --git a/theme/css/website.php b/theme/css/website.php new file mode 100755 index 0000000..9b26d7c --- /dev/null +++ b/theme/css/website.php
@@ -0,0 +1,843 @@
1<?php
2/*
3 444444444
4 4::::::::4
5 4:::::::::4
6 4::::44::::4
7 4::::4 4::::4 Four Island
8 4::::4 4::::4
9 4::::4 4::::4 Written and maintained by Starla Insigna
104::::444444::::444
114::::::::::::::::4 theme/css/website.php
124444444444:::::444
13 4::::4 Please do not use, reproduce or steal the
14 4::::4 contents of this file without explicit
15 4::::4 permission from Hatkirby.
16 44::::::44
17 4::::::::4
18 4444444444
19*/
20
21if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);}
22
23require('headerproc.php');
24
25?>
26/* Four Island General CSS */
27
28ul#bannernav, p {
29 margin:0pt;
30 padding:0pt;
31}
32
33.idw-container {
34 text-align: none !important;
35}
36
37p {margin-top: 1em;}
38
39ul, ol {margin-top: 1em; margin-bottom: 1em}
40
41/*li {margin-left: 60px}*/
42
43::selection {
44 background: pink;
45}
46::-moz-selection {
47 background: pink;
48}
49
50/* A (Links) */
51
52A:link {
53 color: blue;
54 font-weight: bold;
55 text-decoration: none;
56}
57
58A:visited {
59 color: blue;
60 text-decoration: none;
61}
62
63A:hover {
64 color: blue;
65 font-weight: bold;
66 text-decoration: none;
67 font-variant: small-caps;
68 text-transform: capitalize;
69}
70
71A:active {
72 color: blue;
73 text-decoration: none;
74}
75
76a img {
77 border: 0;
78}
79
80/* Random Elements */
81
82hr {
83 height:1px;
84 color: gray;
85 background: gray;
86 border: none;
87 text-align: left;
88 margin-left: 0;
89}
90
91.center {
92 text-align: center;
93}
94
95img.center, img[align="center"] {
96 display: block;
97 margin-left: auto;
98 margin-right: auto;
99}
100
101acronym, abbr, span.caps {
102 cursor: help;
103}
104
105acronym, abbr {
106 border-bottom: 1px dashed #999;
107}
108
109<?php if (!isset($_GET['nolayout'])) { ?>
110
111blockquote {
112 padding-left: 10px;
113 border-left: 3px solid #CCC;
114 font-family: helvetica;
115 font-size: 14px;
116 margin-top: 10px;
117 margin-bottom: 10px;
118 margin-left: 50px;
119}
120
121<?php } ?>
122
123pre {
124 line-height: 12px;
125}
126
127.toolTip {
128 border-bottom: 1px dashed #999;
129 cursor: help;
130}
131
132* html div#members {
133 position: absolute;
134}
135
136#wrap {
137 width: 910px;
138 background: #FFFFFF url("/theme/images/bg_body.gif") repeat-y 0 0;
139 margin: 10px auto;
140 text-align: left;
141 padding: 0;
142 margin-top: 25px;
143/* margin-left: 50px; */
144}
145
146#page-header {
147 background: url("/theme/images/bg_header.gif") repeat-x 0 0;
148 height: 150px;
149 clear: both;
150}
151
152span.side-left, span.side-right {
153 display: block;
154 width: 20px;
155 height: 150px;
156 background: url("/theme/images/sides_top.gif") no-repeat;
157}
158span.side-left {
159 float: left;
160 margin-right: 10px;
161}
162span.side-right {
163 background-position: 100% 0;
164 float: right;
165}
166span.fcorners-bottom, span.fcorners-bottom span {
167 font-size: 1px;
168 line-height: 1px;
169 display: block;
170 height: 20px;
171 background-repeat: no-repeat;
172 background-image: url("/theme/images/corners_bottom.gif");
173 margin: 0;
174}
175span.fcorners-bottom {
176 background-position: 0 0;
177}
178span.fcorners-bottom span {
179 background-position: 100% -20px;
180}
181
182<?php //if (!isset($_GET['nolayout'])) { ?>
183
184/* Banner */
185
186div#banner, div#fi-banner {
187 background-repeat: no-repeat;
188 width: 850px;
189 height: 129px;
190 float: left;
191 margin-top: 21px;
192}
193
194body div#banner h1, body div#fi-banner h1 {
195 margin: 0;
196}
197
198body div#banner h1 a, body div#fi-banner h1 a {
199 display: block;
200 width: 850px;
201 height: 129px;
202 text-indent: -5000px;
203 text-decoration: none;
204 margin: 0;
205}
206
207div#banner h1, div#fi-banner h1 {
208 margin: 0;
209 font-size: 3.0em;
210 font-weight: normal;
211}
212
213div#banner div#bannerNav, div#fi-banner div#bannerNav {
214 position: relative;
215 top: -20px;
216}
217
218#page-body {
219 margin: 0 30px;
220 clear: both;
221}
222
223body.fourm #page-body {
224 margin-left: 25;
225 margin-right: 10;
226 width: 95%;
227 font-size: 62.5%;
228}
229
230#phpBB3-page-body {
231 margin: 4px 0 !important;
232 clear: both;
233}
234
235div#pageTabs {
236 float: left;
237 margin-left: -40px;
238 padding-top: 140px;
239}
240
241body.fourm div#pageTabs {
242 margin-left: 0;
243}
244
245div#pageTabs ul li {
246 list-style-type: none;
247 background-image: url("/theme/images/tabUn.png");
248 display: block;
249 height: 37;
250 width: 100;
251 margin-bottom: 2px;
252 text-align: right;
253}
254
255div#pageTabs ul li * {
256 padding-top: 4px;
257 padding-right: 2px;
258}
259
260body.main div#pageTabs ul li#bannernav-home,
261body.projects div#pageTabs ul li#bannernav-proj,
262body.wiki div#pageTabs ul li#bannernav-wiki,
263body.fourm div#pageTabs ul li#bannernav-fourm,
264body.misc div#pageTabs ul li#bannernav-misc,
265body.webs div#pageTabs ul li#bannernav-webs,
266body.login div#pageTabs ul li#bannernav-login {
267 background-image: url("/theme/images/tabSe.png");
268}
269
270/* Sidebar */
271
272div#rightbar {
273 float: right;
274 width: 250px; /*210*/
275/* clear: right; */
276 padding: 0 10;
277}
278
279div#iconbar {
280 text-align: center;
281 margin-left: 20px;
282}
283
284div#iconbar ul li {
285 list-style-type: none;
286}
287
288div.sidebar {
289 width: 250px; /*250*/ /*240*/ /*210*/
290 padding: 0 10px;
291 margin-bottom: 5px;
292}
293
294div.sidebar h3 {
295 font-family: Verdana, Helvetica, Arial, sans-serif;
296 margin: 5px 0 0 0;
297 font-weight: bold;
298 color: #333333;
299}
300
301div.sidebar p {
302 font-size: 0.8em;
303 margin: 3px 0;
304}
305
306span.corners-top,
307span.corners-bottom {
308 margin: 0 -10px;
309 background-image: url("/theme/images/corners_left.png");
310}
311
312span.corners-top span,
313span.corners-bottom span {
314 background-image: url("/theme/images/corners_right.png");
315}
316
317span.corners-top span {
318 background-position: 100% 0pt;
319}
320
321span.corners-bottom {
322 background-position: 0pt 100%;
323}
324
325span.corners-bottom span {
326 background-position: 100% 100%;
327}
328
329span.corners-top,
330span.corners-bottom,
331span.corners-top span,
332span.corners-bottom span {
333 background-repeat:no-repeat;
334 display:block;
335 font-size:1px;
336 height:5px;
337 line-height:1px;
338}
339
340div.sidebar ul {
341 list-style-type: none;
342 padding: 0;
343 margin: 0;
344 line-height: normal !important;
345 list-style-image: none !important;
346}
347
348div#sidebar ul li {
349 margin-top: 4px;
350}
351
352div#sidebar ul li a {
353 display: block;
354 width: 230px;
355}
356
357body.main div#sidebar div#hatnav ul li a#main,
358body.about div#sidebar div#hatnav ul li a#about,
359body.archive div#sidebar div#hatnav ul li a#archive,
360body.winProg div#sidebar div#hatnav ul li a#winProg,
361body.winGames div#sidebar div#hatnav ul li a#winGames,
362body.flash div#sidebar div#hatnav ul li a#flash,
363body.challenge div#sidebar div#hatnav ul li a#challenge,
364body.experiment div#sidebar div#hatnav ul li a#experiment,
365body.kfm div#sidebar div#hatnav ul li a#kfm,
366body.mailchat div#sidebar div#hatnav ul li a#mailchat,
367body.articles div#sidebar div#hatnav ul li a#articles,
368body.poll div#sidebar div#hatnav ul li a#poll,
369body.subversion div#sidebar div#hatnav ul li a#subversion {
370 background: #FEFFB2;
371 font-weight: bold;
372 text-decoration: none;
373 color: black;
374}
375
376div#sidebar li img {
377 border: 0;
378 height: 16px;
379 width: 16px;
380}
381
382/* Content */
383
384div#content, div#fi-content {
385 float: left;
386 width: 555px; /*465*/ /*555*/
387}
388
389body#day div#page div#content code {
390 display: block;
391 border: solid black 1px;
392 background-color: #FFFF64;
393 width: 485px;
394 overflow: visible;
395}
396
397<?php //} ?>
398
399
400div#content h2 {
401 color: #59770e;
402 margin: 0px 0px 2px;
403 border-bottom: 1px dotted #CCCCCC;
404 letter-spacing: -1px;
405 font: normal 140%/100% "Trebuchet MS", Tahoma, Arial;
406 padding-bottom: 3px;
407}
408
409/* Random Divs/Spans */
410
411div#stripe {
412 position: fixed;
413 top: 0;
414 left: 0;
415 width: 100%;
416 background-color: #FBEC5D;
417 height: 20px;
418 z-index: 99;
419 padding-top: 5px;
420 text-align: center;
421}
422
423* > html div#stripe {
424 position: absolute;
425}
426
427div.autosize {
428 display: table;
429 width: 1px;
430}
431
432div.autosize > div {
433 display: table-cell;
434}
435
436div#chat {
437 float: right;
438 position: fixed;
439 bottom: 0;
440 background-color: brown;
441 color: white;
442 right: 20;
443 height: 100%;
444 width: 40%;
445}
446
447div.cleardiv {
448 clear: both;
449 height: 1em;
450}
451
452div#footer {
453 clear: both;
454 padding-bottom: 1em;
455 padding-top: .5em;
456 margin-top: .5em;
457 text-align: center;
458 font-size: .68em;
459 width: 100%;
460 border-top: 1px black solid;
461 border-bottom: 4px gray solid;
462}
463
464div#footer ul.rows li {
465 display: list-item;
466}
467
468#rightbar-bottom {
469 background: url("/theme/images/bg_footer.gif") repeat-x 0 100%;
470}
471
472#pollOfTheWeek {
473 color: black;
474}
475
476div.post {
477 clear: both;
478 padding-top: 15px;
479}
480
481span.back-post {
482 float: left;
483 font-size: 0.9em;
484}
485
486span.next-post {
487 float: right;
488 font-size: 0.9em;
489}
490
491span.up-post {
492 font-size: 0.9em;
493}
494
495div.post-date-1 {
496 width: 45px;
497 height: 49px;
498 float: left;
499 background: url(/theme/images/date-bg-1.gif) no-repeat;
500}
501
502div.post-date-0 {
503 width: 45px;
504 height: 49px;
505 float: left;
506}
507
508div.post-date-0 span.post-month {
509 color: #999999;
510 font-size: 18px;
511}
512
513span.post-month {
514 font-size: 11px;
515 text-transform: uppercase;
516 color: #FFFFFF;
517 text-align: center;
518 display: block;
519 line-height: 11px;
520 padding-top: 2px;
521 margin-left: -3px;
522}
523
524span.post-day {
525 font-size: 18px;
526 text-transform: uppercase;
527 color: #999999;
528 text-align: center;
529 display: block;
530 line-height: 18px;
531 padding-top: 7px;
532 margin-left: -3px;
533}
534
535div.post-title {
536 float: left;
537 margin-left: 10px;
538 width: 500px; /* 430px */
539}
540
541div.entry {
542 clear: both;
543 padding-top: 10px;
544 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
545}
546
547<?php
548
549$getupdates = "SELECT * FROM updates";
550$getupdates2 = mysql_query($getupdates);
551$i=0;
552$k=0;
553while ($getupdates3[$i] = mysql_fetch_array($getupdates2))
554{
555 $j=0;
556 for ($j=0;$j<$k;$j++)
557 {
558 if ($authors[$j] == $getupdates3[$i]['author'])
559 {
560 break;
561 }
562 }
563 if ($j==$k)
564 {
565 $authors[$k] = $getupdates3[$i]['author'];
566 $k++;
567 }
568 $i++;
569}
570$i=0;
571for ($i=0;$i<$k;$i++)
572{
573?>
574span.post-cat-<?php echo($authors[$i]); ?> {
575 background: url(/theme/images/authors/<?php echo($authors[$i]); ?>.ico) no-repeat;
576 padding-left: 20px;
577 float: left;
578 font-size: 95%;
579 color: #999999;
580 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
581}
582
583<?php
584}
585
586?>
587span.post-comment {
588 background: url(/theme/images/icons/comment.png) no-repeat;
589 padding-left: 20px;
590 float: right;
591 font-size: 95%;
592 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
593}
594
595span.mini-add-comment {
596 background: url(/theme/images/icons/comment_add.png) no-repeat;
597 padding-left: 18px;
598 float: right;
599 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
600}
601
602span.post-comments {
603 background: url(/theme/images/icons/comments.png) no-repeat;
604 padding-left: 20px;
605 float: right;
606 font-size: 95%;
607 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
608}
609
610div#page {
611 /*margin: 0 auto;*/
612 padding: 0;
613 width: 850px;
614 position: relative;
615 left: 50%;
616 margin-left: -422px;
617}
618
619div#footer ul {
620 padding: 0;
621 margin: 0;
622 list-style-type: none;
623}
624
625div#footer ul li {
626 display: inline;
627 margin-right: 1em;
628}
629
630div#footer ul li img {
631 width: 20px;
632 height: 20px;
633 vertical-align: top;
634}
635
636<?php if (!isset($_GET['nolayout'])) { ?>
637
638div#content ul {
639 list-style: url(/theme/images/bullet_disk_big.png);
640}
641
642<?php } ?>
643
644div.push {
645 clear: both;
646 height: 20px;
647}
648
649span.print {
650 display: none;
651}
652
653span.post-tag-1 {
654 background: url(/theme/images/icons/tag.png) no-repeat;
655 padding-left: 20px;
656 margin-left: 90px;
657 float: left;
658 font-size: 95%;
659 color: #999999;
660 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
661 text-transform: capitalize;
662}
663
664form textarea:focus, form input:focus {
665 border: 2px solid #900;
666 background-color: #FEFFB2;
667}
668
669span.post-tag-2 {
670 background: url(/theme/images/icons/tag.png) no-repeat;
671 padding-left: 20px;
672 margin-left: 75px;
673 float: left;
674 font-size: 95%;
675 color: #999999;
676 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
677 text-transform: capitalize;
678}
679
680span.post-tag-3 {
681 background: url(/theme/images/icons/tag.png) no-repeat;
682 padding-left: 20px;
683 margin-left: 35px;
684 float: left;
685 font-size: 95%;
686 color: #999999;
687 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
688 text-transform: capitalize;
689}
690
691div.post-date-2 {
692 width: 45px;
693 height: 49px;
694 float: left;
695 background: url(/theme/images/date-bg-2.gif) no-repeat;
696}
697
698div.post-date-3 {
699 width: 45px;
700 height: 49px;
701 float: left;
702 background: url(/theme/images/date-bg-3.gif) no-repeat;
703}
704
705div.post-date-4 {
706 width: 45px;
707 height: 49px;
708 float: left;
709 background: url(/theme/images/date-bg-4.gif) no-repeat;
710}
711
712div#members {
713 position: fixed;
714 left: -40px;
715 top: 20px;
716}
717
718div#members ul li {
719 list-style-type: none;
720}
721
722div#members ul li a {
723 color: white;
724 width: 100px;
725 height: 30px;
726 padding-right: 5px;
727 background-image: url(/theme/images/tabBG.png);
728 display: block;
729 text-align: right;
730 padding-top: 5px;
731 padding-bottom: 0px;
732 background-repeat: no-repeat;
733}
734
735div#members ul li a:hover {
736 background-image: url(/theme/images/tabBG2.png);
737}
738
739div#content a img {
740 border: solid transparent 1px;
741}
742
743div#content a:hover img {
744 border: dashed gray 1px;
745}
746
747div.morePost {
748 border-top: gray 1px dashed;
749}
750
751div.plainText {
752 font-family: Courier New;
753 font-size: small;
754}
755
756div.breadcrumb {
757 margin-bottom: 10px;
758 font-size: 10px;
759 border-bottom: 1px dotted black;
760}
761
762.delicious-posts { margin: 1em; padding: 0.5em; font-family: sans-serif; }
763.delicious-posts ul, .delicious-posts li, .delicious-banner { margin: 0; padding: 0}
764.delicious-post { border-top: 1px solid #eee; padding: 0.25em; font-size: 80% }
765.delicious-posts a:hover { text-decoration: underline }
766
767/* #twitter_div {
768 margin: 1em;
769 padding: 0.5em;
770 font-family: sans-serif;
771} */
772
773/* #twitter_div ul, #twitter_div li, .twitter-title {
774 margin: 0;
775 padding: 0;
776} */
777
778.twitter_update_list {
779 list-style-type: none;
780}
781
782.twitter_update_list li {
783 /* border-top: 1px solid #eee;
784 padding: 0.25em; */
785 display: inline;
786}
787
788/* .twitter-title {
789 margin-left: -20px;
790 font-size: 120%;
791} */
792
793.dispIfNew a:visited img {
794 display: none;
795}
796
797/* Tables */
798
799table.webmail {
800 border: 0;
801 width: 100%;
802}
803
804table.webmail, table.webmail td {
805 border-spacing: 0;
806}
807
808table.webmail tr {
809 background-color: #3CE4ED;
810}
811
812table.webmail tr.even {
813 background-color: #39B7CD;
814}
815
816table.webmail th {
817 background-color: #FF9912;
818 text-align: left;
819}
820
821table.webmail td {
822 word-wrap: break-word;
823}
824
825/* Print Only */
826
827@media print {
828 body {
829 width: 100% !important;
830 }
831
832 div#banner, div#footer, div#members {
833 display: none;
834 }
835
836 span.print {
837 display: inline;
838 }
839
840 div#cleardiv {
841 clear: none;
842 }
843}