commonltr.css 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  1. /*
  2. | This file is part of the DITA Open Toolkit project.
  3. | See the accompanying LICENSE file for applicable license.
  4. */
  5. /*
  6. | (c) Copyright 2004, 2005 IBM Corporation
  7. */
  8. .unresolved {
  9. background-color: skyblue;
  10. }
  11. .noTemplate {
  12. background-color: yellow;
  13. }
  14. .base {
  15. background-color: #ffffff;
  16. }
  17. /* Add space for top level topics */
  18. .nested0 {
  19. margin-top: 1em;
  20. }
  21. /* div with class=p is used for paragraphs that contain blocks, to keep the XHTML valid */
  22. .p {
  23. margin-top: 1em;
  24. }
  25. /* Default of italics to set apart figure captions */
  26. .figcap {
  27. font-style: italic;
  28. }
  29. .figdesc {
  30. font-style: normal;
  31. }
  32. /* Use @frame to create frames on figures */
  33. .figborder {
  34. border-style: solid;
  35. padding-left: 3px;
  36. border-width: 2px;
  37. padding-right: 3px;
  38. margin-top: 1em;
  39. border-color: Silver;
  40. }
  41. .figsides {
  42. border-left: 2px solid;
  43. padding-left: 3px;
  44. border-right: 2px solid;
  45. padding-right: 3px;
  46. margin-top: 1em;
  47. border-color: Silver;
  48. }
  49. .figtop {
  50. border-top: 2px solid;
  51. margin-top: 1em;
  52. border-color: Silver;
  53. }
  54. .figbottom {
  55. border-bottom: 2px solid;
  56. border-color: Silver;
  57. }
  58. .figtopbot {
  59. border-top: 2px solid;
  60. border-bottom: 2px solid;
  61. margin-top: 1em;
  62. border-color: Silver;
  63. }
  64. /* Most link groups are created with <div>. Ensure they have space before and after. */
  65. .ullinks {
  66. list-style-type: none;
  67. }
  68. .ulchildlink {
  69. margin-top: 1em;
  70. margin-bottom: 1em;
  71. }
  72. .olchildlink {
  73. margin-top: 1em;
  74. margin-bottom: 1em;
  75. }
  76. .linklist {
  77. margin-bottom: 1em;
  78. }
  79. ul.linklist {
  80. margin-top: 0;
  81. list-style-type: none;
  82. padding-left: 0;
  83. }
  84. li.linklist {
  85. margin-top: 0;
  86. margin-bottom: 0;
  87. }
  88. .linklistwithchild {
  89. margin-left: 1.5em;
  90. margin-bottom: 1em;
  91. }
  92. .sublinklist {
  93. margin-left: 1.5em;
  94. margin-bottom: 1em;
  95. }
  96. .relconcepts {
  97. margin-top: 1em;
  98. margin-bottom: 1em;
  99. }
  100. .reltasks {
  101. margin-top: 1em;
  102. margin-bottom: 1em;
  103. }
  104. .relref {
  105. margin-top: 1em;
  106. margin-bottom: 1em;
  107. }
  108. .relinfo {
  109. margin-top: 1em;
  110. margin-bottom: 1em;
  111. }
  112. .breadcrumb {
  113. font-size: smaller;
  114. margin-bottom: 1em;
  115. }
  116. dt.prereq {
  117. margin-left: 20px;
  118. }
  119. /* Set heading sizes, getting smaller for deeper nesting */
  120. .topictitle1 {
  121. margin-top: 0;
  122. margin-bottom: .1em;
  123. font-size: 1.34em;
  124. }
  125. .topictitle2 {
  126. margin-top: 1pc;
  127. margin-bottom: .45em;
  128. font-size: 1.17em;
  129. }
  130. .topictitle3 {
  131. margin-top: 1pc;
  132. margin-bottom: .17em;
  133. font-size: 1.17em;
  134. font-weight: bold;
  135. }
  136. .topictitle4 {
  137. margin-top: .83em;
  138. font-size: 1.17em;
  139. font-weight: bold;
  140. }
  141. .topictitle5 {
  142. font-size: 1.17em;
  143. font-weight: bold;
  144. }
  145. .topictitle6 {
  146. font-size: 1.17em;
  147. font-style: italic;
  148. }
  149. .sectiontitle {
  150. margin-top: 1em;
  151. margin-bottom: 0;
  152. color: black;
  153. font-size: 1.17em;
  154. font-weight: bold;
  155. }
  156. .section {
  157. margin-top: 1em;
  158. margin-bottom: 1em;
  159. }
  160. .example {
  161. margin-top: 1em;
  162. margin-bottom: 1em;
  163. }
  164. div.tasklabel {
  165. margin-top: 1em;
  166. margin-bottom: 1em;
  167. }
  168. h2.tasklabel,
  169. h3.tasklabel,
  170. h4.tasklabel,
  171. h5.tasklabel,
  172. h6.tasklabel {
  173. font-size: 100%;
  174. }
  175. /* All note formats have the same default presentation */
  176. .note {
  177. margin-top: 1em;
  178. margin-bottom: 1em;
  179. }
  180. .notetitle {
  181. font-weight: bold;
  182. }
  183. .notelisttitle {
  184. font-weight: bold;
  185. }
  186. .tip {
  187. margin-top: 1em;
  188. margin-bottom: 1em;
  189. }
  190. .tiptitle {
  191. font-weight: bold;
  192. }
  193. .fastpath {
  194. margin-top: 1em;
  195. margin-bottom: 1em;
  196. }
  197. .fastpathtitle {
  198. font-weight: bold;
  199. }
  200. .important {
  201. margin-top: 1em;
  202. margin-bottom: 1em;
  203. }
  204. .importanttitle {
  205. font-weight: bold;
  206. }
  207. .remember {
  208. margin-top: 1em;
  209. margin-bottom: 1em;
  210. }
  211. .remembertitle {
  212. font-weight: bold;
  213. }
  214. .restriction {
  215. margin-top: 1em;
  216. margin-bottom: 1em;
  217. }
  218. .restrictiontitle {
  219. font-weight: bold;
  220. }
  221. .attention {
  222. margin-top: 1em;
  223. margin-bottom: 1em;
  224. }
  225. .attentiontitle {
  226. font-weight: bold;
  227. }
  228. .dangertitle {
  229. font-weight: bold;
  230. }
  231. .danger {
  232. margin-top: 1em;
  233. margin-bottom: 1em;
  234. }
  235. .cautiontitle {
  236. font-weight: bold;
  237. }
  238. .caution {
  239. font-weight: bold;
  240. margin-bottom: 1em;
  241. }
  242. .warning {
  243. margin-top: 1em;
  244. margin-bottom: 1em;
  245. }
  246. .warningtitle {
  247. font-weight: bold;
  248. }
  249. .hazardstatement td,
  250. .hazardstatement th {
  251. padding: 0.5rem;
  252. }
  253. .hazardstatement th {
  254. text-align: center;
  255. text-transform: uppercase;
  256. }
  257. .hazardstatement--caution {
  258. background-color: #ffd100;
  259. }
  260. .hazardstatement--danger {
  261. background-color: #c8102e;
  262. color: #fff;
  263. }
  264. .hazardstatement--warning {
  265. background-color: #ff8200;
  266. }
  267. .hazardstatement--attention, .hazardstatement--fastpath, .hazardstatement--important, .hazardstatement--note, .hazardstatement--notice, .hazardstatement--other, .hazardstatement--remember, .hazardstatement--restriction, .hazardstatement--tip {
  268. background-color: #0072ce;
  269. color: #fff;
  270. font-style: italic;
  271. }
  272. /* Simple lists do not get a bullet */
  273. ul.simple {
  274. list-style-type: none;
  275. }
  276. /* Used on the first column of a table, when rowheader="firstcol" is used */
  277. .firstcol {
  278. font-weight: bold;
  279. }
  280. /* Various basic phrase styles */
  281. .bold {
  282. font-weight: bold;
  283. }
  284. .boldItalic {
  285. font-weight: bold;
  286. font-style: italic;
  287. }
  288. .italic {
  289. font-style: italic;
  290. }
  291. .underlined {
  292. text-decoration: underline;
  293. }
  294. .uicontrol {
  295. font-weight: bold;
  296. }
  297. .wintitle {
  298. font-weight: bold;
  299. }
  300. .parmname {
  301. font-weight: bold;
  302. }
  303. .kwd {
  304. font-weight: bold;
  305. }
  306. .defkwd {
  307. font-weight: bold;
  308. text-decoration: underline;
  309. }
  310. .var {
  311. font-style: italic;
  312. }
  313. .shortcut {
  314. text-decoration: underline;
  315. }
  316. .menucascade > abbr {
  317. text-decoration: none;
  318. }
  319. /* Default of bold for definition list terms */
  320. .dlterm {
  321. font-weight: bold;
  322. }
  323. /* Use CSS to expand lists with @compact="no" */
  324. .dltermexpand {
  325. font-weight: bold;
  326. margin-top: 1em;
  327. }
  328. *[compact="yes"] > li {
  329. margin-top: 0;
  330. }
  331. *[compact="no"] > li {
  332. margin-top: .53em;
  333. }
  334. .liexpand {
  335. margin-top: 1em;
  336. margin-bottom: 1em;
  337. }
  338. .sliexpand {
  339. margin-top: 1em;
  340. margin-bottom: 1em;
  341. }
  342. .dlexpand {
  343. margin-top: 1em;
  344. margin-bottom: 1em;
  345. }
  346. .ddexpand {
  347. margin-top: 1em;
  348. margin-bottom: 1em;
  349. }
  350. .stepexpand {
  351. margin-top: 1em;
  352. margin-bottom: 1em;
  353. }
  354. .substepexpand {
  355. margin-top: 1em;
  356. margin-bottom: 1em;
  357. }
  358. /* Align images based on @align on topic/image */
  359. div.imageleft {
  360. text-align: left;
  361. }
  362. div.imagecenter {
  363. text-align: center;
  364. }
  365. div.imageright {
  366. text-align: right;
  367. }
  368. div.imagejustify {
  369. text-align: justify;
  370. }
  371. /* The cell border can be turned on with
  372. {border-right:solid}
  373. This value creates a very thick border in Firefox (does not match other tables)
  374. Firefox works with
  375. {border-right:solid 1pt}
  376. but this causes a barely visible line in IE */
  377. .cellrowborder {
  378. border-left: none;
  379. border-top: none;
  380. border-right: solid 1px;
  381. border-bottom: solid 1px;
  382. }
  383. .row-nocellborder {
  384. border-left: none;
  385. border-top: none;
  386. border-right: hidden;
  387. border-bottom: solid 1px;
  388. }
  389. .cell-norowborder {
  390. border-top: none;
  391. border-left: none;
  392. border-bottom: hidden;
  393. border-right: solid 1px;
  394. }
  395. .nocellnorowborder {
  396. border: none;
  397. border-right: hidden;
  398. border-bottom: hidden;
  399. }
  400. pre.screen {
  401. padding: 5px 5px 5px 5px;
  402. border: outset;
  403. background-color: #CCCCCC;
  404. margin-top: 2px;
  405. margin-bottom: 2px;
  406. white-space: pre;
  407. }
  408. span.filepath,
  409. samp.codeph,
  410. pre.codeblock {
  411. font-family: monospace;
  412. }