本网站正在建设中(~ ̄▽ ̄)~

  • 你好~!欢迎来到中文歌声合成个人收集站-VCPedia.cn!
  • 若发现页面信息有误投稿至本站,请联系管理员。

Template:Mbox/style.css

VCPedia.cn ——关于中文歌声合成的一切。
跳到导航 跳到搜索
  1. /* messagebox templates */
  2. .messagebox {
  3. border: 1px solid #a2a9b1;
  4. background-color: #f8f9fa;
  5. width: 80%;
  6. margin: 0 auto 1em auto;
  7. padding: .2em;
  8. }
  9. .messagebox.merge {
  10. border: 1px solid #c0b8cc;
  11. background-color: #f0e5ff;
  12. text-align: center;
  13. }
  14. .messagebox.cleanup {
  15. border: 1px solid #9f9fff;
  16. background-color: #efefff;
  17. text-align: center;
  18. }
  19. .messagebox.standard-talk {
  20. border: 1px solid #c0c090;
  21. background-color: #f8eaba;
  22. margin: 4px auto;
  23. }
  24. /* For old WikiProject banners inside banner shells. */
  25. .messagebox-inside .standard-talk {
  26. border: 1px solid #c0c090;
  27. background-color: #f8eaba;
  28. width: 100%;
  29. margin: 2px 0;
  30. padding: 2px;
  31. }
  32. .messagebox.small {
  33. width: 238px;
  34. font-size: 85%;
  35. /* @noflip */
  36. float: right;
  37. clear: both;
  38. /* @noflip */
  39. margin: 0 0 1em 1em;
  40. line-height: 1.25em;
  41. }
  42. .messagebox.small-talk {
  43. width: 238px;
  44. font-size: 85%;
  45. /* @noflip */
  46. float: right;
  47. clear: both;
  48. /* @noflip */
  49. margin: 0 0 1em 1em;
  50. line-height: 1.25em;
  51. background-color: #f8eaba;
  52. }
  53. /* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
  54. th.mbox-text, td.mbox-text { /* The message body cell(s) */
  55. border: none;
  56. /* @noflip */
  57. padding: 0.25em 0.9em; /* 0.9em left/right */
  58. width: 100%; /* Make all mboxes the same width regardless of text length */
  59. }
  60. td.mbox-image { /* The left image cell */
  61. border: none;
  62. /* @noflip */
  63. padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
  64. text-align: center;
  65. }
  66. td.mbox-imageright { /* The right image cell */
  67. border: none;
  68. /* @noflip */
  69. padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
  70. text-align: center;
  71. }
  72. td.mbox-empty-cell { /* An empty narrow cell */
  73. border: none;
  74. padding: 0;
  75. width: 1px;
  76. }
  77. /* Article message box styles */
  78. table.ambox {
  79. margin: 0 10%; /* 10% = Will not overlap with other elements */
  80. border: 1px solid #a2a9b1;
  81. /* @noflip */
  82. border-left: 10px solid #36c; /* Default "notice" blue */
  83. background-color: #fbfbfb;
  84. box-sizing: border-box;
  85. }
  86. /* Single border between stacked boxes. */
  87. table.ambox + table.ambox,
  88. table.ambox + .mw-empty-elt + table.ambox {
  89. margin-top: -1px;
  90. }
  91. .ambox th.mbox-text,
  92. .ambox td.mbox-text { /* The message body cell(s) */
  93. padding: 0.25em 0.5em; /* 0.5em left/right */
  94. }
  95. .ambox td.mbox-image { /* The left image cell */
  96. /* @noflip */
  97. padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
  98. }
  99. .ambox td.mbox-imageright { /* The right image cell */
  100. /* @noflip */
  101. padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
  102. }
  103. table.ambox-notice {
  104. /* @noflip */
  105. border-left: 10px solid #36c; /* Blue */
  106. }
  107. table.ambox-speedy {
  108. /* @noflip */
  109. border-left: 10px solid #b32424; /* Red */
  110. background-color: #fee7e6; /* Pink */
  111. }
  112. table.ambox-delete {
  113. /* @noflip */
  114. border-left: 10px solid #b32424; /* Red */
  115. }
  116. table.ambox-content {
  117. /* @noflip */
  118. border-left: 10px solid #f28500; /* Orange */
  119. }
  120. table.ambox-style {
  121. /* @noflip */
  122. border-left: 10px solid #fc3; /* Yellow */
  123. }
  124. table.ambox-move {
  125. /* @noflip */
  126. border-left: 10px solid #9932cc; /* Purple */
  127. }
  128. table.ambox-protection {
  129. /* @noflip */
  130. border-left: 10px solid #a2a9b1; /* Gray-gold */
  131. }
  132. /* Image message box styles */
  133. table.imbox {
  134. margin: 4px 10%;
  135. border-collapse: collapse;
  136. border: 3px solid #36c; /* Default "notice" blue */
  137. background-color: #fbfbfb;
  138. box-sizing: border-box;
  139. }
  140. .imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
  141. margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */
  142. display: block; /* Fix for webkit to force 100% width. */
  143. }
  144. .mbox-inside .imbox { /* For imboxes inside other templates. */
  145. margin: 4px;
  146. }
  147. table.imbox-notice {
  148. border: 3px solid #36c; /* Blue */
  149. }
  150. table.imbox-speedy {
  151. border: 3px solid #b32424; /* Red */
  152. background-color: #fee7e6; /* Pink */
  153. }
  154. table.imbox-delete {
  155. border: 3px solid #b32424; /* Red */
  156. }
  157. table.imbox-content {
  158. border: 3px solid #f28500; /* Orange */
  159. }
  160. table.imbox-style {
  161. border: 3px solid #fc3; /* Yellow */
  162. }
  163. table.imbox-move {
  164. border: 3px solid #9932cc; /* Purple */
  165. }
  166. table.imbox-protection {
  167. border: 3px solid #a2a9b1; /* Gray-gold */
  168. }
  169. table.imbox-license {
  170. border: 3px solid #88a; /* Dark gray */
  171. background-color: #f7f8ff; /* Light gray */
  172. }
  173. table.imbox-featured {
  174. border: 3px solid #cba135; /* Brown-gold */
  175. }
  176. /* Category message box styles */
  177. table.cmbox {
  178. margin: 3px 10%;
  179. border-collapse: collapse;
  180. border: 1px solid #a2a9b1;
  181. background-color: #dfe8ff; /* Default "notice" blue */
  182. box-sizing: border-box;
  183. }
  184. table.cmbox-notice {
  185. background-color: #d8e8ff; /* Blue */
  186. }
  187. table.cmbox-speedy {
  188. margin-top: 4px;
  189. margin-bottom: 4px;
  190. border: 4px solid #b32424; /* Red */
  191. background-color: #ffdbdb; /* Pink */
  192. }
  193. table.cmbox-delete {
  194. background-color: #ffdbdb; /* Pink */
  195. }
  196. table.cmbox-content {
  197. background-color: #ffe7ce; /* Orange */
  198. }
  199. table.cmbox-style {
  200. background-color: #fff9db; /* Yellow */
  201. }
  202. table.cmbox-move {
  203. background-color: #e4d8ff; /* Purple */
  204. }
  205. table.cmbox-protection {
  206. background-color: #efefe1; /* Gray-gold */
  207. }
  208. /* Other pages message box styles */
  209. table.ombox {
  210. margin: 4px 10%;
  211. border-collapse: collapse;
  212. border: 1px solid #a2a9b1; /* Default "notice" gray */
  213. background-color: #f8f9fa;
  214. box-sizing: border-box;
  215. }
  216. @media screen and (max-width:720px) {
  217. table.ombox {
  218. margin: 4px 0;
  219. }
  220. }
  221. table.ombox-notice {
  222. border: 1px solid #a2a9b1; /* Gray */
  223. }
  224. table.ombox-speedy {
  225. border: 2px solid #b32424; /* Red */
  226. background-color: #fee7e6; /* Pink */
  227. }
  228. table.ombox-delete {
  229. border: 2px solid #b32424; /* Red */
  230. }
  231. table.ombox-content {
  232. border: 1px solid #f28500; /* Orange */
  233. }
  234. table.ombox-style {
  235. border: 1px solid #fc3; /* Yellow */
  236. }
  237. table.ombox-move {
  238. border: 1px solid #9932cc; /* Purple */
  239. }
  240. table.ombox-protection {
  241. border: 2px solid #a2a9b1; /* Gray-gold */
  242. }
  243. /* Talk page message box styles */
  244. table.tmbox {
  245. margin: 4px 10%;
  246. border-collapse: collapse;
  247. border: 1px solid #c0c090; /* Default "notice" gray-brown */
  248. background-color: #f8eaba;
  249. min-width: 80%;
  250. box-sizing: border-box;
  251. }
  252. .tmbox.mbox-small {
  253. min-width: 0; /* reset the min-width of tmbox above */
  254. }
  255. .mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
  256. margin: 2px 0; /* this declaration overrides other styles (including mbox-small above) */
  257. width: 100%; /* For Safari and Opera */
  258. }
  259. .mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */
  260. line-height: 1.5em; /* also "nested", so reset styles that are */
  261. font-size: 100%; /* set in "mbox-small" above. */
  262. }
  263. table.tmbox-speedy {
  264. border: 2px solid #b32424; /* Red */
  265. background-color: #fee7e6; /* Pink */
  266. }
  267. table.tmbox-delete {
  268. border: 2px solid #b32424; /* Red */
  269. }
  270. table.tmbox-content {
  271. border: 2px solid #f28500; /* Orange */
  272. }
  273. table.tmbox-style {
  274. border: 2px solid #fc3; /* Yellow */
  275. }
  276. table.tmbox-move {
  277. border: 2px solid #9932cc; /* Purple */
  278. }
  279. table.tmbox-protection,
  280. table.tmbox-notice {
  281. border: 1px solid #c0c090; /* Gray-brown */
  282. }
  283. /* Footer and header message box styles */
  284. table.fmbox {
  285. clear: both;
  286. margin: 0.2em 0;
  287. width: 100%;
  288. border: 1px solid #a2a9b1;
  289. background-color: #f8f9fa; /* Default "system" gray */
  290. box-sizing: border-box;
  291. }
  292. table.fmbox-system {
  293. background-color: #f8f9fa;
  294. }
  295. table.fmbox-warning {
  296. border: 1px solid #bb7070; /* Dark pink */
  297. background-color: #ffdbdb; /* Pink */
  298. }
  299. table.fmbox-editnotice {
  300. background-color: transparent;
  301. }
  302. /* Div based "warning" style fmbox messages. */
  303. div.mw-warning-with-logexcerpt,
  304. div.mw-lag-warn-high,
  305. div.mw-cascadeprotectedwarning,
  306. div#mw-protect-cascadeon,
  307. div.titleblacklist-warning {
  308. clear: both;
  309. margin: 0.2em 0;
  310. border: 1px solid #bb7070;
  311. background-color: #ffdbdb;
  312. padding: 0.25em 0.9em;
  313. box-sizing: border-box;
  314. }
  315. /* Use default color for partial block fmbox banner per [[Special:PermaLink/1028105567#pblock-style]] */
  316. .mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt {
  317. border-color: #fc3;
  318. background-color: #fef6e7;
  319. }
  320. /* Style for compact ambox */
  321. /* Hide the images */
  322. .compact-ambox table .mbox-image,
  323. .compact-ambox table .mbox-imageright,
  324. .compact-ambox table .mbox-empty-cell {
  325. display: none;
  326. }
  327. /* Remove borders, backgrounds, padding, etc. */
  328. .compact-ambox table.ambox {
  329. border: none;
  330. border-collapse: collapse;
  331. background-color: transparent;
  332. margin: 0 0 0 1.6em !important;
  333. padding: 0 !important;
  334. width: auto;
  335. display: block;
  336. }
  337. body.mediawiki .compact-ambox table.mbox-small-left {
  338. font-size: 100%;
  339. width: auto;
  340. margin: 0;
  341. }
  342. /* Style the text cell as a list item and remove its padding */
  343. .compact-ambox table .mbox-text {
  344. padding: 0 !important;
  345. margin: 0 !important;
  346. }
  347. .compact-ambox table .mbox-text-span {
  348. display: list-item;
  349. line-height: 1.5em;
  350. list-style-type: square;
  351. }
  352. /* Allow for hiding text in compact form */
  353. .compact-ambox .hide-when-compact {
  354. display: none;
  355. }
  356. /* These mbox-small classes must be placed after all other
  357. ambox/tmbox/ombox etc classes. "html body.mediawiki" is so
  358. they override "table.ambox + table.ambox" above. */
  359. html body.mediawiki .mbox-small { /* For the "small=yes" option. */
  360. /* @noflip */
  361. clear: right;
  362. /* @noflip */
  363. float: right;
  364. /* @noflip */
  365. margin: 4px 0 4px 1em;
  366. box-sizing: border-box;
  367. width: 238px;
  368. font-size: 88%;
  369. line-height: 1.25em;
  370. }
  371. html body.mediawiki .mbox-small-left { /* For the "small=left" option. */
  372. /* @noflip */
  373. margin: 4px 1em 4px 0;
  374. box-sizing: border-box;
  375. overflow: hidden;
  376. width: 238px;
  377. border-collapse: collapse;
  378. font-size: 88%;
  379. line-height: 1.25em;
  380. }
  381. /* [[Category:在模板名字空间下的CSS页面]] */