manual-racket.css (5295B)
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 font-style: italic; 92 } 93 94 .RktKw { 95 color: black; 96 } 97 98 .RktErr { 99 color: red; 100 font-style: italic; 101 font-weight: 400; 102 } 103 104 .RktVar { 105 position: relative; 106 left: -1px; font-style: italic; 107 color: #444; 108 } 109 110 .SVInsetFlow .RktVar { 111 font-weight: 400; 112 color: #444; 113 } 114 115 116 .RktSym { 117 color: inherit; 118 } 119 120 121 122 .RktValLink, .RktStxLink, .RktModLink { 123 text-decoration: none; 124 color: #07A; 125 font-size: 1rem; 126 } 127 128 /* for syntax links within headings */ 129 h2 a.RktStxLink, h3 a.RktStxLink, h4 a.RktStxLink, h5 a.RktStxLink, 130 h2 a.RktValLink, h3 a.RktValLink, h4 a.RktValLink, h5 a.RktValLink, 131 h2 .RktSym, h3 .RktSym, h4 .RktSym, h5 .RktSym, 132 h2 .RktMod, h3 .RktMod, h4 .RktMod, h5 .RktMod, 133 h2 .RktVal, h3 .RktVal, h4 .RktVal, h5 .RktVal, 134 h2 .RktPn, h3 .RktPn, h4 .RktPn, h5 .RktPn { 135 color: #333; 136 font-size: 1.50rem; 137 font-weight: 400; 138 } 139 140 .toptoclink .RktStxLink, .toclink .RktStxLink, 141 .toptoclink .RktValLink, .toclink .RktValLink, 142 .toptoclink .RktModLink, .toclink .RktModLink { 143 color: inherit; 144 } 145 146 .tocset .RktValLink, .tocset .RktStxLink, .tocset .RktModLink, .tocset .RktSym { 147 color: black; 148 font-weight: 400; 149 font-size: 0.9rem; 150 } 151 152 .tocset td a.tocviewselflink .RktValLink, 153 .tocset td a.tocviewselflink .RktStxLink, 154 .tocset td a.tocviewselflink .RktMod, 155 .tocset td a.tocviewselflink .RktSym { 156 font-weight: lighter; 157 color: white; 158 } 159 160 161 .RktRes { 162 color: #0000af; 163 } 164 165 .RktOut { 166 color: #960096; 167 } 168 169 .RktCmt { 170 color: #c2741f; 171 } 172 173 .RktVal { 174 color: #228b22; 175 } 176 177 /* ---------------------------------------- */ 178 /* Some inline styles */ 179 180 .together { /* for definitions grouped together in one box */ 181 width: 100%; 182 border-top: 2px solid white; 183 } 184 185 tbody > tr:first-child > td > .together { 186 border-top: 0px; /* erase border on first instance of together */ 187 } 188 189 .RktBlk { 190 white-space: pre; 191 text-align: left; 192 } 193 194 .highlighted { 195 font-size: 1rem; 196 background-color: #fee; 197 } 198 199 .defmodule { 200 font-family: 'Fira-Mono', monospace; 201 padding: 0.25rem 0.75rem 0.25rem 0.5rem; 202 margin-bottom: 1rem; 203 width: 100%; 204 background-color: #ebf0f4; 205 } 206 207 .defmodule a { 208 color: #444; 209 } 210 211 212 .defmodule td span.hspace:first-child { 213 position: absolute; 214 width: 0; 215 display: inline-block; 216 } 217 218 .defmodule .RpackageSpec .Smaller, 219 .defmodule .RpackageSpec .stt { 220 font-size: 1rem; 221 } 222 223 /* make parens ordinary color in defmodule */ 224 .defmodule .RktPn { 225 color: inherit; 226 } 227 228 .specgrammar { 229 float: none; 230 padding-left: 1em; 231 } 232 233 234 .RBibliography td { 235 vertical-align: text-top; 236 padding-top: 1em; 237 } 238 239 .leftindent { 240 margin-left: 2rem; 241 margin-right: 0em; 242 } 243 244 .insetpara { 245 margin-left: 1em; 246 margin-right: 1em; 247 } 248 249 .SCodeFlow .Rfilebox { 250 margin-left: -1em; /* see 17.2 of guide, module languages */ 251 } 252 253 .Rfiletitle { 254 text-align: right; 255 background-color: #eee; 256 } 257 258 .SCodeFlow .Rfiletitle { 259 border-top: 1px dotted gray; 260 border-right: 1px dotted gray; 261 } 262 263 264 .Rfilename { 265 border-top: 0; 266 border-right: 0; 267 padding-left: 0.5em; 268 padding-right: 0.5em; 269 background-color: inherit; 270 } 271 272 .Rfilecontent { 273 margin: 0.5em; 274 } 275 276 .RpackageSpec { 277 padding-right: 0; 278 } 279 280 /* ---------------------------------------- */ 281 /* For background labels */ 282 283 .RBackgroundLabel { 284 float: right; 285 width: 0px; 286 height: 0px; 287 } 288 289 .RBackgroundLabelInner { 290 position: relative; 291 width: 25em; 292 left: -25.5em; 293 top: 0.20rem; /* sensitive to monospaced font choice */ 294 text-align: right; 295 z-index: 0; 296 font-weight: 300; 297 font-family: 'Fira-Mono', monospace; 298 font-size: 0.9rem; 299 color: gray; 300 } 301 302 303 .RpackageSpec .Smaller { 304 font-weight: 300; 305 font-family: 'Fira-Mono', monospace; 306 font-size: 0.9rem; 307 } 308 309 .RForeground { 310 position: relative; 311 left: 0px; 312 top: 0px; 313 z-index: 1; 314 } 315 316 /* ---------------------------------------- */ 317 /* For section source modules & tags */ 318 319 .RPartExplain { 320 background: #eee; 321 font-size: 0.9rem; 322 margin-top: 0.2rem; 323 padding: 0.2rem; 324 text-align: left; 325 }