commonltr.css 7.9 KB

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