UI: Upgrade nav-global to web-assets v2 component #9
@ -686,6 +686,19 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
/* Custom styling for projects.blender.org */
|
||||
/* Make sure to start every line with ".nav-global"
|
||||
* so changes affect the developer navbar only. */
|
||||
|
||||
/* Limit navbar width on large screens. */
|
||||
@media(min-width: 1200px) {
|
||||
.nav-global .nav-global-container {
|
||||
max-width: 1170px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
// TODO: revise component pre-compiled JavaScript in web-assets
|
||||
const dropdownToggles = document.getElementsByClassName("js-dropdown-toggle");
|
||||
|
@ -52,13 +52,6 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
@media(min-width: 1200px) {
|
||||
.nav-global .nav-global-container {
|
||||
max-width: 1170px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Repository page. */
|
||||
.repository .file-view.markdown a {
|
||||
color: var(--color-primary);
|
||||
|
Loading…
Reference in New Issue
Block a user