1
0
mirror of https://github.com/minio/docs.git synced 2026-01-04 02:44:36 +03:00
Files
docs/source/_static/css/main.css
2021-04-13 20:48:23 -04:00

790 lines
18 KiB
CSS

@font-face {
font-family: "Mark";
src: url("../fonts/Mark-Regular.woff2") format("woff2"), url("../fonts/Mark-Regular.woff") format("woff");
font-weight: 400;
font-style: normal; }
@font-face {
font-family: "Mark";
src: url("../fonts/Mark-Medium.woff2") format("woff2"), url("../fonts/Mark-Medium.woff") format("woff");
font-weight: 500;
font-style: normal; }
html {
line-height: 1.35;
-webkit-text-size-adjust: 100%; }
body {
margin: 0; }
main {
display: block; }
h1 {
font-size: 2em;
margin: 0.67em 0; }
hr {
-webkit-box-sizing: content-box;
box-sizing: content-box;
height: 0;
overflow: visible; }
pre {
font-family: monospace, monospace;
font-size: .9em; }
a {
background-color: transparent;
text-decoration: none; }
abbr[title] {
border-bottom: none;
text-decoration: underline;
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted; }
b,
strong {
font-weight: bold; }
code,
kbd,
samp {
font-family: monospace, monospace;
font-size: .9em; }
small {
font-size: 80%; }
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline; }
sub {
bottom: -0.25em; }
sup {
top: -0.5em; }
img {
border-style: none; }
button,
input,
optgroup,
select,
textarea {
font-family: inherit;
font-size: 100%;
line-height: 1.15;
margin: 0; }
button,
input {
overflow: visible; }
button,
select {
text-transform: none; }
button[disabled] {
cursor: default; }
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button; }
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0; }
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText; }
fieldset {
padding: 0.35em 0.75em 0.625em; }
legend {
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: inherit;
display: table;
max-width: 100%;
padding: 0;
white-space: normal; }
progress {
vertical-align: baseline; }
textarea {
overflow: auto; }
[type="checkbox"],
[type="radio"] {
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding: 0; }
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto; }
[type="search"] {
-webkit-appearance: textfield;
outline-offset: -2px; }
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; }
::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit; }
details {
display: block; }
summary {
display: list-item; }
template {
display: none; }
[hidden] {
display: none; }
address {
font-style: normal;
color: inherit;
margin: 0; }
* {
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; }
*:focus, *:active {
outline: none; }
html {
font-size: 16px; }
body {
all: unset;
font-family: "Mark", sans-serif;
font-size: 1rem;
line-height: 1.5;
color: #4b4b4b;
background-color: #F9F9F9;
font-weight: 400;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column; }
a {
color: #0045ec;
text-decoration: none; }
a:hover {
color: #0036b9;
text-decoration: none; }
a > img.anchor {
-webkit-box-shadow: none;
box-shadow: none;
height: 1rem; }
h1, h2, h3, h4, h5, h6 {
color: #1C1C1C;
position: relative; }
h1 > .toc-backref, h2 > .toc-backref, h3 > .toc-backref, h4 > .toc-backref, h5 > .toc-backref, h6 > .toc-backref {
color: #1C1C1C; }
h1 > .headerlink, h2 > .headerlink, h3 > .headerlink, h4 > .headerlink, h5 > .headerlink, h6 > .headerlink {
position: absolute;
left: -1.5rem;
top: 0;
opacity: 0.5; }
h1 > .headerlink:hover, h2 > .headerlink:hover, h3 > .headerlink:hover, h4 > .headerlink:hover, h5 > .headerlink:hover, h6 > .headerlink:hover {
background-color: transparent;
opacity: 1; }
div.admonition {
margin-top: 0; }
div.admonition > p.admonition-title {
font-weight: bold;
font-family: "Mark", sans-serif;
font-size: 1.2rem; }
div.admonition.warning {
background-color: #FFF2F2;
border: none;
border-left: 4px solid #E54253; }
div.admonition.important {
background-color: #FFF9E6;
border: none;
border-left: 4px solid #EDBC39; }
div.admonition.note {
background-color: #EDF9FF;
border: none;
border-left: 4px solid #2592EF; }
dl {
margin: 10px 0 10px 0; }
dl.minio {
margin: 10px 0 10px 0; }
div.footer {
width: auto;
margin: 0px; }
.align-default {
text-align: left; }
table.docutils {
border: none;
box-shadow: none;
-webkit-box-shadow: none;
-moz-box-shadow: none; }
table.docutils > tbody tr th.stub {
border: none;
border-bottom: 1px solid #e6e6e6;
color: #C72C48; }
table.docutils > thead tr th {
border: none;
border-bottom: 1px solid #e6e6e6;
font-size: 1rem;
color: #C72C48; }
table.docutils > tbody tr td {
border: none;
border-bottom: 1px solid #e6e6e6; }
table.docutils > tbody tr td > p {
font-size: .90rem; }
.xref {
color: #C72C48; }
.content__main img {
-webkit-box-shadow: 0px 0px 5px lightgray;
box-shadow: 0px 0px 5px lightgray; }
@media (min-width: 1200px) {
.content, .header {
padding: 0 4rem; } }
@media (max-width: 1199px) {
.content, .header {
padding: 0 2rem; } }
.content {
overflow: auto;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
height: calc(100vh - 5rem); }
.content__main {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
min-width: 0;
background-color: #ffffff;
-ms-flex-item-align: start;
align-self: flex-start; }
@media (min-width: 1200px) {
.content__main {
padding: 4rem; } }
@media (max-width: 1199px) {
.content__main {
padding: 2rem; } }
.content__right {
-ms-flex-negative: 0;
flex-shrink: 0;
position: sticky;
top: 0;
max-width: 200px; }
.header {
height: 5rem;
background-color: #ffffff;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.1);
box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.1);
width: 100%;
z-index: 10;
-ms-flex-negative: 0;
flex-shrink: 0;
display: flex;
align-items: center; }
@media (min-width: 992px) {
.header .toggle-icon {
display: none; } }
.header .toggle-icon--menu {
margin-left: auto; }
.logo {
-ms-flex-negative: 0;
flex-shrink: 0;
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex; }
@media (max-width: 991px) {
.logo {
margin-left: 1rem; } }
.logo > img {
height: 1.05rem;
-webkit-box-shadow: none;
box-shadow: none; }
.nav {
z-index: 1;
-webkit-transition: opacity 300ms, -webkit-transform 300ms;
transition: opacity 300ms, -webkit-transform 300ms;
transition: opacity 300ms, transform 300ms;
transition: opacity 300ms, transform 300ms, -webkit-transform 300ms;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
margin-left: auto;
font-size: 0.9375rem; }
@media (max-width: 991px) {
.nav {
height: 100vh;
width: 300px;
position: fixed;
right: 0;
top: 0;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-transform: translate3d(300px, 0, 0);
transform: translate3d(300px, 0, 0);
opacity: 0;
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
overflow-y: auto;
background-color: #ffffff;
padding-top: 2.5rem; } }
.nav > .toggle-icon {
position: absolute;
top: 0.7rem;
right: 0.7rem; }
@media (min-width: 992px) {
.nav > .toggle-icon {
display: none; } }
@media (max-width: 991px) {
.nav-toggled .nav {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
opacity: 1;
z-index: 100; } }
.nav__item {
position: relative; }
.nav__item:hover .nav__dropdown {
opacity: 1;
pointer-events: auto; }
.nav__item:hover .nav__link--dropdown > span:before {
opacity: 0; }
.nav__link {
line-height: 100%; }
.nav__link, .nav__link:hover {
color: #4b4b4b; }
@media (min-width: 992px) {
.nav__link {
padding: 0.625rem 1.25rem 0.8125rem;
margin-left: 0.25rem;
cursor: pointer; }
.nav__link > span {
position: relative; }
.nav__link > span:before {
height: 1px;
width: 100%;
background-color: #4b4b4b;
position: absolute;
bottom: -8px;
left: 0;
content: "";
-webkit-transform: translateY(5px);
transform: translateY(5px);
opacity: 0;
-webkit-transition: opacity 300ms, -webkit-transform 300ms;
transition: opacity 300ms, -webkit-transform 300ms;
transition: opacity 300ms, transform 300ms;
transition: opacity 300ms, transform 300ms, -webkit-transform 300ms; }
.nav__link:not(.nav__link--dropdown):hover > span:before {
-webkit-transform: translateY(0);
transform: translateY(0);
opacity: 1; } }
@media (max-width: 991px) {
.nav__link {
font-weight: 500;
color: #000000;
padding: 0.75rem 1.75rem; } }
.nav__link--active > span:before {
opacity: 1;
-webkit-transform: translateY(0);
transform: translateY(0); }
.nav__link--download {
border: 1px solid #C72C48;
-webkit-transition: background-color 300ms, color 300ms;
transition: background-color 300ms, color 300ms;
border-radius: 0.1875rem; }
.nav__link--download:hover {
background-color: #C72C48;
color: #ffffff; }
@media (max-width: 991px) {
.nav__link--download {
margin: 1.5rem;
text-align: center; } }
@media (min-width: 992px) {
.nav__dropdown {
margin-top: 0.3125rem;
width: 385px;
-webkit-transform: translateX(calc(-50% + 3rem));
transform: translateX(calc(-50% + 3rem));
position: absolute;
left: 0;
top: 90%;
opacity: 0;
-webkit-transition: opacity 200ms;
transition: opacity 200ms;
pointer-events: none; }
.nav__dropdown:before {
left: 50%;
margin-left: -5px;
content: "";
width: 0;
height: 0;
border-style: solid;
border-width: 0 10px 8px;
border-color: transparent transparent #ffffff transparent;
position: absolute;
top: -8px; }
.nav__dropdown .nav__dropdown__inner {
padding: 1.5rem;
max-height: calc(100vh - 5rem);
overflow-y: auto;
border-radius: 0.1875rem;
-webkit-box-shadow: 0 0.0625rem 1.25rem rgba(0, 0, 0, 0.13);
box-shadow: 0 0.0625rem 1.25rem rgba(0, 0, 0, 0.13);
background-color: #ffffff; } }
@media (max-width: 991px) {
.nav__dropdown .nav__dropdown__inner {
background-color: #f8f8f8;
padding: 0.5rem 1rem;
margin-bottom: 1rem; } }
@media (min-width: 992px) {
.nav__dropdown--lg {
width: 800px; }
.nav__dropdown--lg .nav__dropdown__inner {
padding: 3.5rem; } }
@media (max-width: 1200px) and (min-width: 992px) {
.nav__dropdown--lg {
width: 500px; }
.nav__dropdown--lg .nav__dropdown__inner {
padding: 1.5rem; } }
.nav__sub {
padding: 0.6rem 0.75rem;
font-weight: 500;
color: #000000;
border-radius: 0.25rem; }
@media (max-width: 991px) {
.nav__sub {
font-size: 0.85rem;
font-weight: normal; } }
.nav__sub,
.nav__sub > small {
display: block; }
.nav__sub > small {
color: #4b4b4b;
font-weight: normal;
font-size: 0.8rem;
opacity: 0.75;
margin-top: 0.25rem; }
@media (max-width: 991px) {
.nav__sub > small {
display: none; } }
.nav__sub:hover {
background-color: #f8f8f8;
color: #000000; }
.nav__arrow {
width: 9px;
height: 5px;
background: url(../img/icons/nav-arrow.svg) no-repeat center;
display: inline-block;
margin-left: 4px; }
@media (max-width: 991px) {
.nav__arrow {
display: none; } }
@media (min-width: 992px) {
.nav__feature {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start; } }
.nav__column {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1; }
@media (min-width: 992px) {
.nav__column--main {
padding-right: 1rem; }
.nav__column--main > .nav__sub {
margin-top: 1rem; } }
.nav__column__title {
text-transform: uppercase;
font-size: 0.6rem;
padding-left: 0.75rem;
margin-bottom: 0.2rem; }
@media (max-width: 991px) {
.nav__column__title {
margin-top: 1rem; } }
.nav__lead {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center; }
.nav__lead, .nav__lead:hover {
color: #000000; }
.nav__lead > img {
width: 30px;
-ms-flex-negative: 0;
flex-shrink: 0;
margin-right: 0.75rem; }
@media (max-width: 991px) {
.nav__lead > img {
display: none; } }
@media (min-width: 992px) {
.nav__jump {
padding-left: 2.6rem;
margin-top: -0.2rem; }
.nav__jump > a {
font-weight: normal;
display: block;
font-size: 0.8rem;
margin-top: 0.5rem; }
.nav__jump > a, .nav__jump > a:hover {
color: #000000; }
.nav__jump > a:hover {
text-decoration: underline; } }
@media (max-width: 991px) {
.nav__jump {
display: none; } }
.toggle-icon {
width: 2.5rem;
height: 2.5rem;
cursor: pointer;
border-radius: 0.1875rem;
-webkit-transition: background-color 300ms;
transition: background-color 300ms;
-ms-flex-negative: 0;
flex-shrink: 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
flex-shrink: 0;
background-repeat: no-repeat;
background-position: center; }
.toggle-icon:hover {
background-color: rgba(199, 44, 72, 0.075); }
.toggle-icon--docs {
background-image: url(../img/icons/docs.svg); }
.toggle-icon--menu {
background-image: url(../img/icons/menu.svg); }
.toggle-icon--close {
background-image: url(../img/icons/close-circle.svg); }
.toggle-icon--toc {
background-image: url(../img/icons/toc.svg); }
.sidebar {
width: 18rem;
position: sticky;
position: -webkit-sticky;
top: 0;
background-color: #F9F9F9;
-webkit-transition: opacity 400ms, -webkit-transform 300ms;
transition: opacity 400ms, -webkit-transform 300ms;
transition: opacity 400ms, transform 300ms;
transition: opacity 400ms, transform 300ms, -webkit-transform 300ms;
padding: 3rem 2rem 2rem 0;
overflow-y: auto; }
@media (max-width: 991px) {
.sidebar {
position: fixed;
left: 0;
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
height: 100%;
-webkit-box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.15);
box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.15);
opacity: 0;
z-index: 11;
pointer-events: none;
height: 100%;
overflow-y: auto;
padding-left: 2rem; } }
.sidebar > .toggle-icon {
position: absolute;
top: 0.7rem;
right: 0.7rem; }
@media (min-width: 992px) {
.sidebar > .toggle-icon {
display: none; } }
.sidebar__title {
margin: 0 0 1.5rem;
line-height: 100%; }
.sidebar__title > a {
line-height: 100%;
color: #1C1C1C;
font-size: 0.9rem;
text-transform: uppercase;
font-weight: 500; }
.sidebar__title > a:hover {
color: #1C1C1C; }
.sidebar-toggled .sidebar {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
opacity: 1;
pointer-events: all; }
.search {
margin-bottom: 0.8rem; }
@media (max-width: 991px) {
.search {
margin-right: -1rem;
margin-left: -1rem; } }
.search__text {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 1px solid #F0F0F0;
height: 2.65rem;
background-color: #ffffff;
color: #555555;
font-size: 0.85rem;
width: 100%;
padding: 0 1rem 0.1rem 2.6rem;
background: url(../img/icons/search.svg) no-repeat center left 1rem;
background-color: #ffffff; }
@media (min-width: 992px) {
.search__text {
border-radius: 0.1875rem; } }
.search__text:focus {
border-color: #cacaca; }
.docs ul {
list-style: none;
padding: 0;
font-size: .95rem; }
.docs ul > li > a, .docs ul > li > a > code {
all: unset; }
.docs ul > li > a:hover {
border: 0;
cursor: pointer; }
.docs > ul {
margin: 0; }
.docs > ul > li > a {
color: #1C1C1C;
padding: 0.5rem 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center; }
.docs > ul > li > a:hover {
color: #000000; }
.docs > ul > li.current > a {
color: #C72C48;
font-weight: 500; }
.docs > ul > li > ul {
margin: 0 0 0.5rem; }
.docs > ul > li > ul > li > a {
font-size: 0.85rem;
color: #494949;
display: block;
padding: 0.4rem 0; }
.docs > ul > li > ul > li > a:hover {
color: black; }
.docs > ul > li > ul > li > a.current {
color: black;
font-weight: 500; }
div#localtoc {
font-size: 13px;
margin-left: 20px; }
#table-of-contents {
background: none;
border-style: none; }
#table-of-contents ul {
list-style: none;
margin: 10px 0px 10px 0px; }
#table-of-contents ul > li {
list-style: none;
margin: 10px 0px 10px 0px; }
#table-of-contents ul > li > p a.reference {
text-decoration: none;
border-bottom: none;
color: #1C1C1C; }
#table-of-contents ul > li > ul {
margin: 10px 0px 10px 10px; }