green.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639
  1. /* Authors: Murray Altheim (2004), Alex Schroeder (2004, 2005, 2006,
  2. 2009), Bayle Shanks (2006), Lion Kimbro (2006).
  3. This file is in the public domain.
  4. */
  5. html, body { /* hue 84 */
  6. /* Default color for text. It doesn't appear that many places,
  7. but you'll see it in Recent Changes summary comments, and
  8. you'll see it in the languages at the bottom of the place;
  9. It seeps out, here and there. */
  10. color:#000;
  11. /* This is the main light green background color. */
  12. background-color:#def4b5;
  13. margin:0;
  14. padding:0;
  15. }
  16. /* This is not used in all that many places. */
  17. body.gray {
  18. background-color:#d5e0c5;
  19. }
  20. /* The next section includes some funky selectors.
  21. See http://www.w3.org/TR/REC-CSS2/selector.html for more. */
  22. div.content, div.rc, body > form, div.footnotes, div.edit text {
  23. margin: 1em;
  24. }
  25. /* The following statement hides the result count at the end
  26. of a search page (since most of the time the result per page
  27. is 10. */
  28. br + p.result { display: none; }
  29. body.brown a { color:#550; text-decoration:none; }
  30. a { color:#272; text-decoration:none; font-weight:bold; }
  31. a:active { color:#f00; }
  32. a:visited { color:#550; }
  33. a.near, a.outside, a[class="url number"] {
  34. text-decoration:underline;
  35. font-weight:bold;
  36. }
  37. a.tag:before { content:"\2601\ "; }
  38. a.tag { text-decoration:none; }
  39. div.search p.links a { padding-right:2ex; }
  40. a.number { text-decoration:none; }
  41. a.alias { text-decoration:none; border-bottom: thin dashed; }
  42. a.footnote { font-size:50%; vertical-align:super }
  43. span.bar a { margin-right:1ex; }
  44. p.plink, li.plink {
  45. border: 2px solid #c8a8ff;
  46. padding: 2px;
  47. }
  48. p a.plink, li a.plink {
  49. display:none;
  50. }
  51. p:hover a.plink, p a:hover.plink,
  52. li:hover a.plink, li a:hover.plink {
  53. text-decoration: none;
  54. display: inline;
  55. position:absolute;
  56. color: #a020f0; /* purple */
  57. }
  58. body.arrows a.near:before, body.arrows a.outside:before { content:"\2197"; }
  59. body.arrows a.near, body.arrows a.outside { text-decoration:none; }
  60. /* add every specific a here */
  61. div.header h1 a:hover, h1 a:hover, h2 a:hover, h3 a:hover { color: #fbb; }
  62. a.definition:hover, a.near:hover, a:hover { color:#f00; }
  63. dl.irc dt { width:20ex; float:left; text-align:right; clear:left; }
  64. dl.irc dt span.time { float:left; }
  65. dl.irc dd { margin-left:22ex; }
  66. div.header {
  67. background-color: #becc92;
  68. margin: 0;
  69. padding: 0;
  70. height: 6em;
  71. }
  72. div.sidebar {
  73. float: right;
  74. width: 15%;
  75. padding: 0 0.5em 0 1em;
  76. margin: 1em 0 1em 5em;
  77. font-size: x-small;
  78. border: 3px solid #000;
  79. text-align: left;
  80. background-color: #dea;
  81. }
  82. div.sidebar h2 {
  83. font-weight: bold;
  84. font-size: small;
  85. color: #000;
  86. background-color: #dea;
  87. padding: 0;
  88. margin-right: 7%;
  89. border-bottom: 1px solid #ab7;
  90. }
  91. div.sidebar ul, div.sidebar li {
  92. display:block;
  93. margin:0;
  94. padding:0;
  95. }
  96. div.sidebar a:before {
  97. content:"";
  98. }
  99. div.sidebar a {
  100. font-weight: normal;
  101. }
  102. h3 {
  103. font-weight:bold;
  104. font-size:medium;
  105. clear:left;
  106. color:#fff;
  107. background:#84d600;
  108. padding:0.3ex;
  109. }
  110. div.header span.gotobar {
  111. display:block;
  112. padding:1ex;
  113. }
  114. div.message {
  115. position: absolute;
  116. top: 1.5em;
  117. left:0;
  118. right:0;
  119. z-index: 5;
  120. }
  121. div.message p {
  122. display:inline;
  123. }
  124. div.message, div.question {
  125. background-color:#fee;
  126. color:#f00;
  127. border:solid #f00;
  128. font-weight:bold;
  129. padding:0.1em 0 0.1em 1em;
  130. }
  131. div.header h1 {
  132. position: absolute;
  133. top: 1.5em;
  134. left:0;
  135. right:0;
  136. background-color:#517005;
  137. font-family: "Tahoma", "Arial", "Helvetica", sans-serif;
  138. font-size:xx-large;
  139. border-bottom:2px dotted #87a036;
  140. margin-top: 0;
  141. padding: 0.125em 0.5em;
  142. }
  143. div.header h1 a {
  144. text-decoration:none;
  145. color: #ffffff;
  146. }
  147. img.logo {
  148. position:absolute;
  149. top:1ex;
  150. right:1ex;
  151. border:none;
  152. z-index:10;
  153. }
  154. .right {
  155. float:right;
  156. }
  157. .left {
  158. float:left;
  159. }
  160. .top {
  161. vertical-align: top;
  162. }
  163. .highlight {
  164. background-color: #ffa;
  165. font-style: normal;
  166. padding: 0 0.2em;
  167. }
  168. /* search box in the top bar */
  169. form.tiny, form.tiny p {
  170. display: inline;
  171. white-space: nowrap;
  172. }
  173. form.tiny input {
  174. padding: 0;
  175. width: 10ex;
  176. font-size: 70%;
  177. }
  178. div.right .right, div.left .left {
  179. float: none;
  180. }
  181. span.caption {
  182. display:block;
  183. margin: 0 1em 1em 1em;
  184. }
  185. a.small img {
  186. max-width:300px;
  187. }
  188. h1 {
  189. font-weight:bold;
  190. font-size:larger;
  191. clear:left;
  192. color:#fff;
  193. background:#69aa00;
  194. padding:0.7ex;
  195. text-decoration:none;
  196. }
  197. span.specialdays {
  198. margin-left: 1em;
  199. color: #4c6b1b;
  200. font-style: italic;
  201. }
  202. h2 {
  203. font-weight:bold;
  204. font-size:larger;
  205. color:#fff;
  206. background:#69aa00;
  207. padding:0.7ex;
  208. }
  209. h2 a, div.journal h1 a {
  210. text-decoration:none; color:#fff;
  211. }
  212. h3 {
  213. font-weight:bold; font-size:medium; clear:left;
  214. color:#fff; background:#84d600; padding:0.7ex;
  215. }
  216. h3 a, div.journal h2 a {
  217. text-decoration:none; color:#fff;
  218. }
  219. span.permanentanchor, a.definition {
  220. text-decoration:none; color:#000;
  221. border-bottom:thin dashed;
  222. }
  223. p > a.definition, p > span.permanentanchor {
  224. font-weight:bold; font-size:larger;
  225. color:#fff; background:#84d600; padding:0.7ex;
  226. text-decoration:none; display:block; margin-bottom:1ex;
  227. border-bottom:none;
  228. }
  229. div.footnotes hr {
  230. border:none;
  231. color:black;
  232. background-color:#000;
  233. height:1px;
  234. margin-top:2ex;
  235. }
  236. div.footnotes hr + p {
  237. font-weight:bold;
  238. }
  239. div.footer {
  240. background-color:#becc92;
  241. border-bottom:solid;
  242. clear: both;
  243. margin: 3em 0 0 0;
  244. padding: 1ex;
  245. border-top:2px solid;
  246. color:black;
  247. }
  248. div.footer hr {
  249. display:none;
  250. }
  251. div.rc { margin-top:4ex; }
  252. div.rc hr { display:none; }
  253. div.old { background-color:#ffd; }
  254. div.new { background-color:#dfd; }
  255. div.diff {
  256. padding-left:2ex;
  257. padding-right:2ex;
  258. border-style:dashed;
  259. width: 66%;
  260. margin:1em 2em;
  261. }
  262. div.diff + hr {
  263. display: none;
  264. }
  265. div.refer {
  266. padding-left:5%;
  267. padding-right:5%;
  268. }
  269. div.refer hr {
  270. display: none;
  271. }
  272. div.rss { background-color:#ce9; }
  273. body.gray div.rss {
  274. background-color:#dec;
  275. }
  276. div.sister {
  277. float:left;
  278. margin-right:1ex;
  279. padding-right:1ex;
  280. }
  281. div.sister p { padding:1ex; margin:0; }
  282. div.sister hr { display:none; }
  283. div.near, div.definition { padding:1ex; margin:0; }
  284. div.near p, div.definition p { margin: 0; }
  285. div.footer + hr { display:none; }
  286. div.journal hr { display:none; }
  287. div.journal h1, div.journal h2, div.journal h3, div.journal h4 {
  288. font-size:medium;
  289. border:0;
  290. }
  291. div.include {
  292. border-top: 1px dashed #ccd;
  293. border-bottom: 1px dashed #ccd;
  294. background-color: #d2f4b5;
  295. }
  296. span.description { font-weight:bold; }
  297. span.new { display:inline; font-weight:bold; }
  298. table.user { border-collapse:collapse; border:thin dotted; padding:1ex;
  299. margin-bottom:1ex; width:inherit; margin:0 5%; }
  300. table.user tr td { padding: 0.5ex 1em; border: thin dotted; text-align:left; }
  301. table.history td[colspan="3"] {
  302. padding: 1em 0;
  303. }
  304. dt { font-weight:bold; }
  305. dd, li {
  306. margin-bottom: 0.5ex;
  307. margin-left: 2em;
  308. }
  309. dl, ol, ul { margin-left:0em; }
  310. textarea#text { width:75%; height:70%; }
  311. textarea#summary { width:75%; height:10%; }
  312. /* links to change from text to file and back */
  313. form.edit a.svg, form.edit a.upload {
  314. padding: 0.5em;
  315. margin-right: 0.5em;
  316. background-color: #cfa;
  317. border: 1px solid #7a7;
  318. -moz-border-radius: 5px;
  319. -webkit-border-radius: 5px;
  320. }
  321. /* images */
  322. img { border:0; }
  323. pre, img.upload {
  324. border: #777 1px solid; padding: 0.5em;
  325. margin-left: 1em; margin-right: 2em;
  326. white-space: pre;
  327. background-color: #fff; color: black;
  328. overflow: hidden;
  329. }
  330. a.smiley img.upload {
  331. border:none;
  332. margin:0;
  333. padding:0;
  334. background-color:inherit;
  335. }
  336. img.portrait {
  337. float:left; clear:left;
  338. background-color:#fff;
  339. border:#999 1px solid;
  340. padding:10px;
  341. margin:10px;
  342. }
  343. div.portrait {
  344. float:left; clear:left;
  345. font-size:xx-small;
  346. padding-left:10px;
  347. }
  348. div.portrait img.portrait {
  349. float:none;
  350. margin:10px 10px 0 0;
  351. }
  352. div.portrait a {
  353. text-decoration:none;
  354. color:#999;
  355. }
  356. div.color {
  357. clear: left;
  358. min-height:105px;
  359. margin: 0;
  360. padding: 0;
  361. }
  362. div.one {
  363. background-color: #efb;
  364. }
  365. div.level0, div.level0 div.portrait {
  366. margin-left: 0;
  367. }
  368. div.level1, div.level1 div.portrait {
  369. margin-left: 4em;
  370. }
  371. div.level2, div.level2 div.portrait {
  372. margin-left: 8em;
  373. }
  374. div.level3, div.level3 div.portrait {
  375. margin-left: 12em;
  376. }
  377. hr {
  378. display:block;
  379. clear: left;
  380. }
  381. div.month {
  382. float:left;
  383. margin:3ex;
  384. height:15ex;
  385. }
  386. div.month pre {
  387. background-color:inherit;
  388. border:none;
  389. padding:0;
  390. margin:0;
  391. }
  392. div.month a.edit {
  393. font-weight:normal;
  394. color:#000;
  395. }
  396. rss {
  397. color:#000;
  398. margin:0;
  399. padding:0;
  400. background-color:#def4b5;
  401. }
  402. docs {
  403. position: absolute;
  404. top:0;
  405. left:0;
  406. right:0;
  407. font-size: xx-large;
  408. height: 1.5em;
  409. color: #becc92; /* invisible */
  410. background-color: #becc92;
  411. }
  412. channel * {
  413. display: block;
  414. }
  415. /* if IE can't parse this, no problem */
  416. channel > title {
  417. font-family: "Tahoma", "Arial", "Helvetica", sans-serif;
  418. }
  419. title {
  420. background-color:#517005;
  421. font-size:xx-large;
  422. font-weight:bold;
  423. margin-top: 1.5em;
  424. padding: 0.125em 0.5em;
  425. border-bottom:2px dotted #87a036;
  426. color:#fff;
  427. }
  428. item title {
  429. background-color:#69aa00;
  430. font-size: medium;
  431. margin: 0 0 0 1em;
  432. padding:0.7ex 0.5em;
  433. }
  434. copyright {
  435. font-size: smaller;
  436. margin: 1em 4em;
  437. }
  438. channel > link:before {
  439. font-size: x-large;
  440. display: block;
  441. margin: 1em;
  442. padding: 0.5em;
  443. content: "This is an RSS feed, designed to be read in a feed reader.";
  444. color: red;
  445. border: 1px solid red;
  446. }
  447. link, license {
  448. font-size: smaller;
  449. margin: 1em 2em;
  450. }
  451. username, description, generator, interwiki { margin: 1em; }
  452. username:before { content: "Last edited by "; }
  453. username:after { content: "."; }
  454. generator:before { content: "Feed generated by "; }
  455. generator:after { content: "."; }
  456. channel description {
  457. font-weight: bold;
  458. }
  459. item description {
  460. font-style: italic;
  461. font-weight: normal;
  462. margin: 1em;
  463. }
  464. language,
  465. pubDate, lastBuildDate, ttl, guid, category, comments,
  466. image title, image link,
  467. status, version, diff, history, importance {
  468. display: none;
  469. }
  470. /*
  471. == Printing ==
  472. "@media print" is special: Everything in this section only applies
  473. when the page is printed (or during print preview). More information:
  474. * http://www.w3.org/TR/css3-mediaqueries/
  475. */
  476. @media print {
  477. /* When printing, turn off a bunch of stuff. */
  478. div.header span.gotobar,
  479. span.specialdays,
  480. div.refer,
  481. div.footer,
  482. div.near,
  483. div.definition,
  484. div.sister,
  485. div.languages,
  486. div.message,
  487. img.logo { display:none; }
  488. /* portraits */
  489. div.portrait {
  490. margin:0;
  491. padding:0;
  492. font-size:inherit;
  493. float:none;
  494. display:inline;
  495. }
  496. div.portrait + * { display:inline; }
  497. div.portrait p { margin:0; padding:0; display:inline; }
  498. div.portrait a.newauthor, div.portrait br { display:none; }
  499. div.portrait a.local:after { content:": "; }
  500. div.portrait a.local { color:inherit; }
  501. div.color {
  502. min-height:0;
  503. background: inherit;
  504. }
  505. }
  506. /*
  507. == Languages stuff ==
  508. */
  509. div.languages {
  510. border-top:1px solid;
  511. clear:both;
  512. }
  513. div.languages form {
  514. margin: 1em 1ex 3em 1ex;
  515. }
  516. span[lang=en], .en { background-color:#ddf; }
  517. span[lang=fr], .fr { background-color:#fdd; }
  518. span[lang=de], .de { background-color:#ffd; }
  519. span[lang=it], .it { background-color:#dfd; }
  520. span[lang=pt], .pt { background-color:#bfb; }
  521. span[lang=es], .es { background-color:#fec; }
  522. span[lang=sv], .sv { background-color:#adf; }
  523. body.simple div.footer p.note,
  524. body.simple div.footer span.gotobar + br,
  525. body.simple div.footer span.gotobar,
  526. body.simple div.sister,
  527. body.simple div.near,
  528. body.simple div.definition,
  529. body.simple div.languages { display:none; }
  530. body.explicit a.near[title=MeatBall]:before { content:"MeatBall:"; }
  531. body.explicit a.near[title=WikiFeatures]:before { content:"WikiFeatures:"; }
  532. body.explicit a.near[title=CraoWiki]:before { content:"CraoWiki:"; }
  533. body.explicit a.near[title=InterWiki]:before { content:"InterWiki:"; }
  534. body.explicit a.near[title=OpenMeatballWiki]:before { content:"OpenMeatballWiki:"; }
  535. body.nolang span[lang] { background-color:inherit; }
  536. body[class~=en] span[lang] { display:none; }
  537. body[class~=de] span[lang] { display:none; }
  538. body[class~=fr] span[lang] { display:none; }
  539. body[class~=it] span[lang] { display:none; }
  540. body[class~=pt] span[lang] { display:none; }
  541. body[class~=en] span[lang=en] { display:inline; }
  542. body[class~=de] span[lang=de] { display:inline; }
  543. body[class~=fr] span[lang=fr] { display:inline; }
  544. body[class~=it] span[lang=it] { display:inline; }
  545. body[class~=pt] span[lang=pt] { display:inline; }
  546. span.debug { display:none; }
  547. table.aside {
  548. float: right;
  549. width: 20ex;
  550. padding: 0;
  551. margin: 0 0 0 2ex;
  552. border: 1px dashed #666;
  553. }
  554. .aside ul {
  555. padding: 0;
  556. }
  557. table.aside tr td, table.aside tr th {
  558. border: none;
  559. }