mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
Merge pull request #6395 from YuriSizov/frontend-cleanup-version-selector
Hide the ref badge from RTD's version selector
This commit is contained in:
@@ -350,6 +350,11 @@ a[href*="classes/"]::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Prevent the "ref" badge from appearing on Read the Docs inside of the version selector. */
|
||||
.rst-versions a[href*="classes/"]::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
hr,
|
||||
#search-results .search li:first-child,
|
||||
#search-results .search li {
|
||||
@@ -1045,6 +1050,21 @@ kbd.compound > .kbd,
|
||||
background-color: var(--navbar-current-background-color);
|
||||
}
|
||||
|
||||
.rst-versions.shift-up {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.rst-versions.shift-up:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: -8px;
|
||||
width: 100%;
|
||||
height: 8px;
|
||||
pointer-events: none;
|
||||
background: linear-gradient(transparent, hsla(0, 0%, 0%, 0.2));
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 769px) {
|
||||
.rst-versions {
|
||||
/* Required to center the page on wide displays */
|
||||
|
||||
Reference in New Issue
Block a user