PageRenderTime 50ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 1ms

/software.cat/data/7e/20d251-3cc7-4dda-892f-d81c0e2fc6db/2017-05-19T19:30:08+0200/wiki.centos.org/wiki/modern-CentOS/css/common.css

https://gitlab.com/csantosb/wikidata
CSS | 399 lines | 287 code | 82 blank | 30 comment | 0 complexity | 8148f74893bea63d928916585cfbb5b8 MD5 | raw file
  1. /*
  2. common.css - MoinMoin Modern CentOS Style.
  3. Modifications are based on MoinMoin Default modern
  4. style and Fedora Cora Style Sheets.
  5. Alain Reguera Delgado <alain.reguera@gmail.com>
  6. */
  7. /* Content Styles */
  8. html {
  9. color: black;
  10. font-family: Arial, Lucida Grande, sans-serif;
  11. font-size: 14px;
  12. }
  13. body {
  14. padding: 0;
  15. margin: 0;
  16. }
  17. /* Links */
  18. a.www:before {white-space:nowrap; content: url(../img/moin-www.png); margin: 0 0.2em;}
  19. a.http:before {white-space:nowrap; content: url(../img/moin-www.png); margin: 0 0.2em;}
  20. a.https:before {white-space:nowrap; content: url(../img/moin-www.png); margin: 0 0.2em;}
  21. a.file:before {white-space:nowrap; content: url(../img/moin-ftp.png); margin: 0 0.2em;}
  22. a.ftp:before {white-space:nowrap; content: url(../img/moin-ftp.png); margin: 0 0.2em;}
  23. a.nntp:before {white-space:nowrap; content: url(../img/moin-news.png); margin: 0 0.2em;}
  24. a.news:before {white-space:nowrap; content: url(../img/moin-news.png); margin: 0 0.2em;}
  25. a.telnet:before {white-space:nowrap; content: url(../img/moin-telnet.png); margin: 0 0.2em;}
  26. a.irc:before {white-space:nowrap; content: url(../img/moin-telnet.png); margin: 0 0.2em;}
  27. a.mailto:before {white-space:nowrap; content: url(../img/moin-email.png); margin: 0 0.2em;}
  28. a.attachment:before {white-space:nowrap; content: url(../img/moin-attach.png); margin: 0 0.2em;}
  29. a.badinterwiki:before {white-space:nowrap; content: url(../img/moin-inter.png); margin: 0 0.2em;}
  30. a.interwiki:before {white-space:nowrap; content: url(../img/moin-inter.png); margin: 0 0.2em;}
  31. li p {
  32. margin: .25em 0;
  33. }
  34. li.gap {
  35. margin-top: 0.5em;
  36. }
  37. dt {
  38. margin-top: 0.5em;
  39. font-weight: bold;
  40. }
  41. dd {
  42. margin-top: 0;
  43. margin-bottom: 0;
  44. }
  45. dd p {
  46. margin: 0.25em 0;
  47. }
  48. a, img, img.drawing {
  49. border: 0;
  50. }
  51. pre {
  52. border: 1pt dashed #797979;
  53. background-color: #F3F3F3;
  54. padding: 0.5em 1em;
  55. margin: 0.5em 0 0.5em 0;
  56. font-family: "DejaVu Sans Mono", "Liberation Mono", monospace;
  57. white-space: pre;
  58. /* begin css 3 or browser specific rules - do not remove!
  59. see: http://forums.techguy.org/archive/index.php/t-249849.html */
  60. white-space: pre-wrap;
  61. word-wrap: break-word;
  62. white-space: -moz-pre-wrap;
  63. white-space: -pre-wrap;
  64. white-space: -o-pre-wrap;
  65. /* end css 3 or browser specific rules */
  66. }
  67. div {
  68. margin:0;
  69. padding:0;
  70. }
  71. pre.comment {
  72. background-color: #CCCCCC;
  73. color: red;
  74. padding: 0;
  75. margin: 0;
  76. border: 0;
  77. }
  78. pre.comment:before {
  79. content: url(../img/attention.png);
  80. }
  81. table {
  82. margin: 0;
  83. margin-top: 0.5em;
  84. margin-bottom: 0.5em;
  85. border-collapse: collapse;
  86. }
  87. td {
  88. border: 1pt;
  89. border-style: solid;
  90. border-color: #ADB9CC;
  91. padding-top: 0.25em;
  92. padding-right: 0.5em;
  93. padding-bottom: 0.25em;
  94. padding-left: 0.5em;
  95. }
  96. td p {
  97. margin: 0;
  98. padding: 0;
  99. }
  100. /* TableOfContents macro */
  101. .table-of-contents {
  102. color: black;
  103. background: #fff url("../img/moin-toc-bg-blue.png") right repeat-y;
  104. border: 1px solid #CCCCCC;
  105. font-size: small;
  106. text-align:left;
  107. padding-bottom: 15px;
  108. margin: 0;
  109. width: 70%;
  110. }
  111. .table-of-contents ol { margin:0; margin-left:1em; list-style-type:decimal; }
  112. .table-of-contents ul { margin:0; list-style: url(../img/moin-ul.png); }
  113. .table-of-contents-heading { font-weight:bold; padding:0px; margin:10px;}
  114. .footnotes div {
  115. width: 5em;
  116. border-top: 1pt solid gray;
  117. }
  118. .footnotes ul {
  119. padding: 0 2em;
  120. margin: 0 0 1em;
  121. list-style: none;
  122. }
  123. .footnotes li {
  124. }
  125. .info {
  126. float:right;
  127. font-size: 0.7em;
  128. color: gray;
  129. }
  130. #pageinfo {
  131. margin: 20px 0 0 0;
  132. }
  133. .seperator {
  134. color: gray;
  135. }
  136. #pagebottom {clear: both;}
  137. /* standard rule ---- */
  138. hr {
  139. height: 1px;
  140. background-color: #9C9C9C;
  141. border: 0;
  142. }
  143. /* Custom Rules from ----- to ---------- */
  144. .hr1 {height: 2px;}
  145. .hr2 {height: 3px;}
  146. .hr3 {height: 4px;}
  147. .hr4 {height: 5px;}
  148. .hr5 {height: 6px;}
  149. .hr6 {height: 7px;}
  150. /* Replacement for deprecated html 3 <u> element and html 4 <strike> */
  151. .u {text-decoration: underline;}
  152. .strike {text-decoration: line-through;}
  153. /* Eye Catchers */
  154. .warning {
  155. color: red;
  156. }
  157. .error {
  158. color: red;
  159. }
  160. strong.highlight {
  161. background-color: #CCE0FF;
  162. padding: 1pt;
  163. }
  164. /* Recent Changes */
  165. .rcrss {
  166. float: right;
  167. margin: 0;
  168. }
  169. .recentchanges[dir="rtl"] .rcrss {
  170. float: left;
  171. }
  172. .recentchanges table {
  173. clear: both;
  174. border-width: 1px;
  175. border-style: solid;
  176. border-color: #EDEDED;
  177. }
  178. .recentchanges td {
  179. vertical-align: top;
  180. border-width: 1pt;
  181. border-style: solid;
  182. border-color: #E6EAF0;
  183. background: #F2F4F7;
  184. }
  185. .rcdaybreak td {
  186. background: #B8C5D9;
  187. border: none;
  188. }
  189. .rcdaybreak td a {
  190. font-size: 0.88em;
  191. }
  192. .rcicon1, .rcicon2 {
  193. text-align: center;
  194. }
  195. .rcpagelink {
  196. width: 33%;
  197. }
  198. .rctime {
  199. font-size: 0.88em;
  200. white-space: nowrap;
  201. }
  202. .rceditor {
  203. white-space: nowrap;
  204. font-size: 0.88em;
  205. }
  206. .rccomment {
  207. width: 50%;
  208. color: gray;
  209. font-size: 0.88em;
  210. }
  211. /* User Preferences */
  212. .userpref table, .userpref td {
  213. border: none;
  214. }
  215. /* CSS for new code_area markup used by Colorizer and ParserBase */
  216. div.codearea { /* the div makes the border */
  217. margin: 0.5em 0;
  218. padding: 0;
  219. border: 1pt solid #797979;
  220. background-color: #F3F3F3;
  221. color: black;
  222. }
  223. div.codearea pre { /* the pre has no border and is inside the div */
  224. margin: 0;
  225. padding: 10pt;
  226. border: none;
  227. }
  228. a.codenumbers { /* format of the line numbering link */
  229. margin: 0 10pt;
  230. font-size: 0.85em;
  231. color: gray;
  232. }
  233. /* Format of certain syntax spans */
  234. div.codearea pre span.LineNumber {color: gray;}
  235. div.codearea pre span.ID {color: #000000;}
  236. div.codearea pre span.Operator {color: #0000C0;}
  237. div.codearea pre span.Char {color: #004080;}
  238. div.codearea pre span.Comment {color: #008000;}
  239. div.codearea pre span.Number {color: #0080C0;}
  240. div.codearea pre span.String {color: #004080;}
  241. div.codearea pre span.SPChar {color: #0000C0;}
  242. div.codearea pre span.ResWord {color: #A00000;}
  243. div.codearea pre span.ConsWord {color: #008080; font-weight: bold;}
  244. div.codearea pre span.Error {color: #FF8080; border: solid 1.5pt #FF0000;}
  245. div.codearea pre span.ResWord2 {color: #0080ff; font-weight: bold;}
  246. div.codearea pre span.Special {color: #0000ff;}
  247. div.codearea pre span.Preprc {color: #803999;}
  248. /* Search results */
  249. .searchresults dt {
  250. margin-top: 1em;
  251. font-weight: normal;
  252. }
  253. .searchresults dd {
  254. font-size: 0.85em;
  255. }
  256. /* MonthCalendar css */
  257. /* Days without and with pages linked to them */
  258. a.cal-emptyday {
  259. color: #777777;
  260. text-align: center;
  261. }
  262. a.cal-usedday {
  263. color: #000000;
  264. font-weight: bold;
  265. text-align: center;
  266. }
  267. /* General stuff: workdays, weekend, today */
  268. td.cal-workday {
  269. background-color: #DDDDFF;
  270. text-align: center;
  271. }
  272. td.cal-weekend {
  273. background-color: #FFDDDD;
  274. text-align: center;
  275. }
  276. td.cal-today {
  277. background-color: #CCFFCC;
  278. border-style: solid;
  279. border-width: 2pt;
  280. text-align: center;
  281. }
  282. /* Invalid places on the monthly calendar sheet */
  283. td.cal-invalidday {
  284. background-color: #CCCCCC;
  285. }
  286. /* Links to prev/next month/year */
  287. a.cal-link {
  288. color: #000000;
  289. text-decoration: none;
  290. }
  291. th.cal-header {
  292. background-color: #DDBBFF;
  293. text-align: center;
  294. }
  295. /* For MonthCalendar mouseover info boxes */
  296. TABLE.tip {
  297. color: black;
  298. background-color: #FF8888;
  299. font-size: small;
  300. font-weight: normal;
  301. border-style: solid;
  302. border-width: 1px;
  303. }
  304. TH.tip {
  305. background-color: #FF4444;
  306. font-weight: bold;
  307. text-align: center;
  308. }
  309. TD.tip {
  310. text-align: left;
  311. }
  312. *[dir="rtl"] TD.tip {
  313. text-align: right;
  314. }
  315. /* End MonthCalendar stuff */