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:
@@ -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
|
||||||
|
@@ -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;
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -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 {
|
||||||
|
@@ -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;
|
||||||
margin-bottom: 2rem;
|
|
||||||
|
@include breakpoint-min(breakpoints(lg)) {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
.search-toggle {
|
.search-toggle {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
@@ -63,7 +63,7 @@
|
|||||||
|
|
||||||
isolation: isolate;
|
isolation: isolate;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search--active,
|
.search--active,
|
||||||
|
@@ -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,
|
||||||
|
@@ -6,13 +6,7 @@
|
|||||||
<path d="M52.751.414h9.108v23.63h-9.108zM41.711.74l-18.488 9.92a.919.919 0 0 1-.856 0L3.879.74A2.808 2.808 0 0 0 2.558.414h-.023A2.4 2.4 0 0 0 0 2.641v21.376h9.1V13.842a.918.918 0 0 1 1.385-.682l10.361 5.568a3.634 3.634 0 0 0 3.336.028l10.933-5.634a.917.917 0 0 1 1.371.69v10.205h9.1V2.641A2.4 2.4 0 0 0 43.055.414h-.023a2.808 2.808 0 0 0-1.321.326zm65.564-.326h-9.237v10.755a.913.913 0 0 1-1.338.706L72.762.675a2.824 2.824 0 0 0-1.191-.261h-.016a2.4 2.4 0 0 0-2.535 2.227v21.377h9.163V13.275a.914.914 0 0 1 1.337-.707l24.032 11.2a2.813 2.813 0 0 0 1.188.26 2.4 2.4 0 0 0 2.535-2.227zm7.161 23.63V.414h4.191v23.63zm28.856.421c-11.274 0-19.272-4.7-19.272-12.232C124.02 4.741 132.066 0 143.292 0s19.32 4.7 19.32 12.233-7.902 12.232-19.32 12.232zm0-21.333c-8.383 0-14.84 3.217-14.84 9.1 0 5.926 6.457 9.1 14.84 9.1s14.887-3.174 14.887-9.1c0-5.883-6.504-9.1-14.887-9.1z" />
|
<path d="M52.751.414h9.108v23.63h-9.108zM41.711.74l-18.488 9.92a.919.919 0 0 1-.856 0L3.879.74A2.808 2.808 0 0 0 2.558.414h-.023A2.4 2.4 0 0 0 0 2.641v21.376h9.1V13.842a.918.918 0 0 1 1.385-.682l10.361 5.568a3.634 3.634 0 0 0 3.336.028l10.933-5.634a.917.917 0 0 1 1.371.69v10.205h9.1V2.641A2.4 2.4 0 0 0 43.055.414h-.023a2.808 2.808 0 0 0-1.321.326zm65.564-.326h-9.237v10.755a.913.913 0 0 1-1.338.706L72.762.675a2.824 2.824 0 0 0-1.191-.261h-.016a2.4 2.4 0 0 0-2.535 2.227v21.377h9.163V13.275a.914.914 0 0 1 1.337-.707l24.032 11.2a2.813 2.813 0 0 0 1.188.26 2.4 2.4 0 0 0 2.535-2.227zm7.161 23.63V.414h4.191v23.63zm28.856.421c-11.274 0-19.272-4.7-19.272-12.232C124.02 4.741 132.066 0 143.292 0s19.32 4.7 19.32 12.233-7.902 12.232-19.32 12.232zm0-21.333c-8.383 0-14.84 3.217-14.84 9.1 0 5.926 6.457 9.1 14.84 9.1s14.887-3.174 14.887-9.1c0-5.883-6.504-9.1-14.887-9.1z" />
|
||||||
</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">
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user