| 1 |
/* Indentation. */ |
| 2 |
div.doc-contents:not(.first) { |
| 3 |
padding-left: 25px; |
| 4 |
} |
| 5 |
|
| 6 |
/* Mark external links as such. */ |
| 7 |
a.external::after, |
| 8 |
a.autorefs-external::after { |
| 9 |
/* https://primer.style/octicons/arrow-up-right-24 */ |
| 10 |
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.25 15.5a.75.75 0 00.75-.75v-9a.75.75 0 00-.75-.75h-9a.75.75 0 000 1.5h7.19L6.22 16.72a.75.75 0 101.06 1.06L17.5 7.56v7.19c0 .414.336.75.75.75z"></path></svg>'); |
| 11 |
-webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.25 15.5a.75.75 0 00.75-.75v-9a.75.75 0 00-.75-.75h-9a.75.75 0 000 1.5h7.19L6.22 16.72a.75.75 0 101.06 1.06L17.5 7.56v7.19c0 .414.336.75.75.75z"></path></svg>'); |
| 12 |
content: ' '; |
| 13 |
|
| 14 |
display: inline-block; |
| 15 |
vertical-align: middle; |
| 16 |
position: relative; |
| 17 |
|
| 18 |
height: 1em; |
| 19 |
width: 1em; |
| 20 |
background-color: #005b81; |
| 21 |
} |
| 22 |
|
| 23 |
a.external:hover::after, |
| 24 |
a.autorefs-external:hover::after { |
| 25 |
background-color: #e32e00; |
| 26 |
} |
| 27 |
|
| 28 |
/* Customize custom links. */ |
| 29 |
a.autorefs code { |
| 30 |
background-color: #ecf0f3; |
| 31 |
font-weight: normal; |
| 32 |
color: #005B81; |
| 33 |
} |
| 34 |
|
| 35 |
a.autorefs:hover code { |
| 36 |
color: #E32E00; |
| 37 |
} |
| 38 |
|
| 39 |
/* Customize labels. */ |
| 40 |
.doc-label { |
| 41 |
border-radius: 15px; |
| 42 |
padding: 2px 8px; |
| 43 |
background-color: #f2f2f3; |
| 44 |
text-wrap: nowrap; |
| 45 |
} |
| 46 |
|
| 47 |
.doc-label code { |
| 48 |
color: #444; |
| 49 |
} |
| 50 |
|
| 51 |
.doc-label-deprecated { |
| 52 |
background-color: #ffe4e4; |
| 53 |
border: 1px solid #f66; |
| 54 |
} |
| 55 |
|
| 56 |
/* No shadows in any code. */ |
| 57 |
|
| 58 |
code { |
| 59 |
text-shadow: none; |
| 60 |
} |
| 61 |
|
| 62 |
/* Code spans in tables. */ |
| 63 |
|
| 64 |
table code { |
| 65 |
background-color: transparent !important; |
| 66 |
} |
| 67 |
|
| 68 |
/* Style source links */ |
| 69 |
a.doc-source-link { |
| 70 |
position: relative; |
| 71 |
float: right; |
| 72 |
border: 1px #005B81 solid; |
| 73 |
margin: 0 5px; |
| 74 |
padding: 0 5px; |
| 75 |
font-weight: normal; |
| 76 |
text-shadow: none; |
| 77 |
background-color: #f2f2f3; |
| 78 |
font-size: 1rem; |
| 79 |
} |
| 80 |
|
| 81 |
a.doc-source-link:hover { |
| 82 |
text-decoration: none; |
| 83 |
border-color: #E32E00; |
| 84 |
} |
| 85 |
|
| 86 |
/* Customize symbol names. */ |
| 87 |
code.doc-symbol-attribute::after { |
| 88 |
content: "Attr"; |
| 89 |
} |
| 90 |
|
| 91 |
code.doc-symbol-function::after { |
| 92 |
content: "Func"; |
| 93 |
} |
| 94 |
|
| 95 |
code.doc-symbol-method::after { |
| 96 |
content: "Method"; |
| 97 |
} |
| 98 |
|
| 99 |
code.doc-symbol-class::after { |
| 100 |
content: "Class"; |
| 101 |
} |
| 102 |
|
| 103 |
code.doc-symbol-module::after { |
| 104 |
content: "Module"; |
| 105 |
} |