1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
|
@keyframes blink-background {
from {
background-color: var(--textDetailBackground);
}
to {
background-color: var(--blink);
}
}
.content-inner .detail:target .detail-header {
animation-duration: 0.55s;
animation-name: blink-background;
animation-iteration-count: 1;
animation-timing-function: ease-in-out;
}
.content-inner .detail-header {
margin: 2 0 1em;
padding: 0.5em 1em;
background-color: var(--textDetailBackground);
border-left: 3px solid var(--textDetailAccent);
font-size: 1em;
font-family: var(--monoFontFamily);
position: relative;
}
.content-inner .detail-header .note {
float: right;
}
.content-inner .detail-header .signature {
display: inline-block;
font-family: var(--monoFontFamily);
font-size: 1rem;
font-weight: 700;
}
.content-inner .detail-header:hover a.detail-link,
.content-inner .detail-header a.detail-link:focus {
opacity: 1;
text-decoration: none;
}
.content-inner .detail-header a.detail-link {
transition: opacity 0.3s ease-in-out;
position: absolute;
top: 0;
left: 0;
display: block;
opacity: 0;
padding: 0.6em;
line-height: 1.5em;
margin-left: -2.5em;
text-decoration: none;
border: none;
}
@media screen and (max-width: 768px) {
.content-inner .detail-header a.detail-link {
margin-left: -30px;
}
}
.content-inner .specs pre {
font-family: var(--monoFontFamily);
font-size: 0.9em;
font-style: normal;
line-height: 24px;
white-space: pre-wrap;
margin: 0;
padding: 0;
}
.content-inner .specs .attribute {
color: var(--fnSpecAttr);
}
.content-inner .docstring {
margin: 1.2em 0 3em 1.2em;
}
@media screen and (max-width: 768px) {
.content-inner .docstring {
margin-left: 0;
}
}
.content-inner .docstring:is(h2, h3, h4, h5) {
font-weight: 700;
}
.content-inner .docstring h2 {
font-size: 1.1em;
}
.content-inner .docstring h3 {
font-size: 1em;
}
.content-inner .docstring h4 {
font-size: 0.95em;
}
.content-inner .docstring h5 {
font-size: 0.9em;
}
.content-inner div.deprecated {
display: block;
padding: 9px 15px;
background-color: var(--fnDeprecated);
}
|