conflict fixes
This commit is contained in:
63
docs/_static/style.css
vendored
63
docs/_static/style.css
vendored
@ -19,6 +19,7 @@ Historically however, thanks to:
|
||||
/* CSS variables would go here */
|
||||
:root {
|
||||
--font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||
--monospace-font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
|
||||
|
||||
/* palette goes here */
|
||||
--white: #ffffff;
|
||||
@ -96,6 +97,8 @@ Historically however, thanks to:
|
||||
--rtd-ad-background: var(--grey-2);
|
||||
--rtd-ad-main-text: var(--grey-6);
|
||||
--rtd-ad-small-text: var(--grey-4);
|
||||
--rtd-version-background: #272525;
|
||||
--rtd-version-main-text: #fcfcfc;
|
||||
--attribute-table-title: var(--grey-6);
|
||||
--attribute-table-entry-border: var(--grey-3);
|
||||
--attribute-table-entry-text: var(--grey-5);
|
||||
@ -103,6 +106,7 @@ Historically however, thanks to:
|
||||
--attribute-table-entry-hover-background: var(--grey-2);
|
||||
--attribute-table-entry-hover-text: var(--blue-2);
|
||||
--attribute-table-badge: var(--grey-7);
|
||||
--highlighted-text: rgb(252, 233, 103);
|
||||
}
|
||||
|
||||
:root[data-font="serif"] {
|
||||
@ -162,6 +166,7 @@ Historically however, thanks to:
|
||||
--attribute-table-entry-hover-background: var(--grey-6);
|
||||
--attribute-table-entry-hover-text: var(--blue-1);
|
||||
--attribute-table-badge: var(--grey-4);
|
||||
--highlighted-text: rgba(250, 166, 26, 0.2);
|
||||
}
|
||||
|
||||
img[src$="snake_dark.svg"] {
|
||||
@ -247,6 +252,7 @@ header > nav {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
header > nav a {
|
||||
@ -265,6 +271,12 @@ header > nav.mobile-only {
|
||||
|
||||
header > nav.mobile-only .search {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
z-index: -1;
|
||||
padding-top: 0;
|
||||
transition: top 0.5s ease-in-out;
|
||||
}
|
||||
|
||||
header > nav.mobile-only .search-wrapper {
|
||||
@ -316,6 +328,11 @@ header > nav > a:hover {
|
||||
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.sub-header option {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.sub-header > select:focus {
|
||||
outline: none;
|
||||
}
|
||||
@ -380,12 +397,12 @@ aside h3 {
|
||||
position: relative;
|
||||
line-height: 0.5em;
|
||||
transition: transform 0.4s;
|
||||
transform: rotate(0deg);
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
|
||||
.expanded {
|
||||
transition: transform 0.4s;
|
||||
transform: rotate(-90deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
.ref-internal-padding {
|
||||
@ -567,6 +584,37 @@ div.modal input {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* scroll to top button */
|
||||
|
||||
#to-top {
|
||||
position: fixed;
|
||||
bottom: 50px;
|
||||
right: 20px;
|
||||
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#to-top.is-rtd {
|
||||
bottom: 90px;
|
||||
}
|
||||
|
||||
#to-top > span {
|
||||
display: block;
|
||||
|
||||
width: auto;
|
||||
height: 30px;
|
||||
padding: 0 6px;
|
||||
|
||||
background-color: var(--rtd-version-background);
|
||||
color: var(--rtd-version-main-text);
|
||||
}
|
||||
|
||||
#to-top span {
|
||||
line-height: 30px;
|
||||
font-size: 90%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* copy button */
|
||||
|
||||
.relative-copy {
|
||||
@ -855,7 +903,7 @@ dl.field-list {
|
||||
/* internal references are forced to bold for some reason */
|
||||
a.reference.internal > strong {
|
||||
font-weight: unset;
|
||||
font-family: monospace;
|
||||
font-family: var(--monospace-font-family);
|
||||
}
|
||||
|
||||
/* exception hierarchy */
|
||||
@ -950,7 +998,7 @@ pre {
|
||||
}
|
||||
|
||||
pre, code {
|
||||
font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
|
||||
font-family: var(--monospace-font-family);
|
||||
font-size: 0.9em;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
@ -1007,6 +1055,13 @@ dd {
|
||||
margin-left: 1.5em;
|
||||
}
|
||||
|
||||
dt:target, span.highlighted {
|
||||
background-color: var(--highlighted-text);
|
||||
}
|
||||
|
||||
rect.highlighted {
|
||||
fill: var(--highlighted-text);
|
||||
}
|
||||
|
||||
.container.operations {
|
||||
padding: 10px;
|
||||
|
Reference in New Issue
Block a user