styles.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. /*
  2. Inno Setup
  3. Copyright (C) 1997-2025 Jordan Russell
  4. Portions by Martijn Laan
  5. For conditions of distribution and use, see LICENSE.TXT.
  6. Style sheet used by topic_*.htm
  7. */
  8. HTML {
  9. /* Ensure that anchor targets don't get hidden underneath the sticky header.
  10. This is the height of .topicheading plus an extra 2rem of breathing room. */
  11. scroll-padding-block-start: calc((20rem/16) * 1.5 + 8px + 2rem);
  12. }
  13. BODY {
  14. font: calc(14rem/16)/1.5 "Segoe UI", sans-serif;
  15. margin: 0;
  16. color: #d6d6d6;
  17. background-color: #1f1f1f;
  18. }
  19. PRE, TT {
  20. font: calc(13rem/16) Consolas, monospace;
  21. }
  22. P, H1, H2, H3, H4, H5, BLOCKQUOTE, PRE, FORM, OL, UL, LI, DL, DD, TABLE, .examplebox, DIV.margined {
  23. /* only the end of paragraphs etc. has a margin */
  24. margin-top: 0;
  25. margin-bottom: 1em;
  26. }
  27. UL, OL, DD {
  28. /* specify both of these for firefox compat. */
  29. margin-left: 0;
  30. padding-left: 2em;
  31. }
  32. TABLE {
  33. /* equivalent of cellspacing="0" */
  34. border-collapse: collapse;
  35. }
  36. TD {
  37. /* equivalent of cellpadding="0" */
  38. padding: 0;
  39. /* note: "baseline" is broken on IE6; it only aligns correctly when there's
  40. a single line of text, and that text is directly inside the <TD> tag
  41. (not inside a <DIV>). otherwise it behaves more like "top".
  42. (firefox 1.5 and opera 9 don't have this problem) */
  43. vertical-align: baseline;
  44. }
  45. IMG {
  46. border-style: none;
  47. }
  48. IMG.extlink {
  49. width: 16px;
  50. height: 16px;
  51. padding-left: 2px;
  52. }
  53. A:link, A:visited {
  54. color: hsl(206, 100%, 50%);
  55. background-color: transparent;
  56. text-decoration: none;
  57. }
  58. A[href]:hover {
  59. color: hsl(206, 100%, 43%);
  60. text-decoration: underline;
  61. }
  62. span:target {
  63. background-color: #ffff00;
  64. color: black;
  65. }
  66. .small {
  67. font-size: calc(12rem/16);
  68. }
  69. .heading {
  70. margin-top: 1em;
  71. font-size: calc(20rem/16);
  72. font-weight: bold;
  73. }
  74. .notopmargin {
  75. margin-top: 0;
  76. }
  77. .indent {
  78. margin-left: 2em;
  79. }
  80. PRE.nomargin {
  81. margin: 0;
  82. }
  83. LI.compact {
  84. margin-bottom: calc(2rem/16);
  85. }
  86. .topicheading {
  87. background-color: #403E41;
  88. color: inherit;
  89. padding: 4px 8px;
  90. margin: 0;
  91. font-size: calc(20rem/16);
  92. font-weight: bold;
  93. /* Can't allow wrapping because the scroll-padding setting expects a fixed height */
  94. white-space: nowrap;
  95. overflow: hidden;
  96. text-overflow: ellipsis;
  97. /* IE doesn't support sticky or scroll-padding */
  98. position: sticky;
  99. inset-block-start: 0;
  100. }
  101. .topicbody {
  102. padding: 8px;
  103. }
  104. TT, .examplebox {
  105. background-color: #353135;
  106. color: inherit;
  107. }
  108. TT {
  109. padding: 2px 4px;
  110. border-radius: 4px;
  111. display: inline-block;
  112. }
  113. .examplebox {
  114. padding: 10px;
  115. border-radius: 6px;
  116. overflow-x: auto;
  117. }
  118. .exampleheader {
  119. font-size: calc(12rem/16);
  120. font-weight: bold;
  121. line-height: normal;
  122. margin-bottom: 0.5em;
  123. }
  124. DT.paramlist {
  125. margin-bottom: 0.5em;
  126. }
  127. DD.paramlist {
  128. /* give a little extra spacing between items */
  129. margin-bottom: 1.5em;
  130. }
  131. DT.flaglist {
  132. font-weight: bold;
  133. }
  134. TD.cellleft {
  135. white-space: nowrap;
  136. }
  137. TD.cellright {
  138. padding-left: 2em;
  139. }
  140. TABLE.setuphdr {
  141. margin: 0;
  142. }
  143. TD.setuphdrl {
  144. font-weight: bold;
  145. white-space: nowrap;
  146. }
  147. TD.setuphdrr {
  148. padding-left: 1em;
  149. }
  150. #redirectbox {
  151. position: absolute;
  152. background-color: InfoBackground;
  153. color: InfoText;
  154. padding: 16px 24px;
  155. border: 1px solid ThreeDDarkShadow;
  156. font-size: 120%;
  157. font-weight: bold;
  158. box-shadow: #808080 0 0 12px;
  159. -moz-box-shadow: #808080 0 0 12px; /* for Firefox 3.6 */
  160. -webkit-box-shadow: #808080 0 0 12px; /* for Chrome 6.0 */
  161. }