basic.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. /* [Default Theme] */
  2. img {
  3. border-style:none;
  4. }
  5. img.upload {
  6. background: inherit;
  7. border: 1px solid #aaa;
  8. padding: 5px;
  9. }
  10. img.logo {
  11. float: right;
  12. clear: right;
  13. }
  14. div.diff {
  15. padding-left:5%;
  16. padding-right:5%;
  17. }
  18. div.old {
  19. background-color:#FFFFAF;
  20. }
  21. div.new {
  22. background-color:#CFFFCF;
  23. }
  24. div.refer {
  25. padding-left: 5%;
  26. padding-right: 5%;
  27. font-size: 80%;
  28. }
  29. div.message {
  30. background-color:#FEE;
  31. }
  32. div.sister {
  33. float:left;
  34. margin-right:1ex;
  35. background-color:#fff;
  36. }
  37. div.sister p {
  38. margin-top:0;
  39. }
  40. div.sister hr {
  41. display:none;
  42. }
  43. div.near, div.definition {
  44. background-color:#efe;
  45. }
  46. div.near p, div.definition {
  47. margin-top: 0;
  48. }
  49. /* get rid of useless "10 results found" when using indexed search. */
  50. div.search p.result { display:none; }
  51. form.tiny, form.tiny p {
  52. display:inline;
  53. white-space:nowrap;
  54. }
  55. form.tiny input {
  56. margin: 0.1em;
  57. width: 10em;
  58. font-size: 80%;
  59. font-family: inherit;
  60. }
  61. /* portrait support */
  62. div.color {
  63. clear:left;
  64. }
  65. div.one {
  66. background-color:#eee;
  67. padding: 0.1ex 0;
  68. }
  69. img.portrait {
  70. float:left;
  71. clear:left;
  72. background-color:#fff;
  73. border:#999 1px solid;
  74. padding:10px;
  75. margin:10px;
  76. }
  77. div.portrait {
  78. float: left;
  79. clear: left;
  80. font-size: xx-small;
  81. padding-left: 10px;
  82. }
  83. div.portrait + p {
  84. min-height:70px;
  85. }
  86. div.portrait img.portrait {
  87. float:none;
  88. margin:10px 10px 0 0;
  89. }
  90. div.portrait a {
  91. text-decoration:none;
  92. color:#999;
  93. }
  94. dl.irc dt {
  95. width:15ex;
  96. float:left;
  97. text-align:right;
  98. clear:left;
  99. }
  100. dl.irc dt span.time { display:none; }
  101. dl.irc dd {
  102. margin-left:17ex;
  103. }
  104. table.history {
  105. border-style:none;
  106. }
  107. td.history {
  108. border-style:none;
  109. }
  110. span.result {
  111. font-size:larger;
  112. }
  113. span.info {
  114. font-size:smaller;
  115. font-style:italic;
  116. }
  117. div.rss {
  118. background-color:#EEF;
  119. }
  120. .left { float:left; margin-right:1em; }
  121. .right { float:right; margin-left:1em; }
  122. a.definition {
  123. color:#000;
  124. text-decoration:none;
  125. border-bottom:dashed 1px;
  126. }
  127. a.alias {
  128. text-decoration:none;
  129. border-bottom:dashed 1px;
  130. }
  131. a.near:link {
  132. color:#093;
  133. }
  134. a.near:visited {
  135. color:#550;
  136. }
  137. a.tag:before {
  138. content:"\2601\ ";
  139. }
  140. /* cal */
  141. pre.cal {
  142. float:left;
  143. margin:3ex;
  144. height:20ex;
  145. }
  146. pre.cal a {
  147. text-decoration:none;
  148. font-weight:bold;
  149. }
  150. pre.cal a:hover {
  151. background-color:#eef;
  152. }
  153. h2, h3, h4, h5, h6, hr, div.footer {
  154. clear:both;
  155. }
  156. div.footer {
  157. margin-top: 2em;
  158. }
  159. /* printable index */
  160. div.letter br {
  161. display: none;
  162. }
  163. div.letter h2 {
  164. clear: both;
  165. padding-top: 2ex;
  166. border-bottom: solid 1px;
  167. }
  168. div.letter > a {
  169. display: block;
  170. width: 40ex;
  171. float: left;
  172. border:none;
  173. }
  174. textarea[name="text"] {
  175. width:100%;
  176. height:80%;
  177. }
  178. textarea[name="summary"] {
  179. width:100%;
  180. height:3em;
  181. }
  182. div.comment textarea {
  183. height:10em;
  184. }
  185. /* calendar */
  186. div.month {
  187. padding:0;
  188. margin:0 2ex;
  189. }
  190. div.year div.month {
  191. float:left;
  192. }
  193. div.month a {
  194. text-decoration:none;;
  195. }
  196. div.month a.edit {
  197. color:inherit;
  198. }
  199. div.month a.local {
  200. font-weight:bold;
  201. }
  202. /* highlighting */
  203. /* Equivalent to Output::HTML */
  204. span.linecomment { color: green; }
  205. span.blockcomment { color: green; }
  206. span.prepro { color: purple; }
  207. span.select { font-weight: bold; }
  208. span.quote { color: blue; }
  209. span.category_1 { color: teal; }
  210. span.category_2 { color: blue; }
  211. span.category_3 { color: blue; }