commonrtl.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. /*
  2. | This file is part of the DITA Open Toolkit project.
  3. | See the accompanying license.txt file for applicable licenses.
  4. */
  5. /*
  6. | (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved.
  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. .linklistwithchild {
  81. margin-top: 1em;
  82. margin-right: 1.5em;
  83. margin-bottom: 1em;
  84. }
  85. .sublinklist {
  86. margin-top: 1em;
  87. margin-right: 1.5em;
  88. margin-bottom: 1em;
  89. }
  90. .relconcepts {
  91. margin-top: 1em;
  92. margin-bottom: 1em;
  93. }
  94. .reltasks {
  95. margin-top: 1em;
  96. margin-bottom: 1em;
  97. }
  98. .relref {
  99. margin-top: 1em;
  100. margin-bottom: 1em;
  101. }
  102. .relinfo {
  103. margin-top: 1em;
  104. margin-bottom: 1em;
  105. }
  106. .breadcrumb {
  107. font-size: smaller;
  108. margin-bottom: 1em;
  109. }
  110. dt.prereq {
  111. margin-right: 20px;
  112. }
  113. /* Set heading sizes, getting smaller for deeper nesting */
  114. .topictitle1 {
  115. margin-top: 0;
  116. margin-bottom: .1em;
  117. font-size: 1.34em;
  118. }
  119. .topictitle2 {
  120. margin-top: 1pc;
  121. margin-bottom: .45em;
  122. font-size: 1.17em;
  123. }
  124. .topictitle3 {
  125. margin-top: 1pc;
  126. margin-bottom: .17em;
  127. font-size: 1.17em;
  128. font-weight: bold;
  129. }
  130. .topictitle4 {
  131. margin-top: .83em;
  132. font-size: 1.17em;
  133. font-weight: bold;
  134. }
  135. .topictitle5 {
  136. font-size: 1.17em;
  137. font-weight: bold;
  138. }
  139. .topictitle6 {
  140. font-size: 1.17em;
  141. font-style: italic;
  142. }
  143. .sectiontitle {
  144. margin-top: 1em;
  145. margin-bottom: 0;
  146. color: black;
  147. font-size: 1.17em;
  148. font-weight: bold;
  149. }
  150. .section {
  151. margin-top: 1em;
  152. margin-bottom: 1em;
  153. }
  154. .example {
  155. margin-top: 1em;
  156. margin-bottom: 1em;
  157. }
  158. div.tasklabel {
  159. margin-top: 1em;
  160. margin-bottom: 1em;
  161. }
  162. h2.tasklabel,
  163. h3.tasklabel,
  164. h4.tasklabel,
  165. h5.tasklabel,
  166. h6.tasklabel {
  167. font-size: 100%;
  168. }
  169. /* All note formats have the same default presentation */
  170. .note {
  171. margin-top: 1em;
  172. margin-bottom: 1em;
  173. }
  174. .notetitle {
  175. font-weight: bold;
  176. }
  177. .notelisttitle {
  178. font-weight: bold;
  179. }
  180. .tip {
  181. margin-top: 1em;
  182. margin-bottom: 1em;
  183. }
  184. .tiptitle {
  185. font-weight: bold;
  186. }
  187. .fastpath {
  188. margin-top: 1em;
  189. margin-bottom: 1em;
  190. }
  191. .fastpathtitle {
  192. font-weight: bold;
  193. }
  194. .important {
  195. margin-top: 1em;
  196. margin-bottom: 1em;
  197. }
  198. .importanttitle {
  199. font-weight: bold;
  200. }
  201. .remember {
  202. margin-top: 1em;
  203. margin-bottom: 1em;
  204. }
  205. .remembertitle {
  206. font-weight: bold;
  207. }
  208. .restriction {
  209. margin-top: 1em;
  210. margin-bottom: 1em;
  211. }
  212. .restrictiontitle {
  213. font-weight: bold;
  214. }
  215. .attention {
  216. margin-top: 1em;
  217. margin-bottom: 1em;
  218. }
  219. .attentiontitle {
  220. font-weight: bold;
  221. }
  222. .dangertitle {
  223. font-weight: bold;
  224. }
  225. .danger {
  226. margin-top: 1em;
  227. margin-bottom: 1em;
  228. }
  229. .cautiontitle {
  230. font-weight: bold;
  231. }
  232. .caution {
  233. font-weight: bold;
  234. margin-bottom: 1em;
  235. }
  236. .warning {
  237. margin-top: 1em;
  238. margin-bottom: 1em;
  239. }
  240. .warningtitle {
  241. font-weight: bold;
  242. }
  243. /* Simple lists do not get a bullet */
  244. ul.simple {
  245. list-style-type: none;
  246. }
  247. /* Used on the first column of a table, when rowheader="firstcol" is used */
  248. .firstcol {
  249. font-weight: bold;
  250. }
  251. /* Various basic phrase styles */
  252. .bold {
  253. font-weight: bold;
  254. }
  255. .boldItalic {
  256. font-weight: bold;
  257. font-style: italic;
  258. }
  259. .italic {
  260. font-style: italic;
  261. }
  262. .underlined {
  263. text-decoration: underline;
  264. }
  265. .uicontrol {
  266. font-weight: bold;
  267. }
  268. .wintitle {
  269. font-weight: bold;
  270. }
  271. .parmname {
  272. font-weight: bold;
  273. }
  274. .kwd {
  275. font-weight: bold;
  276. }
  277. .defkwd {
  278. font-weight: bold;
  279. text-decoration: underline;
  280. }
  281. .var {
  282. font-style: italic;
  283. }
  284. .shortcut {
  285. text-decoration: underline;
  286. }
  287. /* Default of bold for definition list terms */
  288. .dlterm {
  289. font-weight: bold;
  290. }
  291. /* Use CSS to expand lists with @compact="no" */
  292. .dltermexpand {
  293. font-weight: bold;
  294. margin-top: 1em;
  295. }
  296. *[compact="yes"] > li {
  297. margin-top: 0;
  298. }
  299. *[compact="no"] > li {
  300. margin-top: .53em;
  301. }
  302. .liexpand {
  303. margin-top: 1em;
  304. margin-bottom: 1em;
  305. }
  306. .sliexpand {
  307. margin-top: 1em;
  308. margin-bottom: 1em;
  309. }
  310. .dlexpand {
  311. margin-top: 1em;
  312. margin-bottom: 1em;
  313. }
  314. .ddexpand {
  315. margin-top: 1em;
  316. margin-bottom: 1em;
  317. }
  318. .stepexpand {
  319. margin-top: 1em;
  320. margin-bottom: 1em;
  321. }
  322. .substepexpand {
  323. margin-top: 1em;
  324. margin-bottom: 1em;
  325. }
  326. /* Align images based on @align on topic/image */
  327. div.imageleft {
  328. text-align: left;
  329. }
  330. div.imagecenter {
  331. text-align: center;
  332. }
  333. div.imageright {
  334. text-align: right;
  335. }
  336. div.imagejustify {
  337. text-align: justify;
  338. }
  339. /* The cell border can be turned on with
  340. {border-right:solid}
  341. This value creates a very thick border in Firefox (does not match other tables)
  342. Firefox works with
  343. {border-right:solid 1pt}
  344. but this causes a barely visible line in IE */
  345. .cellrowborder {
  346. border-right: none;
  347. border-top: none;
  348. border-left: solid 1px;
  349. border-bottom: solid 1px;
  350. }
  351. .row-nocellborder {
  352. border-right: none;
  353. border-top: none;
  354. border-left: hidden;
  355. border-bottom: solid 1px;
  356. }
  357. .cell-norowborder {
  358. border-top: none;
  359. border-right: none;
  360. border-bottom: hidden;
  361. border-left: solid 1px;
  362. }
  363. .nocellnorowborder {
  364. border: none;
  365. border-left: hidden;
  366. border-bottom: hidden;
  367. }
  368. pre.screen {
  369. padding: 5px 5px 5px 5px;
  370. border: outset;
  371. background-color: #CCCCCC;
  372. margin-top: 2px;
  373. margin-bottom: 2px;
  374. white-space: pre;
  375. }
  376. span.filepath,
  377. samp.codeph,
  378. pre.codeblock {
  379. font-family: monospace;
  380. }