commonltr.css 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  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. .indexterm {
  262. background-color: #fdf;
  263. border: 1pt #000 solid;
  264. margin: 1pt;
  265. }
  266. /* Most link groups are created with <div>. Ensure they have space before and after. */
  267. .ullinks {
  268. list-style-type: none;
  269. }
  270. .ulchildlink {
  271. margin-bottom: 1em;
  272. margin-top: 1em;
  273. }
  274. .olchildlink {
  275. margin-bottom: 1em;
  276. margin-top: 1em;
  277. }
  278. .linklist {
  279. margin-bottom: 1em;
  280. }
  281. ul.linklist {
  282. margin-top: 0;
  283. list-style-type: none;
  284. padding-left: 0;
  285. }
  286. li.linklist {
  287. margin-top: 0;
  288. margin-bottom: 0;
  289. }
  290. .linklistwithchild {
  291. margin-bottom: 1em;
  292. margin-left: 1.5em;
  293. }
  294. .sublinklist {
  295. margin-bottom: 1em;
  296. margin-left: 1.5em;
  297. }
  298. .relconcepts {
  299. margin-bottom: 1em;
  300. margin-top: 1em;
  301. }
  302. .reltasks {
  303. margin-bottom: 1em;
  304. margin-top: 1em;
  305. }
  306. .relref {
  307. margin-bottom: 1em;
  308. margin-top: 1em;
  309. }
  310. .relinfo {
  311. margin-bottom: 1em;
  312. margin-top: 1em;
  313. }
  314. .breadcrumb {
  315. font-size: smaller;
  316. margin-bottom: 1em;
  317. }
  318. /* Simple lists do not get a bullet */
  319. ul.simple {
  320. list-style-type: none;
  321. }
  322. /* Default of bold for definition list terms */
  323. .dlterm {
  324. font-weight: bold;
  325. }
  326. /* Use CSS to expand lists with @compact="no" */
  327. .dltermexpand {
  328. font-weight: bold;
  329. margin-top: 1em;
  330. }
  331. *[compact="yes"] > li {
  332. margin-top: 0;
  333. }
  334. *[compact="no"] > li {
  335. margin-top: 0.53em;
  336. }
  337. .liexpand {
  338. margin-bottom: 1em;
  339. margin-top: 1em;
  340. }
  341. .sliexpand {
  342. margin-bottom: 1em;
  343. margin-top: 1em;
  344. }
  345. .dlexpand {
  346. margin-bottom: 1em;
  347. margin-top: 1em;
  348. }
  349. .ddexpand {
  350. margin-bottom: 1em;
  351. margin-top: 1em;
  352. }
  353. .stepexpand {
  354. margin-bottom: 1em;
  355. margin-top: 1em;
  356. }
  357. .substepexpand {
  358. margin-bottom: 1em;
  359. margin-top: 1em;
  360. }
  361. dt.prereq {
  362. margin-left: 20px;
  363. }
  364. /* All note formats have the same default presentation */
  365. .note {
  366. margin-bottom: 1em;
  367. margin-top: 1em;
  368. }
  369. .note .notetitle, .note .notelisttitle,
  370. .note .note__title {
  371. font-weight: bold;
  372. }
  373. /* Various basic phrase styles */
  374. .bold {
  375. font-weight: bold;
  376. }
  377. .bolditalic {
  378. font-style: italic;
  379. font-weight: bold;
  380. }
  381. .italic {
  382. font-style: italic;
  383. }
  384. .underlined {
  385. text-decoration: underline;
  386. }
  387. .uicontrol {
  388. font-weight: bold;
  389. }
  390. .defkwd {
  391. font-weight: bold;
  392. text-decoration: underline;
  393. }
  394. .shortcut {
  395. text-decoration: underline;
  396. }
  397. .menucascade > abbr {
  398. text-decoration: none;
  399. }
  400. table {
  401. border-collapse: collapse;
  402. }
  403. table .desc {
  404. display: block;
  405. font-style: italic;
  406. }
  407. .cellrowborder {
  408. border-bottom: solid 1px;
  409. border-left: 0;
  410. border-right: solid 1px;
  411. border-top: 0;
  412. }
  413. .row-nocellborder {
  414. border-bottom: solid 1px;
  415. border-left: 0;
  416. border-top: 0;
  417. }
  418. .cell-norowborder {
  419. border-left: 0;
  420. border-right: solid 1px;
  421. border-top: 0;
  422. }
  423. .nocellnorowborder {
  424. border: 0;
  425. }
  426. .firstcol {
  427. font-weight: bold;
  428. }
  429. .table--pgwide-1 {
  430. width: 100%;
  431. }
  432. .align-left {
  433. text-align: left;
  434. }
  435. .align-right {
  436. text-align: right;
  437. }
  438. .align-center {
  439. text-align: center;
  440. }
  441. .align-justify {
  442. text-align: justify;
  443. }
  444. .align-char {
  445. text-align: char;
  446. }
  447. .valign-top {
  448. vertical-align: top;
  449. }
  450. .valign-bottom {
  451. vertical-align: bottom;
  452. }
  453. .valign-middle {
  454. vertical-align: middle;
  455. }
  456. .colsep-0 {
  457. border-right: 0;
  458. }
  459. .colsep-1 {
  460. border-right: 1px solid;
  461. }
  462. .rowsep-0 {
  463. border-bottom: 0;
  464. }
  465. .rowsep-1 {
  466. border-bottom: 1px solid;
  467. }
  468. .stentry {
  469. border-right: 1px solid;
  470. border-bottom: 1px solid;
  471. }
  472. .stentry:last-child {
  473. border-right: 0;
  474. }
  475. .strow:last-child .stentry {
  476. border-bottom: 0;
  477. }
  478. /* Add space for top level topics */
  479. .nested0 {
  480. margin-top: 1em;
  481. }
  482. /* div with class=p is used for paragraphs that contain blocks, to keep the XHTML valid */
  483. .p {
  484. margin-top: 1em;
  485. }