community.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. html, body { color:#000; background:#fefefe }
  2. body[class="http://oddwiki.taoriver.net/wiki.pl"] {
  3. background:#FEE;
  4. }
  5. textarea { width:100%; }
  6. a:active { color:#F00; }
  7. h1 { font-weight:bold; font-size:x-large; border-bottom:solid;
  8. margin-top:3ex; margin-bottom:3ex; clear:left; }
  9. h1 a { text-decoration:none; color:#000; }
  10. h1 a:hover { background:#ddd; }
  11. h2 { font-weight:bold; font-size:larger; clear:left;
  12. color:#fff; background:#27b; padding:0.7ex; }
  13. h2 a { text-decoration:none; color:#fff; }
  14. h2 a:hover { background:#49c; }
  15. h3 { font-weight:bold; font-size:medium; clear:left;
  16. color:#fff; background:#5af; padding:0.7ex; }
  17. h3 a { text-decoration:none; color:#fff; }
  18. a.definition {
  19. text-decoration:none; color:#000;
  20. border-bottom:thin dashed;
  21. }
  22. a.definition:hover { background:#ddd; }
  23. p a.definition {
  24. font-weight:bold; font-size:larger;
  25. color:#fff; background:#27b; padding:0.7ex;
  26. text-decoration:none; display:block; margin-bottom:1ex;
  27. border-bottom:none;
  28. }
  29. p a.definition:hover { background:#49c; }
  30. a.alias { text-decoration:none; border-bottom: thin dashed; }
  31. a.near:link { color:#093; }
  32. a.near:visited { color:#550; }
  33. a.footnote { font-size:50%; vertical-align:super }
  34. div.footnotes hr {
  35. border:none;
  36. color:black;
  37. background-color:#000;
  38. height:1px;
  39. margin-top:2ex;
  40. }
  41. div.footnotes hr + p {
  42. font-weight:bold;
  43. }
  44. div.footer {
  45. margin-top:3ex;
  46. padding-bottom:1ex;
  47. margin-bottom:1ex;
  48. background-color:#fff;
  49. border-bottom:solid;
  50. }
  51. div.footer hr {
  52. border:none;
  53. color:black;
  54. background-color:#000;
  55. height:2px;
  56. margin-top:2ex;
  57. }
  58. div.rc { margin-top:4ex; }
  59. div.rc hr { display:none; }
  60. div.old { background-color:#ffd; }
  61. div.new { background-color:#dfd; }
  62. div.diff { padding-left:2ex; padding-right:2ex; border-style:dashed;
  63. margin-left:5%; margin-right:5%; margin-bottom:5ex; }
  64. div.diff + hr { display: none }
  65. div.refer { padding-left:5%; padding-right:5%; font-size:smaller; }
  66. div.rss { background-color:#eef; }
  67. div.message { background-color:#fee; color:#f00; border:solid #f00;
  68. font-weight:bold; padding-left:1em; margin:1em; }
  69. div.sister { float:left; padding-right:1ex; background-color:#fff; }
  70. div.sister p { margin-top:0; }
  71. div.sister hr { display:none; }
  72. div.near, div.definition { background-color:#efe; }
  73. div.near p, div.definition p { margin-top: 0; }
  74. div.footer + hr { display:none; }
  75. div.journal hr { display:none; }
  76. div.journal h1, div.journal h2, div.journal h3, div.journal h4 { font-size:medium; border:0; }
  77. span.description { font-weight:bold; }
  78. /* span.new { display:none; } */
  79. table.user { border-style:dotted; border-width:thin; padding:1ex;
  80. margin-bottom:1ex; width:90%; margin-left:5%; }
  81. table.user tr td { padding-left:1em; padding-right:1em; }
  82. dt { font-weight:bold; }
  83. li { margin-bottom:0.5ex; }
  84. img { border:0; }
  85. pre, img.upload {
  86. border: #777 1px solid; padding: 0.5em;
  87. margin-left: 1em; margin-right: 2em;
  88. white-space: pre;
  89. background-color: #e6e6e6; color: black;
  90. }
  91. img.logo {
  92. float:right; clear:right; background-color:#fff;
  93. border:#999 1px solid; padding:1ex; margin:0;
  94. }
  95. img.portrait {
  96. float:left; clear:left;
  97. background-color:#fff;
  98. border:#999 1px solid;
  99. padding:10px;
  100. margin:10px;
  101. }
  102. div.portrait {
  103. float:left; clear:left;
  104. font-size:xx-small;
  105. padding-left:10px;
  106. }
  107. div.portrait img.portrait {
  108. float:none;
  109. margin:10px 10px 0 0;
  110. }
  111. div.portrait a {
  112. text-decoration:none;
  113. color:#999;
  114. }
  115. div.color {
  116. clear:both;
  117. min-height:105px;
  118. }
  119. div.one {
  120. background-color: #eee;
  121. }
  122. div.two {
  123. background-color: #fff;
  124. }
  125. hr { display:block; clear:both; }
  126. @media screen {
  127. body { margin-right: 22ex; padding-right:1em; border-right: 1px solid #999; }
  128. div.sidebar { position: absolute; right: 1ex; width: 20ex; top: 0; }
  129. div.sidebar ul { padding-left:1em; }
  130. }
  131. div.month { margin:0; padding:0; font-size:x-small; }
  132. div.footer { clear:both; }
  133. div.year div.month { float:left; font-size:medium; padding:1ex; }
  134. div.month pre { margin:0; padding:0 0 0 1ex; background-color:#ffe; width:21ex; }
  135. div.month a { text-decoration:none; color:inherit; }
  136. div.month span.title a { background-color:inherit; }
  137. div.month a.exact { background-color:#eef; }
  138. div.month a.collection { background-color:#ccf; }
  139. div.month a.today { background-color:#fcc; }
  140. div.month a[class~="today"][class~="exact"] { background-color:#fcf; }
  141. div.month a[class~="today"][class~="collection"] { background-color:#faf; }
  142. @media print {
  143. div.month { display: none; }
  144. div.year div.month { display: block; }
  145. div.year div.month a { display: inline; }
  146. }
  147. @media print {
  148. span.gotobar, span.specialdays, div.sidebar, div.refer, div.footer,
  149. div.near, div.definition, div.sister, div.languages { display:none; }
  150. }
  151. div.languages { border-top:1px solid; clear:both; }
  152. div.languages form { margin-top:1ex; }
  153. span[lang=en] { background-color:#ddf; }
  154. span[lang=fr] { background-color:#fdd; }
  155. span[lang=de] { background-color:#ffd; }
  156. span[lang=it] { background-color:#dfd; }
  157. span[lang=pt] { background-color:#bfb; }
  158. span[lang=es] { background-color:#fec; }
  159. span[lang=sv] { background-color:#adf; }
  160. body.simple div.footer p.note,
  161. body.simple div.footer span.gotobar + br,
  162. body.simple div.footer span.gotobar,
  163. body.simple div.sister,
  164. body.simple div.near,
  165. body.simple div.definition,
  166. body.simple div.languages { display:none; }
  167. body.explicit a.near[title=MeatBall]:before { content:"MeatBall:"; }
  168. body.explicit a.near[title=WikiFeatures]:before { content:"WikiFeatures:"; }
  169. body.nolang span[lang] { background-color:#fff; }
  170. body[class~=en] span[lang] { display:none; }
  171. body[class~=de] span[lang] { display:none; }
  172. body[class~=fr] span[lang] { display:none; }
  173. body[class~=it] span[lang] { display:none; }
  174. body[class~=pt] span[lang] { display:none; }
  175. body[class~=en] span[lang=en] { display:inline; }
  176. body[class~=de] span[lang=de] { display:inline; }
  177. body[class~=fr] span[lang=fr] { display:inline; }
  178. body[class~=it] span[lang=it] { display:inline; }
  179. body[class~=pt] span[lang=pt] { display:inline; }