OSDN Git Service

BugTrack/2523 Hide MenuBar area when MenuBar doesn't exist
[pukiwiki/pukiwiki.git] / skin / tdiary.css
1 @charset "UTF-8";
2
3 /*!
4  * PukiWiki - Yet another WikiWikiWeb clone.
5  * Copyright
6  *   2002-2021 PukiWiki Development Team
7  *   2001-2002 Originally written by yu-ji
8  * License: GPL v2 or (at your option) any later version
9  *
10  * tDiary-css-wrapper
11  */
12
13 /* ------------------------------------------ */
14 /* PukiWiki abstruction CSS for tDiary themes */
15
16 /* <--> Expand textarea height (for editing only) */
17 /* <<-- textarea with not-so-long margin          */
18 form.update textarea {
19   height:25em;
20   margin-left:1em;
21   margin-bottom:0;
22 }
23
24 /* >--< Shrink textarea width (for #memo, etc) */
25 form textarea {
26   width:30em;
27 }
28
29 /* Image border = 0 */
30 img {
31   border:0;
32 }
33
34 /* --------------------- */
35 /* PukiWiki original CSS */
36
37 a.external-link:not(.external-link-silent)::after {
38   content:url(../image/external-link.png);
39   margin:3px;
40 }
41
42 pre {
43   white-space:pre-wrap;
44   word-wrap:break-word;
45 }
46
47 thead td.style_td,
48 tfoot td.style_td {
49   color:inherit;
50   background-color:#D0D8E0;
51 }
52 thead th.style_th,
53 tfoot th.style_th {
54   color:inherit;
55   background-color:#E0E8F0;
56 }
57 .style_table {
58   padding:0;
59   border:0;
60   margin:auto;
61   text-align:left;
62   color:inherit;
63   background-color:#CCD5DD;
64 }
65 .style_th {
66   padding:5px;
67   margin:1px;
68   text-align:center;
69   color:inherit;
70   background-color:#EEEEEE;
71 }
72 .style_td {
73   padding:5px;
74   margin:1px;
75   color:inherit;
76   background-color:#EEF5FF;
77 }
78
79 ul.list1 {
80   list-style-type:disc;
81 }
82 ul.list2 {
83   list-style-type:circle;
84 }
85 ul.list3 {
86   list-style-type:square;
87 }
88 ol.list1 {
89   list-style-type:decimal;
90 }
91 ol.list2 {
92   list-style-type:lower-roman;
93 }
94 ol.list3 {
95   list-style-type:lower-alpha;
96 }
97
98 .list-indent1 {
99   padding-left:16px;
100   margin-left:16px;
101 }
102 /* list-indent2,3,4 are used for leaping list level indentation */
103 .list-indent2 {
104   padding-left:32px;
105   margin-left:32px;
106 }
107 .list-indent3 {
108   padding-left:48px;
109   margin-left:48px;
110 }
111 .list-indent4 {
112   padding-left:64px;
113   margin-left:64px;
114 }
115
116 div.ie5 {
117   text-align:center;
118 }
119
120 /* NoSuchPage? */
121 span.noexists {
122   color:inherit;
123   background-color:#FFFACC;
124 }
125
126 .small {
127   font-size:80%;
128 }
129
130 /* for tDiary themes */
131 div.jumpmenu {
132   font-size:60%;
133   text-align:right;
134   user-select:none;
135 }
136
137 hr.note_hr {
138   display:none;
139 }
140
141 span.size1 {
142   font-size:xx-small;
143   line-height:130%;
144   text-indent:0;
145   display:inline;
146 }
147 span.size2 {
148   font-size:x-small;
149   line-height:130%;
150   text-indent:0;
151   display:inline;
152 }
153 span.size3 {
154   font-size:small;
155   line-height:130%;
156   text-indent:0;
157   display:inline;
158 }
159 span.size4 {
160   font-size:medium;
161   line-height:130%;
162   text-indent:0;
163   display:inline;
164 }
165 span.size5 {
166   font-size:large;
167   line-height:130%;
168   text-indent:0;
169   display:inline;
170 }
171 span.size6 {
172   font-size:x-large;
173   line-height:130%;
174   text-indent:0;
175   display:inline;
176 }
177 span.size7 {
178   font-size:xx-large;
179   line-height:130%;
180   text-indent:0;
181   display:inline;
182 }
183
184 /* html.php/catbody() */
185 strong.word0 {
186   background-color:#FFFF66;
187   color:black;
188 }
189 strong.word1 {
190   background-color:#A0FFFF;
191   color:black;
192 }
193 strong.word2 {
194   background-color:#99FF99;
195   color:black;
196 }
197 strong.word3 {
198   background-color:#FF9999;
199   color:black;
200 }
201 strong.word4 {
202   background-color:#FF66FF;
203   color:black;
204 }
205 strong.word5 {
206   background-color:#880000;
207   color:white;
208 }
209 strong.word6 {
210   background-color:#00AA00;
211   color:white;
212 }
213 strong.word7 {
214   background-color:#886800;
215   color:white;
216 }
217 strong.word8 {
218   background-color:#004699;
219   color:white;
220 }
221 strong.word9 {
222   background-color:#990099;
223   color:white;
224 }
225
226 /* html.php/edit_form() */
227 .edit_form {
228   clear:both;
229 }
230
231 /* pukiwiki.skin.php */
232 div#header {
233   padding:0;
234   margin:0;
235 }
236 div#navigator {
237   clear:both;
238   padding:4px 0 0 0;
239   margin:0;
240 }
241 td.menubar {
242   width:9em;
243   vertical-align:top;
244 }
245 div#menubar {
246   width:9em;
247   padding:0;
248   margin:4px;
249   word-break:break-all;
250   font-size:90%;
251   overflow:hidden;
252 }
253 div#menubar ul {
254   margin:0 0 0 .5em;
255   padding:0 0 0 .5em;
256 }
257 div#menubar ul li {
258   line-height:110%;
259 }
260 div#menubar h4 {
261   font-size:110%;
262 }
263
264 /* for tDiary themes */
265 div.pkwk_body {
266   padding:0;
267 }
268 div#note {
269   clear:both;
270   padding:0;
271   margin:0;
272 }
273 div#attach {
274   clear:both;
275   padding:0;
276   margin:0;
277 }
278 div#toolbar {
279   clear:both;
280   padding:0;
281   margin:0;
282   text-align:right;
283 }
284 div#lastmodified {
285   font-size:80%;
286   padding:0;
287   margin:0;
288 }
289
290 /* for tDiary theme */
291 div#related {
292   font-size:80%;
293   padding:0;
294   margin:0 0 0 0;
295 }
296 div#related .page_passage {
297   font-size:60%;
298 }
299 div#footer {
300   font-size:70%;
301   padding:0;
302   margin:16px 0 0 0;
303 }
304 div#banner {
305   float:right;
306   margin-top:24px;
307 }
308 div#preview {
309   color:inherit;
310   background-color:#F5F8FF;
311 }
312 img#logo {
313   float:left;
314   margin-right:20px;
315 }
316
317 /* aname.inc.php */
318 .anchor_super {
319   font-size:xx-small;
320   vertical-align:super;
321   margin-left:.5em;
322 }
323
324 /* list.inc.php */
325 .page_passage {
326   font-size:small;
327 }
328
329 /* calendar*.inc.php */
330 .style_calendar {
331   padding:0;
332   border:0;
333   margin:3px;
334   color:inherit;
335   background-color:#CCD5DD;
336   text-align:center;
337 }
338 .style_td_caltop {
339   padding:5px;
340   margin:1px;
341   color:inherit;
342   background-color:#EEF5FF;
343   font-size:80%;
344   text-align:center;
345 }
346 .style_td_today {
347   padding:5px;
348   margin:1px;
349   color:inherit;
350   background-color:#FFFACC;
351   text-align:center;
352 }
353 .style_td_sat {
354   padding:5px;
355   margin:1px;
356   color:inherit;
357   background-color:#DDE5FF;
358   text-align:center;
359 }
360 .style_td_sun {
361   padding:5px;
362   margin:1px;
363   color:inherit;
364   background-color:#FFEEEE;
365   text-align:center;
366 }
367 .style_td_blank {
368   padding:5px;
369   margin:1px;
370   color:inherit;
371   background-color:#EEF5FF;
372   text-align:center;
373 }
374 .style_td_day {
375   padding:5px;
376   margin:1px;
377   color:inherit;
378   background-color:#EEF5FF;
379   text-align:center;
380 }
381 .style_td_week {
382   padding:5px;
383   margin:1px;
384   color:inherit;
385   background-color:#DDE5EE;
386   font-size:80%;
387   font-weight:bold;
388   text-align:center;
389 }
390
391 /* calendar_viewer.inc.php */
392 div.calendar_viewer {
393   color:inherit;
394   background-color:inherit;
395   margin-top:20px;
396   margin-bottom:10px;
397   padding-bottom:10px;
398 }
399 span.calendar_viewer_left {
400   color:inherit;
401   background-color:inherit;
402   float:left;
403 }
404 span.calendar_viewer_right {
405   color:inherit;
406   background-color:inherit;
407   float:right;
408 }
409
410 /* clear.inc.php */
411 .clear {
412   margin:0;
413   clear:both;
414 }
415
416 /* counter.inc.php */
417 div.counter {
418   font-size:70%;
419 }
420
421 /* diff.inc.php */
422 span.diff_added {
423   color:blue;
424   background-color:inherit;
425 }
426 span.diff_removed {
427   color:red;
428   background-color:inherit;
429 }
430
431 /* hr.inc.php */
432 hr.short_line {
433   text-align:center;
434   width:80%;
435   border-style:solid;
436   border-color:#CCD5DD;
437   border-width:1px 0;
438 }
439
440 /* include.inc.php */
441 h5.side_label {
442   text-align:center;
443 }
444
445 /* navi.inc.php */
446 ul.navi {
447   margin:0;
448   padding:0;
449   text-align:center;
450 }
451 li.navi_none {
452   display:inline;
453   float:none;
454 }
455 li.navi_left {
456   display:inline;
457   float:left;
458   text-align:left;
459 }
460 li.navi_right {
461   display:inline;
462   float:right;
463   text-align:right;
464 }
465
466 /* new.inc.php */
467 span.comment_date {
468   font-size:x-small;
469 }
470 span.new1 {
471   color:red;
472   background-color:transparent;
473   font-size:x-small;
474 }
475 span.new5 {
476   color:green;
477   background-color:transparent;
478   font-size:xx-small;
479 }
480
481 /* popular.inc.php */
482 span.counter {
483   font-size:70%;
484 }
485
486 /* ref.inc.php */
487 div.img_margin {
488   margin-left:32px;
489   margin-right:32px;
490 }
491
492 /* vote.inc.php */
493 td.vote_label {
494   color:inherit;
495   background-color:#DDE5EE;
496 }
497 td.vote_td1 {
498   color:inherit;
499   background-color:#FFEEEE;
500 }
501 td.vote_td2 {
502   color:inherit;
503   background-color:#DDE5FF;
504 }
505
506 /* topicpath.inc.php */
507 span.topicpath-slash {
508   margin:0 0.4em;
509 }
510 span.topicpath-top {
511   user-select:none;
512 }
513
514 /* bugtrack.inc.php */
515 tr.bugtrack_list_header th {
516   background-color:#ffffcc;
517 }
518 tr.bugtrack_state_proposal td {
519   background-color:#ccccff;
520 }
521 tr.bugtrack_state_accept td {
522   background-color:#ffcc99;
523 }
524 tr.bugrack_state_resolved td {
525   background-color:#ccffcc;
526 }
527 tr.bugtrack_state_pending td {
528   background-color:#ffccff;
529 }
530 tr.bugtrack_state_cancel td {
531   background-color:#cccccc;
532 }
533 tr.bugtrack_state_undef td {
534   background-color:#ff3333;
535 }
536
537 /* search2.inc.php  */
538 .search-result-page-summary {
539   font-size:70%;
540   color:gray;
541   overflow:hidden;
542   text-overflow:ellipsis;
543   white-space:nowrap;
544 }
545
546 @media print {
547   img#logo,
548   div#navigator,
549   div#menubar,
550   td.menubar,
551   div#related,
552   div#attach,
553   div#toolbar {
554     display:none;
555   }
556 }