commonrtl.css 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  1. /*
  2. | This file is part of the DITA Open Toolkit project.
  3. | See the accompanying LICENSE file for applicable license.
  4. */
  5. /*
  6. | (c) Copyright 2004, 2005 IBM Corporation
  7. */
  8. .unresolved {
  9. background-color: skyblue;
  10. }
  11. .noTemplate {
  12. background-color: yellow;
  13. }
  14. .base {
  15. background-color: #ffffff;
  16. }
  17. /* Add space for top level topics */
  18. .nested0 {
  19. margin-top: 1em;
  20. }
  21. /* div with class=p is used for paragraphs that contain blocks, to keep the XHTML valid */
  22. .p {
  23. margin-top: 1em;
  24. }
  25. /* Default of italics to set apart figure captions */
  26. .figcap {
  27. font-style: italic;
  28. }
  29. .figdesc {
  30. font-style: normal;
  31. }
  32. /* Use @frame to create frames on figures */
  33. .figborder {
  34. border-style: solid;
  35. padding-left: 3px;
  36. border-width: 2px;
  37. padding-right: 3px;
  38. margin-top: 1em;
  39. border-color: Silver;
  40. }
  41. .figsides {
  42. border-left: 2px solid;
  43. padding-left: 3px;
  44. border-right: 2px solid;
  45. padding-right: 3px;
  46. margin-top: 1em;
  47. border-color: Silver;
  48. }
  49. .figtop {
  50. border-top: 2px solid;
  51. margin-top: 1em;
  52. border-color: Silver;
  53. }
  54. .figbottom {
  55. border-bottom: 2px solid;
  56. border-color: Silver;
  57. }
  58. .figtopbot {
  59. border-top: 2px solid;
  60. border-bottom: 2px solid;
  61. margin-top: 1em;
  62. border-color: Silver;
  63. }
  64. /* Most link groups are created with <div>. Ensure they have space before and after. */
  65. .ullinks {
  66. list-style-type: none;
  67. }
  68. .ulchildlink {
  69. margin-top: 1em;
  70. margin-bottom: 1em;
  71. }
  72. .olchildlink {
  73. margin-top: 1em;
  74. margin-bottom: 1em;
  75. }
  76. .linklist {
  77. margin-top: 1em;
  78. margin-bottom: 1em;
  79. }
  80. ul.linklist {
  81. margin-top: 0;
  82. list-style-type: none;
  83. padding-right: 0;
  84. }
  85. li.linklist {
  86. margin-top: 0;
  87. margin-bottom: 0;
  88. }
  89. .linklistwithchild {
  90. margin-top: 1em;
  91. margin-right: 1.5em;
  92. margin-bottom: 1em;
  93. }
  94. .sublinklist {
  95. margin-top: 1em;
  96. margin-right: 1.5em;
  97. margin-bottom: 1em;
  98. }
  99. .relconcepts {
  100. margin-top: 1em;
  101. margin-bottom: 1em;
  102. }
  103. .reltasks {
  104. margin-top: 1em;
  105. margin-bottom: 1em;
  106. }
  107. .relref {
  108. margin-top: 1em;
  109. margin-bottom: 1em;
  110. }
  111. .relinfo {
  112. margin-top: 1em;
  113. margin-bottom: 1em;
  114. }
  115. .breadcrumb {
  116. font-size: smaller;
  117. margin-bottom: 1em;
  118. }
  119. dt.prereq {
  120. margin-right: 20px;
  121. }
  122. /* Set heading sizes, getting smaller for deeper nesting */
  123. .topictitle1 {
  124. margin-top: 0;
  125. margin-bottom: .1em;
  126. font-size: 1.34em;
  127. }
  128. .topictitle2 {
  129. margin-top: 1pc;
  130. margin-bottom: .45em;
  131. font-size: 1.17em;
  132. }
  133. .topictitle3 {
  134. margin-top: 1pc;
  135. margin-bottom: .17em;
  136. font-size: 1.17em;
  137. font-weight: bold;
  138. }
  139. .topictitle4 {
  140. margin-top: .83em;
  141. font-size: 1.17em;
  142. font-weight: bold;
  143. }
  144. .topictitle5 {
  145. font-size: 1.17em;
  146. font-weight: bold;
  147. }
  148. .topictitle6 {
  149. font-size: 1.17em;
  150. font-style: italic;
  151. }
  152. .sectiontitle {
  153. margin-top: 1em;
  154. margin-bottom: 0;
  155. color: black;
  156. font-size: 1.17em;
  157. font-weight: bold;
  158. }
  159. .section {
  160. margin-top: 1em;
  161. margin-bottom: 1em;
  162. }
  163. .example {
  164. margin-top: 1em;
  165. margin-bottom: 1em;
  166. }
  167. div.tasklabel {
  168. margin-top: 1em;
  169. margin-bottom: 1em;
  170. }
  171. h2.tasklabel,
  172. h3.tasklabel,
  173. h4.tasklabel,
  174. h5.tasklabel,
  175. h6.tasklabel {
  176. font-size: 100%;
  177. }
  178. /* All note formats have the same default presentation */
  179. .note {
  180. margin-top: 1em;
  181. margin-bottom: 1em;
  182. }
  183. .notetitle {
  184. font-weight: bold;
  185. }
  186. .notelisttitle {
  187. font-weight: bold;
  188. }
  189. .tip {
  190. margin-top: 1em;
  191. margin-bottom: 1em;
  192. }
  193. .tiptitle {
  194. font-weight: bold;
  195. }
  196. .fastpath {
  197. margin-top: 1em;
  198. margin-bottom: 1em;
  199. }
  200. .fastpathtitle {
  201. font-weight: bold;
  202. }
  203. .important {
  204. margin-top: 1em;
  205. margin-bottom: 1em;
  206. }
  207. .importanttitle {
  208. font-weight: bold;
  209. }
  210. .remember {
  211. margin-top: 1em;
  212. margin-bottom: 1em;
  213. }
  214. .remembertitle {
  215. font-weight: bold;
  216. }
  217. .restriction {
  218. margin-top: 1em;
  219. margin-bottom: 1em;
  220. }
  221. .restrictiontitle {
  222. font-weight: bold;
  223. }
  224. .attention {
  225. margin-top: 1em;
  226. margin-bottom: 1em;
  227. }
  228. .attentiontitle {
  229. font-weight: bold;
  230. }
  231. .dangertitle {
  232. font-weight: bold;
  233. }
  234. .danger {
  235. margin-top: 1em;
  236. margin-bottom: 1em;
  237. }
  238. .cautiontitle {
  239. font-weight: bold;
  240. }
  241. .caution {
  242. font-weight: bold;
  243. margin-bottom: 1em;
  244. }
  245. .warning {
  246. margin-top: 1em;
  247. margin-bottom: 1em;
  248. }
  249. .warningtitle {
  250. font-weight: bold;
  251. }
  252. .hazardstatement td,
  253. .hazardstatement th {
  254. padding: 0.5rem;
  255. }
  256. .hazardstatement th {
  257. text-align: center;
  258. text-transform: uppercase;
  259. }
  260. .hazardstatement--caution {
  261. background-color: #ffd100;
  262. }
  263. .hazardstatement--danger {
  264. background-color: #c8102e;
  265. color: #fff;
  266. }
  267. .hazardstatement--warning {
  268. background-color: #ff8200;
  269. }
  270. .hazardstatement--attention, .hazardstatement--fastpath, .hazardstatement--important, .hazardstatement--note, .hazardstatement--notice, .hazardstatement--other, .hazardstatement--remember, .hazardstatement--restriction, .hazardstatement--tip {
  271. background-color: #0072ce;
  272. color: #fff;
  273. font-style: italic;
  274. }
  275. /* Simple lists do not get a bullet */
  276. ul.simple {
  277. list-style-type: none;
  278. }
  279. /* Used on the first column of a table, when rowheader="firstcol" is used */
  280. .firstcol {
  281. font-weight: bold;
  282. }
  283. /* Various basic phrase styles */
  284. .bold {
  285. font-weight: bold;
  286. }
  287. .boldItalic {
  288. font-weight: bold;
  289. font-style: italic;
  290. }
  291. .italic {
  292. font-style: italic;
  293. }
  294. .underlined {
  295. text-decoration: underline;
  296. }
  297. .uicontrol {
  298. font-weight: bold;
  299. }
  300. .wintitle {
  301. font-weight: bold;
  302. }
  303. .parmname {
  304. font-weight: bold;
  305. }
  306. .kwd {
  307. font-weight: bold;
  308. }
  309. .defkwd {
  310. font-weight: bold;
  311. text-decoration: underline;
  312. }
  313. .var {
  314. font-style: italic;
  315. }
  316. .shortcut {
  317. text-decoration: underline;
  318. }
  319. .menucascade > abbr {
  320. text-decoration: none;
  321. }
  322. /* Default of bold for definition list terms */
  323. .dlterm {
  324. font-weight: bold;
  325. }
  326. /* Use CSS to expand lists with @compact="no" */
  327. .dltermexpand {
  328. font-weight: bold;
  329. margin-top: 1em;
  330. }
  331. *[compact="yes"] > li {
  332. margin-top: 0;
  333. }
  334. *[compact="no"] > li {
  335. margin-top: .53em;
  336. }
  337. .liexpand {
  338. margin-top: 1em;
  339. margin-bottom: 1em;
  340. }
  341. .sliexpand {
  342. margin-top: 1em;
  343. margin-bottom: 1em;
  344. }
  345. .dlexpand {
  346. margin-top: 1em;
  347. margin-bottom: 1em;
  348. }
  349. .ddexpand {
  350. margin-top: 1em;
  351. margin-bottom: 1em;
  352. }
  353. .stepexpand {
  354. margin-top: 1em;
  355. margin-bottom: 1em;
  356. }
  357. .substepexpand {
  358. margin-top: 1em;
  359. margin-bottom: 1em;
  360. }
  361. /* Align images based on @align on topic/image */
  362. div.imageleft {
  363. text-align: left;
  364. }
  365. div.imagecenter {
  366. text-align: center;
  367. }
  368. div.imageright {
  369. text-align: right;
  370. }
  371. div.imagejustify {
  372. text-align: justify;
  373. }
  374. /* The cell border can be turned on with
  375. {border-right:solid}
  376. This value creates a very thick border in Firefox (does not match other tables)
  377. Firefox works with
  378. {border-right:solid 1pt}
  379. but this causes a barely visible line in IE */
  380. .cellrowborder {
  381. border-right: none;
  382. border-top: none;
  383. border-left: solid 1px;
  384. border-bottom: solid 1px;
  385. }
  386. .row-nocellborder {
  387. border-right: none;
  388. border-top: none;
  389. border-left: hidden;
  390. border-bottom: solid 1px;
  391. }
  392. .cell-norowborder {
  393. border-top: none;
  394. border-right: none;
  395. border-bottom: hidden;
  396. border-left: solid 1px;
  397. }
  398. .nocellnorowborder {
  399. border: none;
  400. border-left: hidden;
  401. border-bottom: hidden;
  402. }
  403. pre.screen {
  404. padding: 5px 5px 5px 5px;
  405. border: outset;
  406. background-color: #CCCCCC;
  407. margin-top: 2px;
  408. margin-bottom: 2px;
  409. white-space: pre;
  410. }
  411. span.filepath,
  412. samp.codeph,
  413. pre.codeblock {
  414. font-family: monospace;
  415. }