styles.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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. width: 16px;
  47. height: 16px;
  48. border-style: none;
  49. padding-left: 2px;
  50. }
  51. A:link, A:visited {
  52. color: hsl(206, 100%, 50%);
  53. background-color: transparent;
  54. text-decoration: none;
  55. }
  56. A[href]:hover {
  57. color: hsl(206, 100%, 43%);
  58. text-decoration: underline;
  59. }
  60. A.highlighted {
  61. background-color: #ffff00;
  62. color: black;
  63. }
  64. .small {
  65. font-size: calc(12rem/16);
  66. }
  67. .heading {
  68. margin-top: 1em;
  69. font-size: calc(20rem/16);
  70. font-weight: bold;
  71. }
  72. .notopmargin {
  73. margin-top: 0;
  74. }
  75. .indent {
  76. margin-left: 2em;
  77. }
  78. PRE.nomargin {
  79. margin: 0;
  80. }
  81. LI.compact {
  82. margin-bottom: calc(2rem/16);
  83. }
  84. .topicheading {
  85. background-color: #403E41;
  86. color: inherit;
  87. padding: 4px 8px;
  88. margin: 0;
  89. font-size: calc(20rem/16);
  90. font-weight: bold;
  91. /* Can't allow wrapping because the scroll-padding setting expects a fixed height */
  92. white-space: nowrap;
  93. overflow: hidden;
  94. text-overflow: ellipsis;
  95. /* IE doesn't support sticky or scroll-padding */
  96. position: sticky;
  97. inset-block-start: 0;
  98. }
  99. .topicbody {
  100. padding: 8px;
  101. }
  102. TT, .examplebox {
  103. background-color: #353135;
  104. color: inherit;
  105. }
  106. TT {
  107. padding: 2px 4px;
  108. border-radius: 4px;
  109. display: inline-block;
  110. }
  111. .examplebox {
  112. padding: 10px;
  113. border-radius: 6px;
  114. overflow-x: auto;
  115. }
  116. .exampleheader {
  117. font-size: calc(12rem/16);
  118. font-weight: bold;
  119. line-height: normal;
  120. margin-bottom: 0.5em;
  121. }
  122. DT.paramlist {
  123. margin-bottom: 0.5em;
  124. }
  125. DD.paramlist {
  126. /* give a little extra spacing between items */
  127. margin-bottom: 1.5em;
  128. }
  129. DT.flaglist {
  130. font-weight: bold;
  131. }
  132. TD.cellleft {
  133. white-space: nowrap;
  134. }
  135. TD.cellright {
  136. padding-left: 2em;
  137. }
  138. TABLE.setuphdr {
  139. margin: 0;
  140. }
  141. TD.setuphdrl {
  142. font-weight: bold;
  143. white-space: nowrap;
  144. }
  145. TD.setuphdrr {
  146. padding-left: 1em;
  147. }
  148. #redirectbox {
  149. position: absolute;
  150. background-color: InfoBackground;
  151. color: InfoText;
  152. padding: 16px 24px;
  153. border: 1px solid ThreeDDarkShadow;
  154. font-size: 120%;
  155. font-weight: bold;
  156. box-shadow: #808080 0 0 12px;
  157. -moz-box-shadow: #808080 0 0 12px; /* for Firefox 3.6 */
  158. -webkit-box-shadow: #808080 0 0 12px; /* for Chrome 6.0 */
  159. }