|
| 1 | +/* See the beginning of "manual.css". */ |
| 2 | + |
| 3 | +/* Monospace: */ |
| 4 | + |
| 5 | +.RktIn, .RktRdr, .RktPn, .RktMeta, |
| 6 | +.RktMod, .RktKw, .RktVar, .RktSym, |
| 7 | +.RktRes, .RktOut, .RktCmt, .RktVal, |
| 8 | +.RktBlk, .RktErr { |
| 9 | + font-family: 'Fira-Mono', monospace; |
| 10 | + white-space: inherit; |
| 11 | + font-size: 1rem; |
| 12 | + line-height: 1.5; |
| 13 | + |
| 14 | +} |
| 15 | + |
| 16 | +/* this selctor grabs the first linked Racket symbol |
| 17 | +in a definition box (i.e., the symbol being defined) */ |
| 18 | +a.RktValDef, a.RktStxDef, a.RktSymDef, |
| 19 | +span.RktValDef, span.RktStxDef, span.RktSymDef |
| 20 | +{ |
| 21 | + font-size: 1.1rem; |
| 22 | + color: black; |
| 23 | + font-weight: 500; |
| 24 | +} |
| 25 | + |
| 26 | + |
| 27 | +.inheritedlbl { |
| 28 | + font-family: 'Fira', sans-serif; |
| 29 | +} |
| 30 | + |
| 31 | +.RBackgroundLabelInner { |
| 32 | + font-family: inherit; |
| 33 | +} |
| 34 | + |
| 35 | +/* ---------------------------------------- */ |
| 36 | +/* Inherited methods, left margin */ |
| 37 | + |
| 38 | +.inherited { |
| 39 | + width: 95%; |
| 40 | + margin-top: 0.5em; |
| 41 | + text-align: left; |
| 42 | + background-color: inherit; |
| 43 | +} |
| 44 | + |
| 45 | +.inherited td { |
| 46 | + font-size: 82%; |
| 47 | + padding-left: 0.5rem; |
| 48 | + line-height: 1.3; |
| 49 | + text-indent: 0; |
| 50 | + padding-right: 0; |
| 51 | +} |
| 52 | + |
| 53 | +.inheritedlbl { |
| 54 | + font-style: normal; |
| 55 | +} |
| 56 | + |
| 57 | +/* ---------------------------------------- */ |
| 58 | +/* Racket text styles */ |
| 59 | + |
| 60 | +.RktIn { |
| 61 | + color: #cc6633; |
| 62 | + background-color: #eee; |
| 63 | +} |
| 64 | + |
| 65 | +.RktInBG { |
| 66 | + background-color: #eee; |
| 67 | +} |
| 68 | + |
| 69 | + |
| 70 | +.refcolumn .RktInBG { |
| 71 | + background-color: white; |
| 72 | +} |
| 73 | + |
| 74 | +.RktRdr { |
| 75 | +} |
| 76 | + |
| 77 | +.RktPn { |
| 78 | + color: #843c24; |
| 79 | +} |
| 80 | + |
| 81 | +.RktMeta { |
| 82 | + color: black; |
| 83 | +} |
| 84 | + |
| 85 | +.RktMod { |
| 86 | + color: inherit; |
| 87 | +} |
| 88 | + |
| 89 | +.RktOpt { |
| 90 | + color: black; |
| 91 | +} |
| 92 | + |
| 93 | +.RktKw { |
| 94 | + color: black; |
| 95 | +} |
| 96 | + |
| 97 | +.RktErr { |
| 98 | + color: red; |
| 99 | + font-style: italic; |
| 100 | + font-weight: 400; |
| 101 | +} |
| 102 | + |
| 103 | +.RktVar { |
| 104 | + position: relative; |
| 105 | + left: -1px; font-style: italic; |
| 106 | + color: #444; |
| 107 | +} |
| 108 | + |
| 109 | +.SVInsetFlow .RktVar { |
| 110 | + font-weight: 400; |
| 111 | + color: #444; |
| 112 | +} |
| 113 | + |
| 114 | + |
| 115 | +.RktSym { |
| 116 | + color: inherit; |
| 117 | +} |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | +.RktValLink, .RktStxLink, .RktModLink { |
| 122 | + text-decoration: none; |
| 123 | + color: #07A; |
| 124 | + font-size: 1rem; |
| 125 | +} |
| 126 | + |
| 127 | +/* for syntax links within headings */ |
| 128 | +h2 a.RktStxLink, h3 a.RktStxLink, h4 a.RktStxLink, h5 a.RktStxLink, |
| 129 | +h2 a.RktValLink, h3 a.RktValLink, h4 a.RktValLink, h5 a.RktValLink, |
| 130 | +h2 .RktSym, h3 .RktSym, h4 .RktSym, h5 .RktSym, |
| 131 | +h2 .RktMod, h3 .RktMod, h4 .RktMod, h5 .RktMod, |
| 132 | +h2 .RktVal, h3 .RktVal, h4 .RktVal, h5 .RktVal, |
| 133 | +h2 .RktPn, h3 .RktPn, h4 .RktPn, h5 .RktPn { |
| 134 | + color: #333; |
| 135 | + font-size: 1.50rem; |
| 136 | + font-weight: 400; |
| 137 | +} |
| 138 | + |
| 139 | +.toptoclink .RktStxLink, .toclink .RktStxLink, |
| 140 | +.toptoclink .RktValLink, .toclink .RktValLink, |
| 141 | +.toptoclink .RktModLink, .toclink .RktModLink { |
| 142 | + color: inherit; |
| 143 | +} |
| 144 | + |
| 145 | +.tocset .RktValLink, .tocset .RktStxLink, .tocset .RktModLink, .tocset .RktSym { |
| 146 | + color: black; |
| 147 | + font-weight: 400; |
| 148 | + font-size: 0.9rem; |
| 149 | +} |
| 150 | + |
| 151 | +.tocset td a.tocviewselflink .RktValLink, |
| 152 | +.tocset td a.tocviewselflink .RktStxLink, |
| 153 | +.tocset td a.tocviewselflink .RktMod, |
| 154 | +.tocset td a.tocviewselflink .RktSym { |
| 155 | + font-weight: lighter; |
| 156 | + color: white; |
| 157 | +} |
| 158 | + |
| 159 | + |
| 160 | +.RktRes { |
| 161 | + color: #0000af; |
| 162 | +} |
| 163 | + |
| 164 | +.RktOut { |
| 165 | + color: #960096; |
| 166 | +} |
| 167 | + |
| 168 | +.RktCmt { |
| 169 | + color: #c2741f; |
| 170 | +} |
| 171 | + |
| 172 | +.RktVal { |
| 173 | + color: #228b22; |
| 174 | +} |
| 175 | + |
| 176 | +/* ---------------------------------------- */ |
| 177 | +/* Some inline styles */ |
| 178 | + |
| 179 | +.together { /* for definitions grouped together in one box */ |
| 180 | + width: 100%; |
| 181 | + border-top: 2px solid white; |
| 182 | +} |
| 183 | + |
| 184 | +tbody > tr:first-child > td > .together { |
| 185 | + border-top: 0px; /* erase border on first instance of together */ |
| 186 | +} |
| 187 | + |
| 188 | +.RktBlk { |
| 189 | + white-space: pre; |
| 190 | + text-align: left; |
| 191 | +} |
| 192 | + |
| 193 | +.highlighted { |
| 194 | + font-size: 1rem; |
| 195 | + background-color: #fee; |
| 196 | +} |
| 197 | + |
| 198 | +.defmodule { |
| 199 | + font-family: 'Fira-Mono', monospace; |
| 200 | + padding: 0.25rem 0.75rem 0.25rem 0.5rem; |
| 201 | + margin-bottom: 1rem; |
| 202 | + width: 100%; |
| 203 | + background-color: #ebf0f4; |
| 204 | +} |
| 205 | + |
| 206 | +.defmodule a { |
| 207 | + color: #444; |
| 208 | +} |
| 209 | + |
| 210 | + |
| 211 | +.defmodule td span.hspace:first-child { |
| 212 | + position: absolute; |
| 213 | + width: 0; |
| 214 | + display: inline-block; |
| 215 | +} |
| 216 | + |
| 217 | +.defmodule .RpackageSpec .Smaller, |
| 218 | +.defmodule .RpackageSpec .stt { |
| 219 | + font-size: 1rem; |
| 220 | +} |
| 221 | + |
| 222 | +/* make parens ordinary color in defmodule */ |
| 223 | +.defmodule .RktPn { |
| 224 | + color: inherit; |
| 225 | +} |
| 226 | + |
| 227 | +.specgrammar { |
| 228 | + float: none; |
| 229 | + padding-left: 1em; |
| 230 | +} |
| 231 | + |
| 232 | + |
| 233 | +.RBibliography td { |
| 234 | + vertical-align: text-top; |
| 235 | + padding-top: 1em; |
| 236 | +} |
| 237 | + |
| 238 | +.leftindent { |
| 239 | + margin-left: 2rem; |
| 240 | + margin-right: 0em; |
| 241 | +} |
| 242 | + |
| 243 | +.insetpara { |
| 244 | + margin-left: 1em; |
| 245 | + margin-right: 1em; |
| 246 | +} |
| 247 | + |
| 248 | +.SCodeFlow .Rfilebox { |
| 249 | + margin-left: -1em; /* see 17.2 of guide, module languages */ |
| 250 | +} |
| 251 | + |
| 252 | +.Rfiletitle { |
| 253 | + text-align: right; |
| 254 | + background-color: #eee; |
| 255 | +} |
| 256 | + |
| 257 | +.SCodeFlow .Rfiletitle { |
| 258 | + border-top: 1px dotted gray; |
| 259 | + border-right: 1px dotted gray; |
| 260 | +} |
| 261 | + |
| 262 | + |
| 263 | +.Rfilename { |
| 264 | + border-top: 0; |
| 265 | + border-right: 0; |
| 266 | + padding-left: 0.5em; |
| 267 | + padding-right: 0.5em; |
| 268 | + background-color: inherit; |
| 269 | +} |
| 270 | + |
| 271 | +.Rfilecontent { |
| 272 | + margin: 0.5em; |
| 273 | +} |
| 274 | + |
| 275 | +.RpackageSpec { |
| 276 | + padding-right: 0; |
| 277 | +} |
| 278 | + |
| 279 | +/* ---------------------------------------- */ |
| 280 | +/* For background labels */ |
| 281 | + |
| 282 | +.RBackgroundLabel { |
| 283 | + float: right; |
| 284 | + width: 0px; |
| 285 | + height: 0px; |
| 286 | +} |
| 287 | + |
| 288 | +.RBackgroundLabelInner { |
| 289 | + position: relative; |
| 290 | + width: 25em; |
| 291 | + left: -25.5em; |
| 292 | + top: 0.20rem; /* sensitive to monospaced font choice */ |
| 293 | + text-align: right; |
| 294 | + z-index: 0; |
| 295 | + font-weight: 300; |
| 296 | + font-family: 'Fira-Mono', monospace; |
| 297 | + font-size: 0.9rem; |
| 298 | + color: gray; |
| 299 | +} |
| 300 | + |
| 301 | + |
| 302 | +.RpackageSpec .Smaller { |
| 303 | + font-weight: 300; |
| 304 | + font-family: 'Fira-Mono', monospace; |
| 305 | + font-size: 0.9rem; |
| 306 | +} |
| 307 | + |
| 308 | +.RForeground { |
| 309 | + position: relative; |
| 310 | + left: 0px; |
| 311 | + top: 0px; |
| 312 | + z-index: 1; |
| 313 | +} |
| 314 | + |
| 315 | +/* ---------------------------------------- */ |
| 316 | +/* For section source modules & tags */ |
| 317 | + |
| 318 | +.RPartExplain { |
| 319 | + background: #eee; |
| 320 | + font-size: 0.9rem; |
| 321 | + margin-top: 0.2rem; |
| 322 | + padding: 0.2rem; |
| 323 | + text-align: left; |
| 324 | +} |
0 commit comments