| 1 |
/*=-----------------------------------------=*/ |
| 2 |
/*= Icons for certain link types: by target =*/ |
| 3 |
/*=-----------------------------------------=*/ |
| 4 |
|
| 5 |
/* Within-page (anchor) links. |
| 6 |
*/ |
| 7 |
/* |
| 8 |
.md-content section > :not(:first-child) a[href^='#']::after, |
| 9 |
.md-content p a[href^='#']::after { |
| 10 |
content: "\00B6"; |
| 11 |
margin: 0 1px 0 3px; |
| 12 |
font-size: 0.75em; |
| 13 |
vertical-align: baseline; |
| 14 |
position: relative; |
| 15 |
bottom: 0.45em; |
| 16 |
opacity: 0.6; |
| 17 |
} |
| 18 |
.md-content section > :not(:first-child) a[href^='#'].footnote-ref::after, |
| 19 |
.md-content p a[href^='#'].footnote-ref::after, |
| 20 |
.md-content section > :not(:first-child) a[href^='#'].footnote-back::after, |
| 21 |
.md-content p a[href^='#'].footnote-back::after { |
| 22 |
content: none; |
| 23 |
} |
| 24 |
*/ |
| 25 |
/* Internal (within-site) links. Avoid 'G' icons on hosted documents, local images, and infrastructure, which aren't formal writings. |
| 26 |
*/ |
| 27 |
.md-content a[href^="https://www.gwern.net/"]:not([href*="/docs/"]):not([href*="/images/"]):not([href*="/static/"]):not([href$=".hs"]):not([href$=".sh"]):not([href$=".R"])::after { |
| 28 |
content: "\1D50A"; /* Gothic G */ |
| 29 |
margin: 0 0 0 2px; |
| 30 |
vertical-align: baseline; |
| 31 |
position: relative; |
| 32 |
bottom: 0.15em; |
| 33 |
opacity: 0.55; |
| 34 |
} |
| 35 |
|
| 36 |
/* TEXTUAL PER-DOMAIN LINK ICONS: */ |
| 37 |
/* Common style */ |
| 38 |
.md-content a[href*="17th-angel.tumblr.com"]::after, |
| 39 |
.md-content a[href*="andrewgelman.com"]::after, |
| 40 |
.md-content a[href*="animenewsnetwork.com"]::after, |
| 41 |
.md-content a[href*="arstechnica.com"]::after, |
| 42 |
.md-content a[href*="arxiv.org"]::after, |
| 43 |
.md-content a[href*="bbc.com"]::after, |
| 44 |
.md-content a[href*="bbc.co.uk"]::after, |
| 45 |
.md-content a[href*="www.cdc.gov"]::after, |
| 46 |
.md-content a[href*="www.vox.com"]::after, |
| 47 |
.md-content a[href*="www.vanityfair.com"]::after, |
| 48 |
.md-content a[href*="www.motherjones.com"]::after, |
| 49 |
.md-content a[href*="www.edge.org"]::after, |
| 50 |
.md-content a[href*="bitcointalk.org"]::after, |
| 51 |
.md-content a[href*="bitcoin.t"]::after, |
| 52 |
.md-content a[href*="bloomberg.com"]::after, |
| 53 |
.md-content a[href*="bmj.com"]::after, |
| 54 |
.md-content a[href*="economist.com"]::after, |
| 55 |
.md-content a[href*="evageeks.org"]::after, |
| 56 |
.md-content a[href*="evamonkey.com"]::after, |
| 57 |
.md-content a[href*="evaotaku.com"]::after, |
| 58 |
.md-content a[href*="www.fanfiction.net"]::after, |
| 59 |
.md-content a[href*="fda.gov"]::after, |
| 60 |
.md-content a[href*="filfre.net"]::after, |
| 61 |
.md-content a[href*="gainax.co.jp"]::after, |
| 62 |
.md-content a[href*="goodreads.com"]::after, |
| 63 |
.md-content a[href*="haskell.org"]::after, |
| 64 |
.md-content a[href*="harney.com"]::after, |
| 65 |
.md-content a[href*="justice.gov"]::after, |
| 66 |
.md-content a[href*="khara.co.jp"]::after, |
| 67 |
.md-content a[href*="kk.org"]::after, |
| 68 |
.md-content a[href*="lesswrong.com"]::after, |
| 69 |
.md-content a[href*="longbets.org"]::after, |
| 70 |
.md-content a[href*="longnow.org"]::after, |
| 71 |
.md-content a[href*="marginalrevolution.com"]::after, |
| 72 |
.md-content a[href*="medium.com"]::after, |
| 73 |
.md-content a[href*="myanimelist.net"]::after, |
| 74 |
.md-content a[href*="nature.com"]::after, |
| 75 |
.md-content a[href*="onegeek.org"]::after, |
| 76 |
.md-content a[href*="overcomingbias.com"]::after, |
| 77 |
.md-content a[href*="pnas.org"]::after, |
| 78 |
.md-content a[href*="poniesatdawn.bandcamp.com"]::after, |
| 79 |
.md-content a[href*="predictionbook.com"]::after, |
| 80 |
.md-content a[href*="r-project.org"]::after, |
| 81 |
.md-content a[href*="rosettaproject.org"]::after, |
| 82 |
.md-content a[href*="rstudio.com"]::after, |
| 83 |
.md-content a[href*="salon.com"]::after, |
| 84 |
.md-content a[href*="sciencemag.org"]::after, |
| 85 |
.md-content a[href*="sciencedirect.com"]::after, |
| 86 |
.md-content a[href*="scholars-stage.blogspot.com"]::after, |
| 87 |
.md-content a[href*="slate.com"]::after, |
| 88 |
.md-content a[href*="slatestarcodex"]::after, |
| 89 |
.md-content a[href*="statmodeling.stat.columbia.edu"]::after, |
| 90 |
.md-content a[href*="t.umblr.com"]::after, |
| 91 |
.md-content a[href*="technologyreview.com"]::after, |
| 92 |
.md-content a[href*="theatlantic.com"]::after, |
| 93 |
.md-content a[href*="theinterval.org"]::after, |
| 94 |
.md-content a[href*="theparisreview.org"]::after, |
| 95 |
.md-content a[href*="tinyletter.com"]::after, |
| 96 |
.md-content a[href*="www.mail-archive.com"]::after, |
| 97 |
.md-content a[href*="groups.google.com"]::after, |
| 98 |
.md-content a[href*="tumblr.com"]::after, |
| 99 |
.md-content a[href*="tvtropes.org"]::after, |
| 100 |
.md-content a[href*="urth.net"]::after, |
| 101 |
.md-content a[href*="www.nber.org"]::after, |
| 102 |
.md-content a[href*="mlp.fandom.com"]::after, |
| 103 |
.md-content a[href*="www.wsj.com"]::after, |
| 104 |
.md-content a[href*="www.google.com"]::after, |
| 105 |
.md-content a[href*="wiley.com"]::after, |
| 106 |
.md-content a[href*="yunnansourcing.com"]::after, |
| 107 |
.md-content a[href*="yvain"]::after, |
| 108 |
.md-content a[href*="unsongbook.com"]::after, |
| 109 |
.md-content a[href*="groups.yahoo.com"]::after, |
| 110 |
.md-content a[href*="publicdomainreview.org"]::after, |
| 111 |
.md-content a[href*="meltingasphalt.com"]::after, |
| 112 |
.md-content a[href*="neweva.blog103.fc2.com"]::after { |
| 113 |
font-size: 0.8em; |
| 114 |
font-weight: 600; |
| 115 |
margin: 0 0 0 2px; |
| 116 |
vertical-align: baseline; |
| 117 |
position: relative; |
| 118 |
bottom: 0.2em; |
| 119 |
opacity: 0.6; |
| 120 |
} |
| 121 |
/* MR: cheaper to abuse Unicode */ |
| 122 |
.md-content a[href*="marginalrevolution.com"]::after { |
| 123 |
content: "Mπ"; } |
| 124 |
|
| 125 |
/* likewise */ |
| 126 |
.md-content a[href*="medium.com"]::after { |
| 127 |
content: "π"; } |
| 128 |
|
| 129 |
/* Kevin Kelly */ |
| 130 |
.md-content a[href*="kk.org"]::after { |
| 131 |
font-family: "Lucida Sans Unicode", "Source Sans Pro", Helvetica, "Trebuchet MS", sans-serif; |
| 132 |
content: "KK"; } |
| 133 |
|
| 134 |
/* Google searches, other tools; note that there are many Google subdomains, so we narrow down with just 'www' */ |
| 135 |
.md-content a[href*="www.google.com"]::after { |
| 136 |
content: "π"; } |
| 137 |
|
| 138 |
/* Wiley & Sons's 'W' unfortunately overlaps with the WP 'W' but if we sans it, maybe that'll help */ |
| 139 |
.md-content a[href*="wiley.com"]::after { |
| 140 |
font-family: "Lucida Sans Unicode", "Source Sans Pro", Helvetica, "Trebuchet MS", sans-serif; |
| 141 |
content: "W"; } |
| 142 |
|
| 143 |
/* PNAS: they don't have a real logo, but their favicon does a nice little compact square, and we can replicate that in CSS: */ |
| 144 |
.md-content a[href*="pnas.org"]::after { |
| 145 |
content: "PNAS"; |
| 146 |
font-size: 0.5em; |
| 147 |
width: 1.4em; |
| 148 |
display: inline-block; |
| 149 |
overflow-wrap: break-word; |
| 150 |
font-family: Baskerville; |
| 151 |
line-height: 0.7; |
| 152 |
text-align: center; |
| 153 |
position: relative; |
| 154 |
bottom: 0.3em; |
| 155 |
left: 0.1em; } |
| 156 |
|
| 157 |
.md-content a[href*="www.nber.org"]:not([href$=".pdf"])::after { |
| 158 |
content: "NBER"; |
| 159 |
font-size: 0.5em; |
| 160 |
width: 1.35em; |
| 161 |
display: inline-block; |
| 162 |
overflow-wrap: break-word; |
| 163 |
font-family: "Lucida Sans Unicode", "Source Sans Pro", Helvetica, "Trebuchet MS", sans-serif; |
| 164 |
font-style: italic; |
| 165 |
line-height: 0.7; |
| 166 |
text-align: center; |
| 167 |
position: relative; |
| 168 |
bottom: 0.3em; |
| 169 |
left: 0.1em; } |
| 170 |
|
| 171 |
.md-content a[href*="mlp.fandom.com"]::after { |
| 172 |
content: "MLPW"; |
| 173 |
font-size: 0.5em; |
| 174 |
width: 1.35em; |
| 175 |
display: inline-block; |
| 176 |
overflow-wrap: break-word; |
| 177 |
font-family: "Lucida Sans Unicode", "Source Sans Pro", Helvetica, "Trebuchet MS", sans-serif; |
| 178 |
font-style: italic; |
| 179 |
line-height: 0.7; |
| 180 |
text-align: center; |
| 181 |
position: relative; |
| 182 |
bottom: 0.3em; |
| 183 |
left: 0.1em; } |
| 184 |
|
| 185 |
.md-content a[href*="publicdomainreview.org"]::after { |
| 186 |
content: "TPDR"; |
| 187 |
font-size: 0.5em; |
| 188 |
width: 1.6em; |
| 189 |
display: inline-block; |
| 190 |
overflow-wrap: break-word; |
| 191 |
font-family: Baskerville; |
| 192 |
line-height: 0.8em; |
| 193 |
text-align: center; |
| 194 |
position: relative; |
| 195 |
bottom: 0.3em; |
| 196 |
left: 0.1em; } |
| 197 |
|
| 198 |
.md-content a[href*="meltingasphalt.com"]::after { |
| 199 |
content: "β²β²β³"; } |
| 200 |
|
| 201 |
/* Bitcoin Talk: close enough! */ |
| 202 |
.md-content a[href*="bitcointalk.org"]::after, |
| 203 |
.md-content a[href*="bitcoin.it"]::after { |
| 204 |
content: "βΏβ"; } |
| 205 |
|
| 206 |
.md-content a[href*="salon.com"]::after { |
| 207 |
content: "s"; } |
| 208 |
|
| 209 |
.md-content a[href*="www.vox.com"]::after { |
| 210 |
font-style: italic; |
| 211 |
content: "Vox"; } |
| 212 |
|
| 213 |
.md-content a[href*="www.vanityfair.com"]::after { |
| 214 |
content: "VF"; } |
| 215 |
|
| 216 |
.md-content a[href*="www.motherjones.com"]::after { |
| 217 |
font-family: "Lucida Sans Unicode", "Source Sans Pro", Helvetica, "Trebuchet MS", sans-serif; |
| 218 |
content: "MJ"; } |
| 219 |
|
| 220 |
.md-content a[href*="www.edge.org"]::after { |
| 221 |
font-style: italic; |
| 222 |
content: "E"; } |
| 223 |
|
| 224 |
/* The Harney & Sons logo is too fancy to scale down reasonably */ |
| 225 |
.md-content a[href*="harney.com"]::after { |
| 226 |
content: "H"; } |
| 227 |
|
| 228 |
/* The FF.net logo is pretty crazy, and I don't think anyone would recognize it in monochrome */ |
| 229 |
.md-content a[href*="www.fanfiction.net"]::after { |
| 230 |
content: "FF"; } |
| 231 |
|
| 232 |
.md-content a[href*="poniesatdawn.bandcamp.com"]::after { |
| 233 |
content: "P@D"; } |
| 234 |
|
| 235 |
.md-content a[href*="yunnansourcing.com"]::after { |
| 236 |
content: "ΚΈβ"; } |
| 237 |
|
| 238 |
/* Avoid the unfortunate connotations of 'SS' */ |
| 239 |
.md-content a[href*="scholars-stage.blogspot.com"]::after { |
| 240 |
content: "Ss"; } |
| 241 |
|
| 242 |
/* Ars is an orange box, not usable */ |
| 243 |
.md-content a[href*="arstechnica.com"]::after { |
| 244 |
font-family: "Lucida Sans Unicode", "Source Sans Pro", Helvetica, "Trebuchet MS", sans-serif; |
| 245 |
content: "ars"; } |
| 246 |
|
| 247 |
/* British Medical Journal or just 'bmj' */ |
| 248 |
.md-content a[href*="bmj.com"]::after { |
| 249 |
font-family: "Lucida Sans Unicode", "Source Sans Pro", Helvetica, "Trebuchet MS", sans-serif; |
| 250 |
content: "bmj"; } |
| 251 |
|
| 252 |
/* Science is just typeset in red */ |
| 253 |
.md-content a[href*="sciencemag.org"]::after { |
| 254 |
content: "S"; } |
| 255 |
|
| 256 |
/* SSC logo too bad to use */ |
| 257 |
.md-content a[href*="yvain"]::after, |
| 258 |
.md-content a[href*="slatestarcodex"]::after { |
| 259 |
content: "SSC"; } |
| 260 |
/* SSC's book */ |
| 261 |
.md-content a[href*="unsongbook.com"]::after { |
| 262 |
content: "Χ"; } |
| 263 |
|
| 264 |
/* OB logo too bad to use */ |
| 265 |
.md-content a[href*="overcomingbias.com"]::after { |
| 266 |
content: "OB"; } |
| 267 |
|
| 268 |
/* LW logo is just a colored 'LW', so no point in converting */ |
| 269 |
.md-content a[href*="lesswrong.com"]::after { |
| 270 |
content: "LW"; } |
| 271 |
|
| 272 |
/* PB logo is confusing. A purple question mark...? */ |
| 273 |
.md-content a[href*="predictionbook.com"]::after { |
| 274 |
content: "\FE56"; } |
| 275 |
|
| 276 |
/* GoodReads: logo doesn't make sense as a grayscale */ |
| 277 |
.md-content a[href*="goodreads.com"]::after { |
| 278 |
content: "GR"; } |
| 279 |
|
| 280 |
/* Long Now Foundation projects: */ |
| 281 |
.md-content a[href*="longbets.org"]::after, |
| 282 |
.md-content a[href*="longnow.org"]::after, |
| 283 |
.md-content a[href*="rosettaproject.org"]::after, |
| 284 |
.md-content a[href*="theinterval.org"]::after { |
| 285 |
content: "X"; |
| 286 |
text-decoration: overline; } |
| 287 |
|
| 288 |
/* ArXiv: Chi (their logo is too bad to use) */ |
| 289 |
.md-content a[href*="arxiv.org"]::after { |
| 290 |
content: "\1D6D8"; } |
| 291 |
|
| 292 |
/* Technology Review (their logo has a little slash in it which you probably can't see at low-res) but is otherwise just a 'T' so meh */ |
| 293 |
.md-content a[href*="technologyreview.com"]::after { |
| 294 |
content: "T"; |
| 295 |
font-family: "Lucida Sans Unicode", "Source Sans Pro", Helvetica, "Trebuchet MS", sans-serif; } |
| 296 |
|
| 297 |
/* Economist: logo is just 'Economist'... */ |
| 298 |
.md-content a[href*="economist.com"]::after { |
| 299 |
content: "E"; |
| 300 |
font-family: "Lucida Sans Unicode", "Source Sans Pro", Helvetica, "Trebuchet MS", sans-serif; } |
| 301 |
|
| 302 |
/* Elsevier/Sciencedirect.com: also an 'E' */ |
| 303 |
.md-content a[href*="sciencedirect.com"]::after { |
| 304 |
content: "E"; |
| 305 |
font-family: "Lucida Sans Unicode", "Source Sans Pro", Helvetica, "Trebuchet MS", sans-serif; } |
| 306 |
|
| 307 |
/* Favicon is a little normal distribution/histogram */ |
| 308 |
.md-content a[href*="andrewgelman.com"]::after, |
| 309 |
.md-content a[href*="statmodeling.stat.columbia.edu"]::after { |
| 310 |
content: "β
ββ"; |
| 311 |
font-size: 0.6em; } |
| 312 |
|
| 313 |
/* Bloomberg: no usable logo, just an inset-B */ |
| 314 |
.md-content a[href*="bloomberg.com"]::after { |
| 315 |
content: "π"; } |
| 316 |
|
| 317 |
/* BBC: no usable logo */ |
| 318 |
.md-content a[href*="bbc.com"]::after, |
| 319 |
.md-content a[href*="bbc.co.uk"]::after { |
| 320 |
font-family: "Lucida Sans Unicode", "Source Sans Pro", Helvetica, "Trebuchet MS", sans-serif; |
| 321 |
content: "BBC"; } |
| 322 |
|
| 323 |
/* R: at this point R Studio has taken over a lot of control, so might as well treat them as official too... */ |
| 324 |
.md-content a[href*="r-project.org"]::after, |
| 325 |
.md-content a[href*="rstudio.com"]::after { |
| 326 |
content: "R"; |
| 327 |
} |
| 328 |
|
| 329 |
/* Haskell: simplify logo; the double-lambda is too busy when used for link icons */ |
| 330 |
.md-content a[href*="haskell.org"]::after { |
| 331 |
content: "π"; } |
| 332 |
|
| 333 |
/* MAL: the blue of their logo doesn't work, so just text */ |
| 334 |
.md-content a[href*="myanimelist.net"]::after { |
| 335 |
font-family: "Lucida Sans Unicode", "Source Sans Pro", Helvetica, "Trebuchet MS", sans-serif; |
| 336 |
content: "MAL"; } |
| 337 |
|
| 338 |
/* Gene Wolfe mailing list; no logo */ |
| 339 |
.md-content a[href*="urth.net"]::after { |
| 340 |
content: "U"; } |
| 341 |
|
| 342 |
/* TinyLetter's icon, without color, isn't memorable enough; throw in the other email services */ |
| 343 |
.md-content a[href*="tinyletter.com"]::after, |
| 344 |
.md-content a[href*="groups.google.com"]::after, |
| 345 |
.md-content a[href*="groups.yahoo.com"]::after, |
| 346 |
.md-content a[href*="www.mail-archive.com"]::after { |
| 347 |
content: "β"; } |
| 348 |
|
| 349 |
/* Tumblr: turns out there's a Unicode equivalent to their curly-T which can be used instead */ |
| 350 |
.md-content a[href*="tumblr.com"]::after, |
| 351 |
.md-content a[href*="t.umblr.com"]::after { |
| 352 |
content: "Κ"; } |
| 353 |
|
| 354 |
/* The Atlantic: replicate sloping by italics */ |
| 355 |
.md-content a[href*="theatlantic.com"]::after { |
| 356 |
font-style: italic; |
| 357 |
content: "A"; } |
| 358 |
|
| 359 |
/* Filfre.net/The Digital Antiquarian has no logo or usable substitue... */ |
| 360 |
.md-content a[href*="filfre.net"]::after { |
| 361 |
content: "F"; } |
| 362 |
|
| 363 |
/* ANN */ |
| 364 |
.md-content a[href*="animenewsnetwork.com"]::after { |
| 365 |
font-family: "Lucida Sans Unicode", "Source Sans Pro", Helvetica, "Trebuchet MS", sans-serif; |
| 366 |
content: "ANN"; } |
| 367 |
|
| 368 |
/* TV Tropes: their lampshade icon is unrecognizable & hard to see small */ |
| 369 |
.md-content a[href*="tvtropes.org"]::after { |
| 370 |
content: "TV"; } |
| 371 |
|
| 372 |
.md-content a[href*="www.cdc.gov"]::after { |
| 373 |
content: "CDC"; } |
| 374 |
|
| 375 |
/* US federal Department of Justice */ |
| 376 |
.md-content a[href*="justice.gov"]::after { |
| 377 |
content: "DoJ"; } |
| 378 |
|
| 379 |
/* FDA/Food & Drug Agency */ |
| 380 |
.md-content a[href*="fda.gov"]::after { |
| 381 |
font-family: "Lucida Sans Unicode", "Source Sans Pro", Helvetica, "Trebuchet MS", sans-serif; |
| 382 |
content: "FDA"; } |
| 383 |
|
| 384 |
/* The Paris Review: not even going to try to make their weird bird logo work */ |
| 385 |
.md-content a[href*="theparisreview.org"]::after { |
| 386 |
content: "PR"; } |
| 387 |
|
| 388 |
/* The Wall Street Journal */ |
| 389 |
.md-content a[href*="www.wsj.com"]::after { |
| 390 |
content: "WSJ"; } |
| 391 |
|
| 392 |
/* Slate */ |
| 393 |
.md-content a[href*="slate.com"]::after { |
| 394 |
content: "S"; } |
| 395 |
|
| 396 |
/* Nature */ |
| 397 |
.md-content a[href*="nature.com"]::after { |
| 398 |
content: "n"; } |
| 399 |
|
| 400 |
/* Evangelion: we'll split this into EGF-related and other NGE sites */ |
| 401 |
.md-content a[href*="evageeks.org"]::after, |
| 402 |
.md-content a[href*="evamonkey.com"]::after { |
| 403 |
content: "EG"; } |
| 404 |
.md-content a[href*="onegeek.org"]::after, |
| 405 |
.md-content a[href*="evaotaku.com"]::after, |
| 406 |
.md-content a[href*="khara.co.jp"]::after, |
| 407 |
.md-content a[href*="gainax.co.jp"]::after, |
| 408 |
.md-content a[href*="17th-angel.tumblr.com"]::after, |
| 409 |
.md-content a[href*="neweva.blog103.fc2.com"]::after { |
| 410 |
content: "NGE"; } |
| 411 |
|
| 412 |
/* IMAGE-BASED PER-DOMAIN LINK ICONS: */ |
| 413 |
/* BioRxiv (custom icon: italic Chi with DNA cross-strands) */ |
| 414 |
.md-content a[href*='biorxiv.org']::after { |
| 415 |
background-image: url("/autoimport/assets/images/chi-dna.svg"); |
| 416 |
} |
| 417 |
.md-content a[href*='biorxiv.org']:hover::after { |
| 418 |
opacity: 0.3; |
| 419 |
} |
| 420 |
.md-content a[href*='biorxiv.org']::after { |
| 421 |
content: ""; |
| 422 |
display: inline-block; |
| 423 |
position: static; |
| 424 |
background-repeat: no-repeat; |
| 425 |
background-position: bottom center; |
| 426 |
height: 1em; |
| 427 |
width: 0.9em; |
| 428 |
margin: 0 0 0 2px; |
| 429 |
opacity: 0.60; |
| 430 |
} |
| 431 |
|
| 432 |
/* Google Scholar */ |
| 433 |
.md-content a[href*='scholar.google.com']::after { |
| 434 |
background-image: url("/autoimport/assets/images/google-scholar.svg"); |
| 435 |
} |
| 436 |
.md-content a[href*='scholar.google.com']:hover::after { |
| 437 |
opacity: 0.3; |
| 438 |
} |
| 439 |
.md-content a[href*='scholar.google.com']::after { |
| 440 |
content: ""; |
| 441 |
display: inline-block; |
| 442 |
position: static; |
| 443 |
background-repeat: no-repeat; |
| 444 |
background-position: bottom center; |
| 445 |
height: 1em; |
| 446 |
width: 1em; |
| 447 |
margin: 0 0 0 2px; |
| 448 |
opacity: 0.60; |
| 449 |
} |
| 450 |
|
| 451 |
/* PLOS ONE in all their domain permutations... */ |
| 452 |
.md-content a[href*='plosone.org']::after, |
| 453 |
.md-content a[href*='plos.org']::after, |
| 454 |
.md-content a[href*='www.plos']::after { |
| 455 |
background-image: url("/autoimport/assets/images/plos.svg"); |
| 456 |
} |
| 457 |
.md-content a[href*='plosone.org']:hover::after, |
| 458 |
.md-content a[href*='plos.org']:hover::after, |
| 459 |
.md-content a[href*='www.plos']:hover::after { |
| 460 |
opacity: 0.3; |
| 461 |
} |
| 462 |
.md-content a[href*='plosone.org']::after, |
| 463 |
.md-content a[href*='plos.org']::after, |
| 464 |
.md-content a[href*='www.plos']::after { |
| 465 |
content: ""; |
| 466 |
display: inline-block; |
| 467 |
position: static; |
| 468 |
background-repeat: no-repeat; |
| 469 |
background-position: bottom center; |
| 470 |
height: 1.1em; |
| 471 |
width: 1em; |
| 472 |
margin: 0 0 1px 3px; |
| 473 |
opacity: 0.50; |
| 474 |
} |
| 475 |
|
| 476 |
/* Patreon: used the old one (https://upload.wikimedia.org/wikipedia/commons/9/94/Patreon_logo.svg) because I don't like the new one */ |
| 477 |
.md-content a[href*='patreon.com']::after { |
| 478 |
background-image: url("/autoimport/assets/images/patreon.svg"); |
| 479 |
} |
| 480 |
.md-content a[href*='patreon.com']:hover::after { |
| 481 |
opacity: 0.3; |
| 482 |
} |
| 483 |
.md-content a[href*='patreon.com']::after { |
| 484 |
content: ""; |
| 485 |
display: inline-block; |
| 486 |
position: static; |
| 487 |
background-repeat: no-repeat; |
| 488 |
background-position: bottom center; |
| 489 |
height: 1.1em; |
| 490 |
width: 1em; |
| 491 |
margin: 0 0 0 2px; |
| 492 |
opacity: 0.60;} |
| 493 |
|
| 494 |
/* Upton Tea */ |
| 495 |
.md-content a[href*='uptontea.com']::after { |
| 496 |
background-image: url("/autoimport/assets/images/uptontea.svg"); |
| 497 |
} |
| 498 |
.md-content a[href*='uptontea.com']:hover::after { |
| 499 |
opacity: 0.3; |
| 500 |
} |
| 501 |
.md-content a[href*='uptontea.com']::after { |
| 502 |
content: ""; |
| 503 |
display: inline-block; |
| 504 |
position: static; |
| 505 |
background-repeat: no-repeat; |
| 506 |
background-position: bottom center; |
| 507 |
height: 1.1em; |
| 508 |
width: 1em; |
| 509 |
margin: 0 0 0 2px; |
| 510 |
opacity: 0.60;} |
| 511 |
|
| 512 |
/* Wired */ |
| 513 |
.md-content a[href*='wired.com']::after { |
| 514 |
background-image: url("/autoimport/assets/images/wired.svg"); |
| 515 |
} |
| 516 |
.md-content a[href*='wired.com']:hover::after { |
| 517 |
opacity: 0.3; |
| 518 |
} |
| 519 |
.md-content a[href*='wired.com']::after { |
| 520 |
content: ""; |
| 521 |
display: inline-block; |
| 522 |
position: static; |
| 523 |
background-repeat: no-repeat; |
| 524 |
background-position: bottom center; |
| 525 |
height: 0.75em; |
| 526 |
width: 0.75em; |
| 527 |
margin: 0 0 2px 3px; |
| 528 |
opacity: 0.50; |
| 529 |
} |
| 530 |
|
| 531 |
/* The Washington Post: truncated their blackletter to 'WP' */ |
| 532 |
.md-content a[href*='washingtonpost.com']::after { |
| 533 |
background-image: url("/autoimport/assets/images/washingtonpost.svg"); |
| 534 |
} |
| 535 |
.md-content a[href*='washingtonpost.com']:hover::after { |
| 536 |
opacity: 0.3; |
| 537 |
} |
| 538 |
.md-content a[href*='washingtonpost.com']::after { |
| 539 |
content: ""; |
| 540 |
display: inline-block; |
| 541 |
position: static; |
| 542 |
background-repeat: no-repeat; |
| 543 |
background-position: bottom center; |
| 544 |
height: 1em; |
| 545 |
width: 1em; |
| 546 |
margin: 0 0 0px 3px; |
| 547 |
opacity: 0.60; |
| 548 |
} |
| 549 |
|
| 550 |
/* The New York Times: reduction of full SVG logo to just the 'T' they use as an icon */ |
| 551 |
.md-content a[href*='nytimes.com']::after { |
| 552 |
background-image: url("/autoimport/assets/images/newyorktimes.svg");} |
| 553 |
.md-content a[href*='nytimes.com']:hover::after { |
| 554 |
opacity: 0.45; |
| 555 |
} |
| 556 |
.md-content a[href*='nytimes.com']::after { |
| 557 |
content: ""; |
| 558 |
display: inline-block; |
| 559 |
position: static; |
| 560 |
background-repeat: no-repeat; |
| 561 |
background-position: bottom center; |
| 562 |
height: 1em; |
| 563 |
width: 0.8em; |
| 564 |
margin:0 0 2px 3px; |
| 565 |
opacity: 0.60; |
| 566 |
} |
| 567 |
|
| 568 |
/* NCBI/Pubmed: simplification of their logo (https://upload.wikimedia.org/wikipedia/commons/0/07/US-NLM-NCBI-Logo.svg) */ |
| 569 |
.md-content a[href*='nlm.nih.gov']::after { |
| 570 |
background-image: url("/autoimport/assets/images/nlm-ncbi.svg"); |
| 571 |
} |
| 572 |
.md-content a[href*='nlm.nih.gov']:hover::after { |
| 573 |
opacity: 0.45; |
| 574 |
} |
| 575 |
.md-content a[href*='nlm.nih.gov']::after { |
| 576 |
content: ""; |
| 577 |
display: inline-block; |
| 578 |
position: static; |
| 579 |
background-repeat: no-repeat; |
| 580 |
background-position: bottom center; |
| 581 |
height: 1em; |
| 582 |
width: 0.8em; |
| 583 |
margin:0 0 2px 3px; |
| 584 |
opacity: 0.60; |
| 585 |
} |
| 586 |
|
| 587 |
/* The New Yorker: the Dandy SVG, simplified & rotated more vertically */ |
| 588 |
.md-content a[href*='newyorker.com']::after { |
| 589 |
background-image: url("/autoimport/assets/images/thenewyorker.svg"); |
| 590 |
} |
| 591 |
.md-content a[href*='newyorker.com']:hover::after { |
| 592 |
opacity: 0.45; |
| 593 |
} |
| 594 |
.md-content a[href*='newyorker.com']::after { |
| 595 |
content: ""; |
| 596 |
display: inline-block; |
| 597 |
position: static; |
| 598 |
background-repeat: no-repeat; |
| 599 |
background-position: bottom center; |
| 600 |
height: 1.3em; |
| 601 |
width: 0.9em; |
| 602 |
margin: 0 0 0px 2px; |
| 603 |
opacity: 0.60; |
| 604 |
} |
| 605 |
|
| 606 |
/* El Grauniad */ |
| 607 |
.md-content a[href*='theguardian.com']::after, |
| 608 |
.md-content a[href*='www.guardian.co.uk']::after { |
| 609 |
background-image: url("/autoimport/assets/images/theguardian.svg"); |
| 610 |
} |
| 611 |
.md-content a[href*='theguardian.com']:hover::after, |
| 612 |
.md-content a[href*='www.guardian.co.uk']:hover::after { |
| 613 |
opacity: 0.3; |
| 614 |
} |
| 615 |
.md-content a[href*='theguardian.com']::after, |
| 616 |
.md-content a[href*='www.guardian.co.uk']::after { |
| 617 |
content: ""; |
| 618 |
display: inline-block; |
| 619 |
position: static; |
| 620 |
background-repeat: no-repeat; |
| 621 |
background-position: bottom center; |
| 622 |
height: 1.1em; |
| 623 |
width: 1em; |
| 624 |
margin: 0 0 0 2px; |
| 625 |
opacity: 0.60; |
| 626 |
} |
| 627 |
|
| 628 |
/* Reddit */ |
| 629 |
.md-content a[href*='reddit.com']::after { |
| 630 |
background-image: url("/autoimport/assets/images/reddit.svg"); |
| 631 |
} |
| 632 |
.md-content a[href*='reddit.com']:hover::after { |
| 633 |
opacity: 0.3; |
| 634 |
} |
| 635 |
.md-content a[href*='reddit.com']::after { |
| 636 |
content: ""; |
| 637 |
display: inline-block; |
| 638 |
position: static; |
| 639 |
background-repeat: no-repeat; |
| 640 |
background-position: bottom center; |
| 641 |
height: 0.75em; |
| 642 |
width: 0.75em; |
| 643 |
margin: 0 0 2px 3px; |
| 644 |
opacity: 0.50; |
| 645 |
} |
| 646 |
|
| 647 |
/* PG/HN/YC (shared logo): */ |
| 648 |
.md-content a[href*='paulgraham.com']::after, |
| 649 |
.md-content a[href*='ycombinator.com']::after { |
| 650 |
background-image: url("/autoimport/assets/images/hn.svg"); |
| 651 |
} |
| 652 |
.md-content a[href*='paulgraham.com']:hover::after, |
| 653 |
.md-content a[href*='ycombinator.com']:hover::after { |
| 654 |
opacity: 0.4; |
| 655 |
} |
| 656 |
.md-content a[href*='paulgraham.com']::after, |
| 657 |
.md-content a[href*='ycombinator.com']::after { |
| 658 |
content: ""; |
| 659 |
display: inline-block; |
| 660 |
position: static; |
| 661 |
background-repeat: no-repeat; |
| 662 |
background-position: bottom center; |
| 663 |
height: 0.75em; |
| 664 |
width: 0.75em; |
| 665 |
margin: 0 0 0 4px; |
| 666 |
opacity: 0.60; |
| 667 |
} |
| 668 |
|
| 669 |
/* MIRI/intelligence.org */ |
| 670 |
.md-content a[href*='intelligence.org']::after { |
| 671 |
background-image: url("/autoimport/assets/images/miri.svg"); |
| 672 |
} |
| 673 |
.md-content a[href*='intelligence.org']:hover::after { |
| 674 |
opacity: 0.3; |
| 675 |
} |
| 676 |
.md-content a[href*='intelligence.org']::after { |
| 677 |
content: ""; |
| 678 |
display: inline-block; |
| 679 |
position: static; |
| 680 |
background-repeat: no-repeat; |
| 681 |
background-position: bottom center; |
| 682 |
height: 1em; |
| 683 |
width: 1em; |
| 684 |
margin: 0 0 0 2px; |
| 685 |
opacity: 0.60; |
| 686 |
} |
| 687 |
|
| 688 |
/* DeepMind; match articles or anchors about DM too */ |
| 689 |
.md-content a[href*='deepmind']::after { |
| 690 |
background-image: url("/autoimport/assets/images/deepmind.svg"); |
| 691 |
} |
| 692 |
.md-content a[href*='deepmind']:hover::after { |
| 693 |
opacity: 0.5; |
| 694 |
} |
| 695 |
.md-content a[href*='deepmind']::after { |
| 696 |
content: ""; |
| 697 |
display: inline-block; |
| 698 |
position: static; |
| 699 |
background-repeat: no-repeat; |
| 700 |
background-position: bottom center; |
| 701 |
height: 1.1em; |
| 702 |
width: 1.1em; |
| 703 |
margin: 0 0 1px 4px; |
| 704 |
opacity: 0.60; |
| 705 |
} |
| 706 |
|
| 707 |
.md-content a[href*='openai']::after { |
| 708 |
background-image: url("/autoimport/assets/images/openai.svg"); |
| 709 |
} |
| 710 |
.md-content a[href*='openai']:hover::after { |
| 711 |
opacity: 0.5; |
| 712 |
} |
| 713 |
.md-content a[href*='openai']::after { |
| 714 |
content: ""; |
| 715 |
display: inline-block; |
| 716 |
position: static; |
| 717 |
background-repeat: no-repeat; |
| 718 |
background-position: bottom center; |
| 719 |
height: 1.1em; |
| 720 |
width: 1em; |
| 721 |
margin: 0 0 0px 3px; |
| 722 |
opacity: 0.60; |
| 723 |
} |
| 724 |
|
| 725 |
/* Twitter */ |
| 726 |
.md-content a[href*='twitter.com']::after { |
| 727 |
background-image: url("/autoimport/assets/images/twitter.svg"); |
| 728 |
} |
| 729 |
.md-content a[href*='twitter.com']:hover::after { |
| 730 |
opacity: 0.3; |
| 731 |
} |
| 732 |
.md-content a[href*='twitter.com']::after { |
| 733 |
content: ""; |
| 734 |
display: inline-block; |
| 735 |
position: static; |
| 736 |
background-repeat: no-repeat; |
| 737 |
background-position: bottom center; |
| 738 |
height: 0.75em; |
| 739 |
width: 0.75em; |
| 740 |
margin: 0 0 2px 4px; |
| 741 |
opacity: 0.60; |
| 742 |
} |
| 743 |
|
| 744 |
/* Erowid */ |
| 745 |
.md-content a[href*='erowid.org']::after { |
| 746 |
background-image: url("/autoimport/assets/images/erowid.svg"); |
| 747 |
} |
| 748 |
.md-content a[href*='erowid.org']:hover::after { |
| 749 |
opacity: 0.3; |
| 750 |
} |
| 751 |
.md-content a[href*='erowid.org']::after { |
| 752 |
content: ""; |
| 753 |
display: inline-block; |
| 754 |
position: static; |
| 755 |
background-repeat: no-repeat; |
| 756 |
background-position: bottom center; |
| 757 |
height: 1em; |
| 758 |
width: 1em; |
| 759 |
margin: 0 0 0 2px; |
| 760 |
opacity: 0.60; |
| 761 |
} |
| 762 |
|
| 763 |
/* Wikipedia */ |
| 764 |
|
| 765 |
.md-content a[href*="wikipedia.org"]::after, |
| 766 |
.md-content a[href*="wikimedia.org"]::after, |
| 767 |
.md-content a[href*="wikimediafoundation.org"]::after, |
| 768 |
.md-content a[href*="wikisource.org"]::after { |
| 769 |
content: ""; |
| 770 |
/* WP is used on almost every page, so make an exception and inline it */ |
| 771 |
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNTEyIj48cGF0aCBkPSJNNjQwIDUxLjJsLS4zIDEyLjJjLTI4LjEuOC00NSAxNS44LTU1LjggNDAuMy0yNSA1Ny44LTEwMy4zIDI0MC0xNTUuMyAzNTguNkg0MTVsLTgxLjktMTkzLjFjLTMyLjUgNjMuNi02OC4zIDEzMC05OS4yIDE5My4xLS4zLjMtMTUgMC0xNS0uM0MxNzIgMzUyLjMgMTIyLjggMjQzLjQgNzUuOCAxMzMuNCA2NC40IDEwNi43IDI2LjQgNjMuNC4yIDYzLjdjMC0zLjEtLjMtMTAtLjMtMTQuMmgxNjEuOXYxMy45Yy0xOS4yIDEuMS01Mi44IDEzLjMtNDMuMyAzNC4yIDIxLjkgNDkuNyAxMDMuNiAyNDAuMyAxMjUuNiAyODguNiAxNS0yOS43IDU3LjgtMTA5LjIgNzUuMy0xNDIuOC0xMy45LTI4LjMtNTguNi0xMzMuOS03Mi44LTE2MC05LjctMTcuOC0zNi4xLTE5LjQtNTUuOC0xOS43VjQ5LjhsMTQyLjUuM3YxMy4xYy0xOS40LjYtMzguMSA3LjgtMjkuNCAyNi4xIDE4LjkgNDAgMzAuNiA2OC4xIDQ4LjEgMTA0LjcgNS42LTEwLjggMzQuNy02OS40IDQ4LjEtMTAwLjggOC45LTIwLjYtMy45LTI4LjYtMzguNi0yOS40LjMtMy42IDAtMTAuMy4zLTEzLjYgNDQuNC0uMyAxMTEuMS0uMyAxMjMuMS0uNnYxMy42Yy0yMi41LjgtNDUuOCAxMi44LTU4LjEgMzEuN2wtNTkuMiAxMjIuOGM2LjQgMTYuMSA2My4zIDE0Mi44IDY5LjIgMTU2LjdMNTU5LjIgOTEuOGMtOC42LTIzLjEtMzYuNC0yOC4xLTQ3LjItMjguM1Y0OS42bDEyNy44IDEuMS4yLjV6Ii8+PC9zdmc+'); |
| 772 |
background-repeat: no-repeat; |
| 773 |
background-size: 0.75em; |
| 774 |
background-position: right 1px top; |
| 775 |
width: 0.825em; |
| 776 |
height: 0.825em; |
| 777 |
display: inline-block; |
| 778 |
vertical-align: baseline; |
| 779 |
opacity: 0.825; |
| 780 |
} |
| 781 |
.md-content a[href*="wikipedia.org"]:hover::after, |
| 782 |
.md-content a[href*="wikimedia.org"]:hover::after, |
| 783 |
.md-content a[href*="wikimediafoundation.org"]:hover::after, |
| 784 |
.md-content a[href*="wikisource.org"]:hover::after { |
| 785 |
opacity: 0.6; |
| 786 |
} |
| 787 |
|
| 788 |
/* YouTube/Bandcamp/SoundCloud links */ |
| 789 |
.md-content a[href*='youtube.com']::after, |
| 790 |
.md-content a[href*='youtu.be']::after, |
| 791 |
.md-content a[href*='soundcloud.com']::after, |
| 792 |
.md-content a[href*='bandcamp.com']::after { |
| 793 |
background-image: url('/autoimport/assets/images/video.svg'); |
| 794 |
} |
| 795 |
.md-content a[href*='youtube.com']:hover::after, |
| 796 |
.md-content a[href*='youtu.be']:hover::after, |
| 797 |
.md-content a[href*='soundcloud.com']:hover::after, |
| 798 |
.md-content a[href*='bandcamp.com']:hover::after { |
| 799 |
opacity: 0.3; |
| 800 |
} |
| 801 |
.md-content a[href*='youtube.com']::after, |
| 802 |
.md-content a[href*='youtu.be']::after, |
| 803 |
.md-content a[href*='soundcloud.com']::after, |
| 804 |
.md-content a[href*='bandcamp.com']::after { |
| 805 |
content: ""; |
| 806 |
display: inline-block; |
| 807 |
position: static; |
| 808 |
background-repeat: no-repeat; |
| 809 |
background-position: bottom center; |
| 810 |
height: 1em; |
| 811 |
width: 1em; |
| 812 |
margin: 0 0 0 3px; |
| 813 |
opacity: 0.60; |
| 814 |
} |
| 815 |
|
| 816 |
/* The *Exchange/*Overflow family of websites: */ |
| 817 |
.md-content a[href*="overflow.net"]::after, |
| 818 |
.md-content a[href*="overflow.com"]::after, |
| 819 |
.md-content a[href*="stackexchange.com"]::after { |
| 820 |
content: ""; |
| 821 |
background-image: url("/autoimport/assets/images/stackexchange.svg"); |
| 822 |
background-repeat: no-repeat; |
| 823 |
background-size: 0.75em; |
| 824 |
background-position: right 1px top; |
| 825 |
width: 0.85em; |
| 826 |
height: 0.85em; |
| 827 |
display: inline-block; |
| 828 |
vertical-align: baseline; |
| 829 |
opacity: 0.85; |
| 830 |
} |
| 831 |
.md-content a[href*="overflow.net"]:hover::after, |
| 832 |
.md-content a[href*="overflow.com"]::after, |
| 833 |
.md-content a[href*="stackexchange.com"]:hover::after { |
| 834 |
opacity: 0.6; |
| 835 |
} |
| 836 |
|
| 837 |
/* Amazon */ |
| 838 |
.md-content a[href*="amazon.com"]::after, |
| 839 |
.md-content a[href*="amazon.co."]::after, |
| 840 |
.md-content a[href*="amzn.com"]::after { |
| 841 |
content: ""; |
| 842 |
background-image: url("/autoimport/assets/images/amazon.svg"); |
| 843 |
background-repeat: no-repeat; |
| 844 |
background-size: 0.75em; |
| 845 |
background-position: right 1px top; |
| 846 |
width: 1em; |
| 847 |
height: 0.8em; |
| 848 |
display: inline-block; |
| 849 |
vertical-align: baseline; |
| 850 |
opacity: 0.81; |
| 851 |
} |
| 852 |
.md-content a[href*="amazon.com"]:hover::after, |
| 853 |
.md-content a[href*="amazon.co."]:hover::after, |
| 854 |
.md-content a[href*="amzn.com"]:hover::after { |
| 855 |
opacity: 0.6; |
| 856 |
} |
| 857 |
|
| 858 |
/* Blue book: Fetch all internal links not `//` and the external links of my |
| 859 |
* blog */ |
| 860 |
.md-content a[href*='lyz-code.github.io']::after, |
| 861 |
.md-content a:not([href*="//"])::after { |
| 862 |
background-image: url("/autoimport/assets/images/pydo.svg"); |
| 863 |
} |
| 864 |
.md-content a[href*='lyz-code.github.io']:hover::after, |
| 865 |
.md-content a:not([href*="//"])::after { |
| 866 |
opacity: 0.3; |
| 867 |
} |
| 868 |
.md-content a[href*='lyz-code.github.io']::after, |
| 869 |
.md-content a:not([href*="//"])::after { |
| 870 |
content: ""; |
| 871 |
display: inline-block; |
| 872 |
position: static; |
| 873 |
margin: 0 0 2px 3px; |
| 874 |
|
| 875 |
background-repeat: no-repeat; |
| 876 |
background-size: 0.75em; |
| 877 |
background-position: right 1px top; |
| 878 |
width: 0.825em; |
| 879 |
height: 0.825em; |
| 880 |
display: inline-block; |
| 881 |
vertical-align: baseline; |
| 882 |
opacity: 0.5; |
| 883 |
} |
| 884 |
|
| 885 |
.md-content a[href*='mailto']::after, |
| 886 |
.md-content a[title='Permanent link'] { |
| 887 |
text-decoration: none; |
| 888 |
} |
| 889 |
|
| 890 |
.md-content a[href*='mailto']::after, |
| 891 |
.md-content a[title='Permanent link']::after { |
| 892 |
opacity: 0; |
| 893 |
width: 0; |
| 894 |
} |
| 895 |
|
| 896 |
/* Gitea */ |
| 897 |
.md-content a[href*='git.digitales.cslabrecha.org']::after { |
| 898 |
background-image: url("/autoimport/assets/images/gitea.svg"); |
| 899 |
} |
| 900 |
.md-content a[href*='git.digitales.cslabrecha.org']:hover::after { |
| 901 |
opacity: 0.3; |
| 902 |
} |
| 903 |
.md-content a[href*='git.digitales.cslabrecha.org']::after { |
| 904 |
content: ""; |
| 905 |
display: inline-block; |
| 906 |
position: static; |
| 907 |
margin: 0 0 2px 3px; |
| 908 |
|
| 909 |
background-repeat: no-repeat; |
| 910 |
background-size: 0.75em; |
| 911 |
background-position: right 1px top; |
| 912 |
width: 0.825em; |
| 913 |
height: 0.825em; |
| 914 |
display: inline-block; |
| 915 |
vertical-align: baseline; |
| 916 |
opacity: 0.60; |
| 917 |
} |
| 918 |
|
| 919 |
/* Github; I exclude github.io because that's blogs */ |
| 920 |
.md-content a[href*='github.com']::after { |
| 921 |
background-image: url("/autoimport/assets/images/github.svg"); |
| 922 |
} |
| 923 |
.md-content a[href*='github.com']:hover::after { |
| 924 |
opacity: 0.3; |
| 925 |
} |
| 926 |
.md-content a[href*='github.com']::after { |
| 927 |
content: ""; |
| 928 |
display: inline-block; |
| 929 |
position: static; |
| 930 |
background-repeat: no-repeat; |
| 931 |
background-position: bottom center; |
| 932 |
height: 0.75em; |
| 933 |
width: 0.75em; |
| 934 |
margin: 0 0 2px 3px; |
| 935 |
opacity: 0.60; |
| 936 |
} |
| 937 |
|
| 938 |
.md-content a[title='Edit this page'] { |
| 939 |
text-decoration: none; |
| 940 |
} |
| 941 |
.md-content a[title='Edit this page']::after { |
| 942 |
opacity: 0; |
| 943 |
} |
| 944 |
|
| 945 |
/* Dropbox: old file-host, deprecated since they've started killing inactive accounts */ |
| 946 |
.md-content a[href*='dropbox.com']::after, |
| 947 |
.md-content a[href*='dropboxusercontent.com']::after { |
| 948 |
background-image: url("/autoimport/assets/images/dropbox.svg"); |
| 949 |
} |
| 950 |
.md-content a[href*='dropbox.com']:hover::after, |
| 951 |
.md-content a[href*='dropboxusercontent.com']:hover::after { |
| 952 |
opacity: 0.3; |
| 953 |
} |
| 954 |
.md-content a[href*='dropbox.com']::after, |
| 955 |
.md-content a[href*='dropboxusercontent.com']::after { |
| 956 |
content: ""; |
| 957 |
display: inline-block; |
| 958 |
position: static; |
| 959 |
background-repeat: no-repeat; |
| 960 |
background-position: bottom center; |
| 961 |
height: 0.75em; |
| 962 |
width: 0.75em; |
| 963 |
margin: 0 0 2px 3px; |
| 964 |
opacity: 0.50; |
| 965 |
} |
| 966 |
|
| 967 |
/* Kubernetes docs */ |
| 968 |
|
| 969 |
.md-content a[href*='kubernetes.io']::after { |
| 970 |
background-image: url("/autoimport/assets/images/kubernetes.svg"); |
| 971 |
opacity: 1; |
| 972 |
} |
| 973 |
.md-content a[href*='kubernetes.io']:hover::after { |
| 974 |
opacity: 0.3; |
| 975 |
} |
| 976 |
.md-content a[href*='kubernetes.io']::after { |
| 977 |
content: ""; |
| 978 |
display: inline-block; |
| 979 |
position: static; |
| 980 |
background-repeat: no-repeat; |
| 981 |
background-position: bottom center; |
| 982 |
height: 0.75em; |
| 983 |
width: 0.75em; |
| 984 |
margin: 0 0 2px 3px; |
| 985 |
opacity: 0.60; |
| 986 |
} |
| 987 |
|
| 988 |
/* MegaUpload/Mega: filesharing (used for big files) */ |
| 989 |
.md-content a[href*='mega.nz']::after { |
| 990 |
background-image: url("/autoimport/assets/images/mega.svg"); |
| 991 |
} |
| 992 |
.md-content a[href*='mega.nz']:hover::after { |
| 993 |
opacity: 0.3; |
| 994 |
} |
| 995 |
.md-content a[href*='mega.nz']::after { |
| 996 |
content: ""; |
| 997 |
display: inline-block; |
| 998 |
position: static; |
| 999 |
background-repeat: no-repeat; |
| 1000 |
background-position: bottom center; |
| 1001 |
height: 0.75em; |
| 1002 |
width: 0.75em; |
| 1003 |
margin: 0 0 2px 3px; |
| 1004 |
opacity: 0.60; |
| 1005 |
} |
| 1006 |
|
| 1007 |
.md-content a[href*='archive.org']::after, |
| 1008 |
.md-content a[href*='archive-it.org']::after, |
| 1009 |
.md-content a[href*='archiveteam.org']::after, |
| 1010 |
.md-content a[href*='waybackmachine.org']::after { |
| 1011 |
background-image: url("/autoimport/assets/images/internetarchive.svg"); |
| 1012 |
} |
| 1013 |
.md-content a[href*='archive.org']:hover::after, |
| 1014 |
.md-content a[href*='archive-it.org']:hover::after, |
| 1015 |
.md-content a[href*='archiveteam.org']:hover::after, |
| 1016 |
.md-content a[href*='waybackmachine.org']:hover::after { |
| 1017 |
opacity: 0.3; |
| 1018 |
} |
| 1019 |
.md-content a[href*='archive.org']::after, |
| 1020 |
.md-content a[href*='archive-it.org']::after, |
| 1021 |
.md-content a[href*='archiveteam.org']::after, |
| 1022 |
.md-content a[href*='waybackmachine.org']::after { |
| 1023 |
content: ""; |
| 1024 |
display: inline-block; |
| 1025 |
position: static; |
| 1026 |
background-repeat: no-repeat; |
| 1027 |
background-position: bottom center; |
| 1028 |
height: 0.75em; |
| 1029 |
width: 0.75em; |
| 1030 |
margin: 0 0 2px 3px; |
| 1031 |
opacity: 0.60; |
| 1032 |
} |
| 1033 |
|
| 1034 |
/*=--------------------------------------------=*/ |
| 1035 |
/*= Icons for certain link types: by file type =*/ |
| 1036 |
/*=--------------------------------------------=*/ |
| 1037 |
/* Note: some file extension link types have are selected additionally by |
| 1038 |
origin on gwern.net, because they frequently appear at the ends of ordinary |
| 1039 |
web page URLs. |
| 1040 |
*/ |
| 1041 |
|
| 1042 |
/* PDFs */ |
| 1043 |
.md-content a[href$='.pdf' i]::after, |
| 1044 |
.md-content a[href$='/pdf' i]::after, |
| 1045 |
.md-content a[href$='type=pdf' i]::after, |
| 1046 |
.md-content a[href*='.pdf#' i]::after, |
| 1047 |
.md-content a[href*='pdfs.semanticscholar.org' i]::after, |
| 1048 |
.md-content a[href$='.epub' i]::after, |
| 1049 |
.md-content a[href*='citeseerx.ist.psu.edu' i]::after, |
| 1050 |
.md-content a[href*='eprint.iacr.org' i]::after, |
| 1051 |
/* Textfiles */ |
| 1052 |
.md-content a[href$='.opml' i]::after, |
| 1053 |
.md-content a[href$='.page' i]::after, |
| 1054 |
.md-content a[href$='.txt' i]::after, |
| 1055 |
.md-content a[href$='.xml' i]::after, |
| 1056 |
/* Code */ |
| 1057 |
.md-content a[href$='.css' i]::after, |
| 1058 |
.md-content a[href$='.hs' i]::after, |
| 1059 |
.md-content a[href$='.js' i]::after, |
| 1060 |
.md-content a[href$='.json' i]::after, |
| 1061 |
.md-content a[href^="."][href$='.php' i]::after, |
| 1062 |
.md-content a[href$='.sh' i]::after, |
| 1063 |
.md-content a[href$='.R' i]::after, |
| 1064 |
.md-content a[href$='.patch' i]::after, |
| 1065 |
.md-content a[href$='.diff' i]::after, |
| 1066 |
/* Word */ |
| 1067 |
.md-content a[href$='.doc' i]::after, |
| 1068 |
.md-content a[href$='.docx' i]::after, |
| 1069 |
.md-content a[href*='docs.google.com' i]::after, |
| 1070 |
/* Excel */ |
| 1071 |
.md-content a[href$='.xls' i]::after, |
| 1072 |
.md-content a[href$='.xlsx' i]::after, |
| 1073 |
.md-content a[href$='.ods' i]::after, |
| 1074 |
/* CSV */ |
| 1075 |
.md-content a[href$='.csv' i]::after, |
| 1076 |
/* Images */ |
| 1077 |
.md-content a[href$='.gif' i]::after, |
| 1078 |
.md-content a[href$='.bmp' i]::after, |
| 1079 |
.md-content a[href$='.ico' i]::after, |
| 1080 |
.md-content a[href$='.jpg' i]::after, |
| 1081 |
.md-content a[href$='.jpeg' i]::after, |
| 1082 |
.md-content a[href$='.png' i]::after, |
| 1083 |
.md-content a[href$='.svg' i]::after, |
| 1084 |
.md-content a[href$='.xcf' i]::after, |
| 1085 |
.md-content a[href*='imgur.com']::after, |
| 1086 |
/* Audio */ |
| 1087 |
.md-content a[href$='.mp3' i]::after, |
| 1088 |
.md-content a[href$='.wav' i]::after, |
| 1089 |
.md-content a[href$='.flac' i]::after, |
| 1090 |
.md-content a[href$='.ogg' i]::after, |
| 1091 |
.md-content a[href$='.rm' i]::after, |
| 1092 |
/* Video */ |
| 1093 |
.md-content a[href$='.swf' i]::after, |
| 1094 |
.md-content a[href$='.avi' i]::after, |
| 1095 |
.md-content a[href$='.mp4' i]::after, |
| 1096 |
.md-content a[href$='.webm' i]::after, |
| 1097 |
/* Archives */ |
| 1098 |
.md-content a[href$='.tar' i]::after, |
| 1099 |
.md-content a[href$='.zip' i]::after, |
| 1100 |
.md-content a[href$='.xz' i]::after, |
| 1101 |
.md-content a[href$='.img' i]::after, |
| 1102 |
/* Misc */ |
| 1103 |
.md-content a[href$='.ebt' i]::after, |
| 1104 |
.md-content a[href$='.mdb' i]::after, |
| 1105 |
.md-content a[href$='.mht' i]::after, |
| 1106 |
.md-content a[href$='.ttf' i]::after { |
| 1107 |
content: ""; |
| 1108 |
display: inline-block; |
| 1109 |
position: static; |
| 1110 |
background-repeat: no-repeat; |
| 1111 |
background-position: bottom center; |
| 1112 |
height: 0.75em; |
| 1113 |
width: 0.75em; |
| 1114 |
margin: 0 0 0 2px; |
| 1115 |
opacity: 0.55; |
| 1116 |
} |
| 1117 |
/* PDFs */ |
| 1118 |
.md-content a[href$='.pdf' i]:hover::after, |
| 1119 |
.md-content a[href$='/pdf' i]:hover::after, |
| 1120 |
.md-content a[href$='type=pdf' i]:hover::after, |
| 1121 |
.md-content a[href*='.pdf#' i]:hover::after, |
| 1122 |
.md-content a[href$='.epub' i]:hover::after, |
| 1123 |
.md-content a[href*='pdfs.semanticscholar.org' i]:hover::after, |
| 1124 |
.md-content a[href*='citeseerx.ist.psu.edu' i]:hover::after, |
| 1125 |
.md-content a[href*='eprint.iacr.org' i]:hover::after, |
| 1126 |
/* Textfiles */ |
| 1127 |
.md-content a[href$='.opml' i]:hover::after, |
| 1128 |
.md-content a[href$='.page' i]:hover::after, |
| 1129 |
.md-content a[href$='.txt' i]:hover::after, |
| 1130 |
.md-content a[href$='.xml' i]:hover::after, |
| 1131 |
/* Code */ |
| 1132 |
.md-content a[href$='.css' i]:hover::after, |
| 1133 |
.md-content a[href$='.hs' i]:hover::after, |
| 1134 |
.md-content a[href$='.js' i]:hover::after, |
| 1135 |
.md-content a[href$='.json' i]:hover::after, |
| 1136 |
.md-content a[href^="."][href$='.php' i]:hover::after, |
| 1137 |
.md-content a[href$='.sh' i]:hover::after, |
| 1138 |
.md-content a[href$='.R' i]:hover::after, |
| 1139 |
.md-content a[href$='.patch' i]:hover::after, |
| 1140 |
.md-content a[href$='.diff' i]:hover::after, |
| 1141 |
/* Word */ |
| 1142 |
.md-content a[href$='.doc' i]:hover::after, |
| 1143 |
.md-content a[href$='.docx' i]:hover::after, |
| 1144 |
.md-content a[href*='docs.google.com' i]:hover::after, |
| 1145 |
/* Excel */ |
| 1146 |
.md-content a[href$='.xls' i]:hover::after, |
| 1147 |
.md-content a[href$='.xlsx' i]:hover::after, |
| 1148 |
.md-content a[href$='.ods' i]:hover::after, |
| 1149 |
/* CSV */ |
| 1150 |
.md-content a[href$='.csv' i]:hover::after, |
| 1151 |
/* Images */ |
| 1152 |
.md-content a[href$='.gif' i]:hover::after, |
| 1153 |
.md-content a[href$='.bmp' i]:hover::after, |
| 1154 |
.md-content a[href$='.ico' i]:hover::after, |
| 1155 |
.md-content a[href$='.jpg' i]:hover::after, |
| 1156 |
.md-content a[href$='.jpeg' i]:hover::after, |
| 1157 |
.md-content a[href*='imgur.com']:hover::After, |
| 1158 |
.md-content a[href$='.png' i]:hover::after, |
| 1159 |
.md-content a[href$='.svg' i]:hover::after, |
| 1160 |
.md-content a[href$='.xcf' i]:hover::after, |
| 1161 |
/* Audio */ |
| 1162 |
.md-content a[href$='.mp3' i]:hover::after, |
| 1163 |
.md-content a[href$='.wav' i]:hover::after, |
| 1164 |
.md-content a[href$='.flac' i]:hover::after, |
| 1165 |
.md-content a[href$='.ogg' i]:hover::after, |
| 1166 |
.md-content a[href$='.rm' i]:hover::after, |
| 1167 |
/* Video */ |
| 1168 |
.md-content a[href$='.swf' i]:hover::after, |
| 1169 |
.md-content a[href$='.avi' i]:hover::after, |
| 1170 |
.md-content a[href$='.mp4' i]:hover::after, |
| 1171 |
.md-content a[href$='.webm' i]:hover::after, |
| 1172 |
/* Archives */ |
| 1173 |
.md-content a[href$='.tar' i]:hover::after, |
| 1174 |
.md-content a[href$='.zip' i]:hover::after, |
| 1175 |
.md-content a[href$='.xz' i]:hover::after, |
| 1176 |
.md-content a[href$='.img' i]:hover::after, |
| 1177 |
/* Misc */ |
| 1178 |
.md-content a[href$='.ebt' i]:hover::after, |
| 1179 |
.md-content a[href$='.mdb' i]:hover::after, |
| 1180 |
.md-content a[href$='.mht' i]:hover::after, |
| 1181 |
.md-content a[href$='.ttf' i]:hover::after { |
| 1182 |
opacity: 0.3; |
| 1183 |
} |
| 1184 |
|
| 1185 |
/* PDFs. |
| 1186 |
*/ |
| 1187 |
.md-content a[href$='.pdf' i]::after, |
| 1188 |
.md-content a[href$='/pdf' i]::after, |
| 1189 |
.md-content a[href$='type=pdf' i]::after, |
| 1190 |
.md-content a[href*='.pdf#' i]::after, |
| 1191 |
.md-content a[href$='.epub' i]::after, |
| 1192 |
.md-content a[href*='pdfs.semanticscholar.org' i]::after, |
| 1193 |
.md-content a[href*='citeseerx.ist.psu.edu' i]::after, |
| 1194 |
.md-content a[href*='eprint.iacr.org' i]::after { |
| 1195 |
opacity: 0.5; |
| 1196 |
/* PDFs are linked on every page, so make another exception */ |
| 1197 |
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQgNTEyIj48cGF0aCBkPSJNMTgxLjkgMjU2LjFjLTUtMTYtNC45LTQ2LjktMi00Ni45IDguNCAwIDcuNiAzNi45IDIgNDYuOXptLTEuNyA0Ny4yYy03LjcgMjAuMi0xNy4zIDQzLjMtMjguNCA2Mi43IDE4LjMtNyAzOS0xNy4yIDYyLjktMjEuOS0xMi43LTkuNi0yNC45LTIzLjQtMzQuNS00MC44ek04Ni4xIDQyOC4xYzAgLjggMTMuMi01LjQgMzQuOS00MC4yLTYuNyA2LjMtMjkuMSAyNC41LTM0LjkgNDAuMnpNMjQ4IDE2MGgxMzZ2MzI4YzAgMTMuMy0xMC43IDI0LTI0IDI0SDI0Yy0xMy4zIDAtMjQtMTAuNy0yNC0yNFYyNEMwIDEwLjcgMTAuNyAwIDI0IDBoMjAwdjEzNmMwIDEzLjIgMTAuOCAyNCAyNCAyNHptLTggMTcxLjhjLTIwLTEyLjItMzMuMy0yOS00Mi43LTUzLjggNC41LTE4LjUgMTEuNi00Ni42IDYuMi02NC4yLTQuNy0yOS40LTQyLjQtMjYuNS00Ny44LTYuOC01IDE4LjMtLjQgNDQuMSA4LjEgNzctMTEuNiAyNy42LTI4LjcgNjQuNi00MC44IDg1LjgtLjEgMC0uMS4xLS4yLjEtMjcuMSAxMy45LTczLjYgNDQuNS01NC41IDY4IDUuNiA2LjkgMTYgMTAgMjEuNSAxMCAxNy45IDAgMzUuNy0xOCA2MS4xLTYxLjggMjUuOC04LjUgNTQuMS0xOS4xIDc5LTIzLjIgMjEuNyAxMS44IDQ3LjEgMTkuNSA2NCAxOS41IDI5LjIgMCAzMS4yLTMyIDE5LjctNDMuNC0xMy45LTEzLjYtNTQuMy05LjctNzMuNi03LjJ6TTM3NyAxMDVMMjc5IDdjLTQuNS00LjUtMTAuNi03LTE3LTdoLTZ2MTI4aDEyOHYtNi4xYzAtNi4zLTIuNS0xMi40LTctMTYuOXptLTc0LjEgMjU1LjNjNC4xLTIuNy0yLjUtMTEuOS00Mi44LTkgMzcuMSAxNS44IDQyLjggOSA0Mi44IDl6Ii8+PC9zdmc+'); |
| 1198 |
} |
| 1199 |
|
| 1200 |
/* Textfiles. |
| 1201 |
*/ |
| 1202 |
.md-content a[href$='.opml' i]::after, |
| 1203 |
.md-content a[href$='.page' i]::after, |
| 1204 |
.md-content a[href$='.txt' i]::after, |
| 1205 |
.md-content a[href$='.xml' i]::after { |
| 1206 |
background-image: url('/autoimport/assets/images/txt.svg'); |
| 1207 |
} |
| 1208 |
|
| 1209 |
/* Code, scripts, etc. |
| 1210 |
*/ |
| 1211 |
.md-content a[href$='.css' i]::after, |
| 1212 |
.md-content a[href$='.hs' i]::after, |
| 1213 |
.md-content a[href$='.js' i]::after, |
| 1214 |
.md-content a[href$='.json' i]::after, |
| 1215 |
.md-content a[href$='.R' i]::after, |
| 1216 |
.md-content a[href$='.diff' i]::after, |
| 1217 |
.md-content a[href$='.patch' i]::after, |
| 1218 |
.md-content a[href^="."][href$='.php' i]::after, |
| 1219 |
.md-content a[href$='.sh' i]::after { |
| 1220 |
background-image: url('/autoimport/assets/images/code.svg'); |
| 1221 |
} |
| 1222 |
|
| 1223 |
/* Word (& compatible) documents. |
| 1224 |
*/ |
| 1225 |
.md-content a[href$='.doc' i]::after, |
| 1226 |
.md-content a[href$='.docx' i]::after, |
| 1227 |
.md-content a[href*='docs.google.com' i]::after { |
| 1228 |
background-image: url('/autoimport/assets/images/worddoc.svg'); |
| 1229 |
} |
| 1230 |
|
| 1231 |
/* Excel (& compatible) documents. |
| 1232 |
*/ |
| 1233 |
.md-content a[href$='.xls' i]::after, |
| 1234 |
.md-content a[href$='.ods' i]::after, |
| 1235 |
.md-content a[href$='.xlsx' i]::after { |
| 1236 |
background-image: url('/autoimport/assets/images/spreadsheet.svg'); |
| 1237 |
} |
| 1238 |
|
| 1239 |
/* CSV files. |
| 1240 |
*/ |
| 1241 |
.md-content a[href$='.csv' i]::after { |
| 1242 |
background-image: url('/autoimport/assets/images/csv.svg'); |
| 1243 |
} |
| 1244 |
|
| 1245 |
/* Images. |
| 1246 |
*/ |
| 1247 |
.md-content a[href$='.gif' i]::after, |
| 1248 |
.md-content a[href$='.bmp' i]::after, |
| 1249 |
.md-content a[href$='.ico' i]::after, |
| 1250 |
.md-content a[href$='.jpg' i]::after, |
| 1251 |
.md-content a[href$='.jpeg' i]::after, |
| 1252 |
.md-content a[href$='.png' i]::after, |
| 1253 |
.md-content a[href$='.svg' i]::after, |
| 1254 |
.md-content a[href$='.xcf' i]::after, |
| 1255 |
.md-content a[href*='imgur.com']::after { |
| 1256 |
background-image: url('/autoimport/assets/images/image.svg'); |
| 1257 |
} |
| 1258 |
|
| 1259 |
/* Audio files. |
| 1260 |
*/ |
| 1261 |
.md-content a[href$='.mp3' i]::after, |
| 1262 |
.md-content a[href$='.wav' i]::after, |
| 1263 |
.md-content a[href$='.flac' i]::after, |
| 1264 |
.md-content a[href$='.rm' i]::after, |
| 1265 |
.md-content a[href$='.ogg' i]::after { |
| 1266 |
background-image: url('/autoimport/assets/images/audio.svg'); |
| 1267 |
} |
| 1268 |
|
| 1269 |
/* Video files. |
| 1270 |
*/ |
| 1271 |
.md-content a[href$='.swf' i]::after, |
| 1272 |
.md-content a[href$='.avi' i]::after, |
| 1273 |
.md-content a[href$='.mp4' i]::after, |
| 1274 |
.md-content a[href$='.webm' i]::after { |
| 1275 |
background-image: url('/autoimport/assets/images/video.svg'); |
| 1276 |
} |
| 1277 |
|
| 1278 |
/* Archive files. |
| 1279 |
*/ |
| 1280 |
.md-content a[href$='.tar' i]::after, |
| 1281 |
.md-content a[href$='.zip' i]::after, |
| 1282 |
.md-content a[href$='.xz' i]::after, |
| 1283 |
.md-content a[href$='.img' i]::after { |
| 1284 |
background-image: url('/autoimport/assets/images/archive.svg'); |
| 1285 |
} |
| 1286 |
|
| 1287 |
/* Miscellaneous files (for which there is no specific icon). |
| 1288 |
*/ |
| 1289 |
.md-content a[href$='.ebt' i]::after, |
| 1290 |
.md-content a[href$='.mdb' i]::after, |
| 1291 |
.md-content a[href$='.mht' i]::after, |
| 1292 |
.md-content a[href$='.ttf' i]::after { |
| 1293 |
background-image: url('/autoimport/assets/images/misc.svg'); |
| 1294 |
} |