commonrtl.css 8.7 KB

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