commonrtl.css 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592
  1. /*!
  2. * This file is part of the DITA Open Toolkit project. See the accompanying LICENSE.md file for applicable licenses.
  3. */
  4. /*
  5. | (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved.
  6. */
  7. .codeblock {
  8. font-family: monospace;
  9. }
  10. .codeph {
  11. font-family: monospace;
  12. }
  13. .kwd {
  14. font-weight: bold;
  15. }
  16. .parmname {
  17. font-weight: bold;
  18. }
  19. .var {
  20. font-style: italic;
  21. }
  22. .filepath {
  23. font-family: monospace;
  24. }
  25. div.tasklabel {
  26. margin-top: 1em;
  27. margin-bottom: 1em;
  28. }
  29. h2.tasklabel,
  30. h3.tasklabel,
  31. h4.tasklabel,
  32. h5.tasklabel,
  33. h6.tasklabel {
  34. font-size: 100%;
  35. }
  36. .screen {
  37. padding: 5px 5px 5px 5px;
  38. border: outset;
  39. background-color: #CCCCCC;
  40. margin-top: 2px;
  41. margin-bottom: 2px;
  42. white-space: pre;
  43. }
  44. .wintitle {
  45. font-weight: bold;
  46. }
  47. .numcharref {
  48. color: #663399;
  49. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  50. }
  51. .parameterentity {
  52. color: #663399;
  53. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  54. }
  55. .textentity {
  56. color: #663399;
  57. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  58. }
  59. .xmlatt {
  60. color: #663399;
  61. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  62. }
  63. .xmlelement {
  64. color: #663399;
  65. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  66. }
  67. .xmlnsname {
  68. color: #663399;
  69. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  70. }
  71. .xmlpi {
  72. color: #663399;
  73. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  74. }
  75. .frame-top {
  76. border-top: solid 1px;
  77. border-right: 0;
  78. border-bottom: 0;
  79. border-left: 0;
  80. }
  81. .frame-bottom {
  82. border-top: 0;
  83. border-right: 0;
  84. border-bottom: solid 1px;
  85. border-left: 0;
  86. }
  87. .frame-topbot {
  88. border-top: solid 1px;
  89. border-right: 0;
  90. border-bottom: solid 1px;
  91. border-left: 0;
  92. }
  93. .frame-all {
  94. border: solid 1px;
  95. }
  96. .frame-sides {
  97. border-top: 0;
  98. border-left: solid 1px;
  99. border-right: solid 1px;
  100. border-bottom: 0;
  101. }
  102. .frame-none {
  103. border: 0;
  104. }
  105. .scale-50 {
  106. font-size: 50%;
  107. }
  108. .scale-60 {
  109. font-size: 60%;
  110. }
  111. .scale-70 {
  112. font-size: 70%;
  113. }
  114. .scale-80 {
  115. font-size: 80%;
  116. }
  117. .scale-90 {
  118. font-size: 90%;
  119. }
  120. .scale-100 {
  121. font-size: 100%;
  122. }
  123. .scale-110 {
  124. font-size: 110%;
  125. }
  126. .scale-120 {
  127. font-size: 120%;
  128. }
  129. .scale-140 {
  130. font-size: 140%;
  131. }
  132. .scale-160 {
  133. font-size: 160%;
  134. }
  135. .scale-180 {
  136. font-size: 180%;
  137. }
  138. .scale-200 {
  139. font-size: 200%;
  140. }
  141. .expanse-page, .expanse-spread {
  142. width: 100%;
  143. }
  144. .fig {
  145. /* Default of italics to set apart figure captions */
  146. /* Use @frame to create frames on figures */
  147. }
  148. .figcap {
  149. font-style: italic;
  150. }
  151. .figdesc {
  152. font-style: normal;
  153. }
  154. .figborder {
  155. border-color: Silver;
  156. border-style: solid;
  157. border-width: 2px;
  158. margin-top: 1em;
  159. padding-left: 3px;
  160. padding-right: 3px;
  161. }
  162. .figsides {
  163. border-color: Silver;
  164. border-left: 2px solid;
  165. border-right: 2px solid;
  166. margin-top: 1em;
  167. padding-left: 3px;
  168. padding-right: 3px;
  169. }
  170. .figtop {
  171. border-color: Silver;
  172. border-top: 2px solid;
  173. margin-top: 1em;
  174. }
  175. .figbottom {
  176. border-bottom: 2px solid;
  177. border-color: Silver;
  178. }
  179. .figtopbot {
  180. border-bottom: 2px solid;
  181. border-color: Silver;
  182. border-top: 2px solid;
  183. margin-top: 1em;
  184. }
  185. /* Align images based on @align on topic/image */
  186. div.imageleft {
  187. text-align: left;
  188. }
  189. div.imagecenter {
  190. text-align: center;
  191. }
  192. div.imageright {
  193. text-align: right;
  194. }
  195. div.imagejustify {
  196. text-align: justify;
  197. }
  198. /* Set heading sizes, getting smaller for deeper nesting */
  199. .topictitle1 {
  200. font-size: 1.34em;
  201. margin-bottom: 0.1em;
  202. margin-top: 0;
  203. }
  204. .topictitle2 {
  205. font-size: 1.17em;
  206. margin-bottom: 0.45em;
  207. margin-top: 1pc;
  208. }
  209. .topictitle3 {
  210. font-size: 1.17em;
  211. font-weight: bold;
  212. margin-bottom: 0.17em;
  213. margin-top: 1pc;
  214. }
  215. .topictitle4 {
  216. font-size: 1.17em;
  217. font-weight: bold;
  218. margin-top: 0.83em;
  219. }
  220. .topictitle5 {
  221. font-size: 1.17em;
  222. font-weight: bold;
  223. }
  224. .topictitle6 {
  225. font-size: 1.17em;
  226. font-style: italic;
  227. }
  228. .sectiontitle {
  229. color: #000;
  230. font-size: 1.17em;
  231. font-weight: bold;
  232. margin-bottom: 0;
  233. margin-top: 1em;
  234. }
  235. .section {
  236. margin-bottom: 1em;
  237. margin-top: 1em;
  238. }
  239. .example {
  240. margin-bottom: 1em;
  241. margin-top: 1em;
  242. }
  243. /* Most link groups are created with <div>. Ensure they have space before and after. */
  244. .ullinks {
  245. list-style-type: none;
  246. }
  247. .ulchildlink {
  248. margin-bottom: 1em;
  249. margin-top: 1em;
  250. }
  251. .olchildlink {
  252. margin-bottom: 1em;
  253. margin-top: 1em;
  254. }
  255. .linklist {
  256. margin-bottom: 1em;
  257. }
  258. .linklistwithchild {
  259. margin-bottom: 1em;
  260. margin-left: 1.5em;
  261. }
  262. .sublinklist {
  263. margin-bottom: 1em;
  264. margin-left: 1.5em;
  265. }
  266. .relconcepts {
  267. margin-bottom: 1em;
  268. margin-top: 1em;
  269. }
  270. .reltasks {
  271. margin-bottom: 1em;
  272. margin-top: 1em;
  273. }
  274. .relref {
  275. margin-bottom: 1em;
  276. margin-top: 1em;
  277. }
  278. .relinfo {
  279. margin-bottom: 1em;
  280. margin-top: 1em;
  281. }
  282. .breadcrumb {
  283. font-size: smaller;
  284. margin-bottom: 1em;
  285. }
  286. /* Simple lists do not get a bullet */
  287. ul.simple {
  288. list-style-type: none;
  289. }
  290. /* Default of bold for definition list terms */
  291. .dlterm {
  292. font-weight: bold;
  293. }
  294. /* Use CSS to expand lists with @compact="no" */
  295. .dltermexpand {
  296. font-weight: bold;
  297. margin-top: 1em;
  298. }
  299. *[compact="yes"] > li {
  300. margin-top: 0;
  301. }
  302. *[compact="no"] > li {
  303. margin-top: 0.53em;
  304. }
  305. .liexpand {
  306. margin-bottom: 1em;
  307. margin-top: 1em;
  308. }
  309. .sliexpand {
  310. margin-bottom: 1em;
  311. margin-top: 1em;
  312. }
  313. .dlexpand {
  314. margin-bottom: 1em;
  315. margin-top: 1em;
  316. }
  317. .ddexpand {
  318. margin-bottom: 1em;
  319. margin-top: 1em;
  320. }
  321. .stepexpand {
  322. margin-bottom: 1em;
  323. margin-top: 1em;
  324. }
  325. .substepexpand {
  326. margin-bottom: 1em;
  327. margin-top: 1em;
  328. }
  329. dt.prereq {
  330. margin-left: 20px;
  331. }
  332. /* All note formats have the same default presentation */
  333. .note {
  334. margin-bottom: 1em;
  335. margin-top: 1em;
  336. }
  337. .note .notetitle, .note .notelisttitle,
  338. .note .note__title {
  339. font-weight: bold;
  340. }
  341. /* Various basic phrase styles */
  342. .bold {
  343. font-weight: bold;
  344. }
  345. .bolditalic {
  346. font-style: italic;
  347. font-weight: bold;
  348. }
  349. .italic {
  350. font-style: italic;
  351. }
  352. .underlined {
  353. text-decoration: underline;
  354. }
  355. .uicontrol {
  356. font-weight: bold;
  357. }
  358. .defkwd {
  359. font-weight: bold;
  360. text-decoration: underline;
  361. }
  362. .shortcut {
  363. text-decoration: underline;
  364. }
  365. table {
  366. border-collapse: collapse;
  367. }
  368. table .desc {
  369. display: block;
  370. font-style: italic;
  371. }
  372. .cellrowborder {
  373. border-bottom: solid 1px;
  374. border-left: 0;
  375. border-right: solid 1px;
  376. border-top: 0;
  377. }
  378. .row-nocellborder {
  379. border-bottom: solid 1px;
  380. border-left: 0;
  381. border-top: 0;
  382. }
  383. .cell-norowborder {
  384. border-left: 0;
  385. border-right: solid 1px;
  386. border-top: 0;
  387. }
  388. .nocellnorowborder {
  389. border: 0;
  390. }
  391. .firstcol {
  392. font-weight: bold;
  393. }
  394. .table--pgwide-1 {
  395. width: 100%;
  396. }
  397. .align-left {
  398. text-align: left;
  399. }
  400. .align-right {
  401. text-align: right;
  402. }
  403. .align-center {
  404. text-align: center;
  405. }
  406. .align-justify {
  407. text-align: justify;
  408. }
  409. .align-char {
  410. text-align: char;
  411. }
  412. .valign-top {
  413. vertical-align: top;
  414. }
  415. .valign-bottom {
  416. vertical-align: bottom;
  417. }
  418. .valign-middle {
  419. vertical-align: middle;
  420. }
  421. .colsep-0 {
  422. border-right: 0;
  423. }
  424. .colsep-1 {
  425. border-right: 1px solid;
  426. }
  427. .rowsep-0 {
  428. border-bottom: 0;
  429. }
  430. .rowsep-1 {
  431. border-bottom: 1px solid;
  432. }
  433. .stentry {
  434. border-right: 1px solid;
  435. border-bottom: 1px solid;
  436. }
  437. .stentry:last-child {
  438. border-right: 0;
  439. }
  440. .strow:last-child .stentry {
  441. border-bottom: 0;
  442. }
  443. /* Add space for top level topics */
  444. .nested0 {
  445. margin-top: 1em;
  446. }
  447. /* div with class=p is used for paragraphs that contain blocks, to keep the XHTML valid */
  448. .p {
  449. margin-top: 1em;
  450. }
  451. .linklist {
  452. margin-bottom: 1em;
  453. }
  454. .linklistwithchild {
  455. margin-right: 1.5em;
  456. margin-top: 1em;
  457. }
  458. .sublinklist {
  459. margin-right: 1.5em;
  460. margin-top: 1em;
  461. }
  462. dt.prereq {
  463. margin-right: 20px;
  464. }
  465. .cellrowborder {
  466. border-left: solid 1px;
  467. border-right: none;
  468. }
  469. .row-nocellborder {
  470. border-left: hidden;
  471. border-right: none;
  472. }
  473. .cell-norowborder {
  474. border-left: solid 1px;
  475. border-right: none;
  476. }
  477. .nocellnorowborder {
  478. border-left: hidden;
  479. }