commonrtl.css 8.1 KB

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