OSDN Git Service

一頁に表示できる最大件数を200に拡大。ユーザーTLとキーワードTLで長い投稿を省略しないように変更。
[yanmah2/YANMAH2-season2-.git] / style.php
1 <?php
2 define("HELLO","world");
3 require_once "configurable_variables.php";
4 require_once "common_functions.php";
5 require_once 'init_processor.php';
6 ?>
7 <?php
8 header('Content-Type: text/css; charset=utf-8');
9 header('Cache-Control: private, max-age=' . 60*60*24);
10 ?>
11 body {
12         color: black; background-color: white;
13         margin-top: 0%; margin-bottom: 0%;
14         margin-left: 1%; margin-right: 1%;
15         padding-left: 1%; padding-right: 1%;
16         border-width: 1px;
17         border-style: solid;
18         border-color: #888888;
19         word-break: break-all;
20
21 }
22 blockquote {
23         color: inherit; background-color: #f6f6f6;
24         border-color: #999999; border-style: dotted;
25         border-width: 1px;
26 }
27 hr {
28         display: none;
29 }
30 address {
31         font-size: 75%;
32 }
33 pre {
34     overflow: scroll;
35 }
36 #page {
37 }
38 #header {
39         padding: 1%;
40 }
41 #header.default, #header.album, #header.users, #header.about {
42         color: white; background-color: #6C8CA5;
43 }
44 #header.user_timeline, #header.friends_timeline, #header.entry_cat, #header.favours {
45         color: white; background-color: #D07C7A;
46 }
47 #header.keyword_timeline, #header.keywords, #header.keyword_users {
48         color: white; background-color: #7BA86D;
49 }
50 #header.coco-ready, #header.coco-result {
51   color: white; background-color: #77B4F1;
52 }
53 #header {
54 }
55 #com-hdr {
56   border-bottom-style: solid; border-bottom-width: 1px;
57   border-color: #999999;
58   color: black; background-color: white;
59   font-size: 90%; text-align: right;
60 }
61 #com-ftr {
62   border-top-style: solid; border-top-width: 1px;
63   border-color: #999999;
64   color: black; background-color: white;
65   font-size: 90%; text-align: right;
66 }
67 .header-log, .ftr-cnf {
68   margin-right: 3%;
69 }
70 .to-bottom, to-top {
71   margin-left: 3%;
72 }
73 #index-head {
74 }
75 .head1 {
76 }
77 .caption {
78   display: inline;
79   font-size: 80%;
80 }
81 #index-contents {
82         border: none;
83 }
84 .post-result, .oauth-res {
85   color: black; background-color: #d6e6ff;
86   margin: 1%; padding: 1%;
87 }
88 .contents {
89         border-color: #999999; border-top-style: solid;
90         border-top-width: 1px;
91 }
92 .index-content ul, .cnf-blk, .cnf-blk ul, .kwd-ls {
93 <?php
94 if ($device_who == 'ktai'){
95   echo "line-height: 1.0em;\n";
96 } elseif ($device_who == 'iphone' || $device_who == 'android' || $device_who == 'android-old'){
97   echo "line-height: 1.7em;\n";
98 } else {
99   echo "line-height: 1.2em;\n";
100 }
101 ?>
102 }
103 .index-content {
104 }
105 .content {
106 }
107 #entries-index-head {
108         color: white; background-color: #6C8CA5;
109 }
110 a:link.entries {
111         color: #43647C; background-color: transparent;
112 }
113 a:visited.entries {
114         color: #43647C; background-color: transparent;
115 }
116 #users-index-head {
117         color: white; background-color: #D07C7A;
118 }
119 a:link.user,a:visited.user {
120         color: #833B55; background-color: transparent;
121 }
122 #keywords-index-head {
123         color: white; background-color: #7BA86D;
124 }
125 a:link.keyword {
126         color: #467237; background-color: transparent;
127 }
128 a:visited.keyword {
129         color: #467237; background-color: transparent;
130 }
131 #footer {
132         border-color: #999999; border-top-style: solid;
133         border-top-width: 1px;
134 }
135
136 #entries-head {
137 }
138 .external-link {
139 }
140 .generic-link {
141 }
142 .image-link {
143 }
144
145 .post-box {
146 }
147 #post-keyword {
148         font-size: 100%;
149         width: 99%; height: auto;
150 }
151 #post-text {
152         font-size: 100%;
153         width: 99%; height: 4em;
154 }
155 #post-haiku, #post-from {
156         vertical-align: middle;
157 }
158 #post-haiku {
159   margin-right: 4%;
160 }
161 #post-from {
162   width: 6em; margin-right: 2%;
163 }
164 .entry, .users-list, .geo-result, .coco-search, .hateb-form, .to-amazon, .cnf-blk {
165         border-color: #999999; border-bottom-style: solid;
166         border-bottom-width: 1px;
167         margin: 0; 
168         padding-top: 1%;padding-bottom: 1%;
169         line-height: 1.3em;
170 }
171 .entry img {
172   max-width: 100%; max-height: 16em;
173 }
174 .entry-head {
175         font-weight: bold;
176 }
177 .user-icon {
178   height: 2em; width: 2em;
179   vertical-align: top;
180   float: left;
181   margin-right: 1px;
182 }
183 .hatena-star-comment-button, .hatena-star-add-button {
184 <?php
185 if ($device_who == 'iphone' || $device_who == 'android' || $device_who == 'android-old'){
186 echo <<<EOL
187
188   height: 1.5em;
189   margin: 0px 0.3em!important;
190
191 EOL;
192 } else {
193   echo "height: 1.2em;\n";
194 }
195 ?>
196 }
197 .entry-body {
198 <?php
199 if ($device_who == 'ktai'){
200   echo "line-height: 1.1em;\n";
201 } elseif ($device_who == 'iphone' || $device_who == 'android' || $device_who == 'android-old'){
202   echo "line-height: 1.3em;\n";
203 } else {
204   echo "line-height: 1.3em;\n";
205 }
206 ?>
207   margin-top: 2px; margin-bottom: 2px;
208 }
209 .eb-rich {
210   margin-left: 2em;
211 }
212 .entry-body img {
213   vertical-align: middle;
214 }
215 .star-form {
216         display: inline;
217 }
218 a:link.hatena-id {
219         color: #833B55; background-color: transparent;
220 }
221 a:visited.hatena-id {
222         color: #833B55; background-color: transparent;
223 }
224 .add-star-button {
225   color: #327896; background-color: white;
226   border-style: solid; border-color: #327896; border-width: 1px;
227 }
228 .hateb-form {
229   margin: 1%;
230 }
231 #bcomment {
232   width: 75%; height: auto;
233 }
234 #post-hateb {
235   color: #1742CE; background-color: white;
236   width: 10%; height: auto; font-weight: bold;
237   border-style: solid; border-color:#1742CE ; border-width: 1px;
238 }
239 .hatena-star a:link, .hatena-star a:visited{
240         color: #b88606; background-color: transparent;
241 }
242 .dating, .sname, .entry-head {
243         color: #555555; background-color: transparent;
244 }
245 .reply {
246         color: #555555; background-color: transparent;
247 }
248 a:link.replying,a:visited.replying {
249         color: #833B55; background-color: transparent;
250 }
251 a:link.see-more {
252         color: #833B55; background-color: transparent;
253 }
254 a:visited.see-more {
255         color: #833B55; background-color: transparent;
256 }
257 .to-original-link {
258 }
259 #navigation-menu, #page-navi {
260   text-align: center;
261         list-style-type: none;
262         margin-left: 0; margin-right: 0;
263         padding: 0; padding-right: 0;
264         padding-top: 0.2em; padding-bottom: 0.2em;
265         font-size: 100%;
266 }
267 #navigation-menu li, #page-navi li {
268 <?php
269 if ($device_who == 'ktai'){
270   echo "line-height: 1.0em;\n";
271 } elseif ($device_who == 'iphone' || $device_who == 'android' || $device_who == 'android-old'){
272   echo "line-height: 2.0em;\n";
273 } else {
274   echo "line-height: 1.5em;\n";
275 }
276 ?>
277 }
278 #page-navi li{
279   display: inline;
280 }
281 a:link.navigation-link {
282         color: #43647C; background-color: transparent;
283 }
284 a:visited.navigation-link {
285         color: #43647C; background-color: transparent;
286 }
287 .access-key {
288         text-decoration: underline;
289 }
290 #about-head {
291 }
292 .users-list dd, .users-list dt {
293 }
294 .users-list dt {
295   font-weight: bold;
296 }
297 .users-list dd {
298 }
299 .credit {
300   font-size: 75%;
301 }