summary refs log tree commit diff stats
path: root/theme/css/blog.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2008-11-24 17:36:12 -0500
committerStarla Insigna <hatkirby@fourisland.com>2008-11-24 17:36:12 -0500
commit214246e5c2e02ff60506af3d2478a06e38bfd0c2 (patch)
treeb734255ed552e8ece1f3c772c3d0b738e704112f /theme/css/blog.php
parent326314e6c07af25ae4e0f20299b86cdc100528e9 (diff)
downloadfourisland-214246e5c2e02ff60506af3d2478a06e38bfd0c2.tar.gz
fourisland-214246e5c2e02ff60506af3d2478a06e38bfd0c2.tar.bz2
fourisland-214246e5c2e02ff60506af3d2478a06e38bfd0c2.zip
Prettified stylesheets
Diffstat (limited to 'theme/css/blog.php')
-rw-r--r--theme/css/blog.php209
1 files changed, 209 insertions, 0 deletions
diff --git a/theme/css/blog.php b/theme/css/blog.php new file mode 100644 index 0000000..b4b80d0 --- /dev/null +++ b/theme/css/blog.php
@@ -0,0 +1,209 @@
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/blog.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
27div.post {
28 clear: both;
29 padding-top: 15px;
30}
31
32span.back-post {
33 float: left;
34 font-size: 0.9em;
35}
36
37span.next-post {
38 float: right;
39 font-size: 0.9em;
40}
41
42div.post-date-1 {
43 width: 45px;
44 height: 49px;
45 float: left;
46 background: url(/theme/images/date-bg-1.gif) no-repeat;
47}
48
49div.post-date-0 {
50 width: 45px;
51 height: 49px;
52 float: left;
53}
54
55div.post-date-0 span.post-month {
56 color: #999999;
57 font-size: 18px;
58}
59
60span.post-month {
61 font-size: 11px;
62 text-transform: uppercase;
63 color: #FFFFFF;
64 text-align: center;
65 display: block;
66 line-height: 11px;
67 padding-top: 2px;
68 margin-left: -3px;
69}
70
71span.post-day {
72 font-size: 18px;
73 text-transform: uppercase;
74 color: #999999;
75 text-align: center;
76 display: block;
77 line-height: 18px;
78 padding-top: 7px;
79 margin-left: -3px;
80}
81
82div.post-title {
83 float: left;
84 margin-left: 10px;
85 width: 500px; /* 430px */
86}
87
88div.entry {
89 clear: both;
90 padding-top: 10px;
91 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
92}
93
94<?php
95
96$getupdates = "SELECT * FROM updates";
97$getupdates2 = mysql_query($getupdates);
98$i=0;
99$k=0;
100while ($getupdates3[$i] = mysql_fetch_array($getupdates2))
101{
102 $j=0;
103 for ($j=0;$j<$k;$j++)
104 {
105 if ($authors[$j] == $getupdates3[$i]['author'])
106 {
107 break;
108 }
109 }
110 if ($j==$k)
111 {
112 $authors[$k] = $getupdates3[$i]['author'];
113 $k++;
114 }
115 $i++;
116}
117$i=0;
118for ($i=0;$i<$k;$i++)
119{
120?>
121span.post-cat-<?php echo($authors[$i]); ?> {
122 background: url(/theme/images/authors/<?php echo($authors[$i]); ?>.ico) no-repeat;
123 padding-left: 20px;
124 float: left;
125 font-size: 95%;
126 color: #999999;
127 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
128}
129
130<?php
131}
132
133?>
134span.post-comment {
135 background: url(/theme/images/icons/comment.png) no-repeat;
136 padding-left: 20px;
137 float: right;
138 font-size: 95%;
139 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
140}
141
142span.mini-add-comment {
143 background: url(/theme/images/icons/comment_add.png) no-repeat;
144 padding-left: 18px;
145 float: right;
146 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
147}
148
149span.post-comments {
150 background: url(/theme/images/icons/comments.png) no-repeat;
151 padding-left: 20px;
152 float: right;
153 font-size: 95%;
154 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
155}
156
157span.post-tag-1 {
158 background: url(/theme/images/icons/tag.png) no-repeat;
159 padding-left: 20px;
160 margin-left: 90px;
161 float: left;
162 font-size: 95%;
163 color: #999999;
164 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
165 text-transform: capitalize;
166}
167
168span.post-tag-2 {
169 background: url(/theme/images/icons/tag.png) no-repeat;
170 padding-left: 20px;
171 margin-left: 75px;
172 float: left;
173 font-size: 95%;
174 color: #999999;
175 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
176 text-transform: capitalize;
177}
178
179span.post-tag-3 {
180 background: url(/theme/images/icons/tag.png) no-repeat;
181 padding-left: 20px;
182 margin-left: 35px;
183 float: left;
184 font-size: 95%;
185 color: #999999;
186 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
187 text-transform: capitalize;
188}
189
190div.post-date-2 {
191 width: 45px;
192 height: 49px;
193 float: left;
194 background: url(/theme/images/date-bg-2.gif) no-repeat;
195}
196
197div.post-date-3 {
198 width: 45px;
199 height: 49px;
200 float: left;
201 background: url(/theme/images/date-bg-3.gif) no-repeat;
202}
203
204div.post-date-4 {
205 width: 45px;
206 height: 49px;
207 float: left;
208 background: url(/theme/images/date-bg-4.gif) no-repeat;
209}