1
0
mirror of https://github.com/minio/docs.git synced 2025-08-08 01:43:18 +03:00

Remove top navigation (#1487)

The website menu has been removed from the header as per AB's request.
This commit is contained in:
Rushan
2025-07-29 21:59:43 +05:30
committed by GitHub
parent ef4faab6d8
commit b63d6d0f98
8 changed files with 14 additions and 22 deletions

View File

@@ -97,13 +97,9 @@ window.addEventListener("DOMContentLoaded", (event) => {
readModeLs = localStorage.getItem("read-mode"); readModeLs = localStorage.getItem("read-mode");
if (window.innerWidth < 1280) { if (window.innerWidth < 1280) {
if (readModeLs == null || readModeLs == "false") {
document.documentElement.classList.add("read-mode"); document.documentElement.classList.add("read-mode");
}
} else { } else {
if (readModeLs == "false") {
document.documentElement.classList.remove("read-mode"); document.documentElement.classList.remove("read-mode");
}
} }
// Re-calculate sidebar height // Re-calculate sidebar height

View File

@@ -10,8 +10,7 @@ div.sidebar {
top: 0; top: 0;
background-color: $white; background-color: $white;
transition: opacity 400ms, transform 300ms; transition: opacity 400ms, transform 300ms;
//padding: var(--content-padding); padding-top: var(--content-padding);
padding: 0;
overflow-y: auto; overflow-y: auto;
height: 100vh; height: 100vh;
z-index: $z-index-header - 2; z-index: $z-index-header - 2;

View File

@@ -185,13 +185,13 @@
} }
.header__title { .header__title {
font-size: clamp(40px, 6vw, 72px); font-size: clamp(40px, 6vw, 60px);
line-height: 1.2; line-height: 1.2;
color: $black; color: $black;
padding-bottom: 5rem; padding-bottom: 2rem;
margin-left: -0.25rem; margin-left: -0.25rem;
font-family: $font-family-heading; font-family: $font-family-heading;
margin-top: 5rem; margin-top: 2rem;
text-align: center; text-align: center;
} }

View File

@@ -28,7 +28,7 @@
.content__main { .content__main {
flex: 1; flex: 1;
min-width: 0; min-width: 0;
padding: 0 var(--content-padding) var(--content-padding); padding: var(--content-padding);
} }
.container { .container {

View File

@@ -383,7 +383,10 @@ a.nav__sub {
.platform-nav { .platform-nav {
font-size: $font-size-md; font-size: $font-size-md;
position: relative; position: relative;
@include breakpoint-min(breakpoints(lg)) {
margin-bottom: 2rem; margin-bottom: 2rem;
}
.search-toggle { .search-toggle {
margin-left: auto; margin-left: auto;

View File

@@ -63,7 +63,7 @@
isolation: isolate; isolation: isolate;
position: relative; position: relative;
margin-bottom: 2rem; margin-bottom: 1rem;
} }
.search--active, .search--active,

View File

@@ -32,7 +32,7 @@ $theme-properties: (
--header-text-color: $white $text-dark-color, --header-text-color: $white $text-dark-color,
// Content // Content
--content-nav-bg: $light-100 $dark-100, --content-nav-bg: $white $dark-100,
--content-nav-active-border-color: $black $dark-500, --content-nav-active-border-color: $black $dark-500,
--content-nav-sub-bg: $white $dark-500, --content-nav-sub-bg: $white $dark-500,
--content-nav-sub-color: $black $dark-0, --content-nav-sub-color: $black $dark-0,

View File

@@ -7,12 +7,6 @@
</svg> </svg>
</a> </a>
{%- include "top-navigation.html" %}
<button data-aside-toggle="nav" type="button" class="icon visible-rm ml-auto">
{%- include "icons/menu.html" %}
Menu
</button>
<!-- <!--
<div class="header__actions"> <div class="header__actions">