1
0
mirror of https://github.com/minio/docs.git synced 2025-07-05 03:21:23 +03:00
Files
docs/source/_static/scss/includes/_base.scss
Rushan edbbe90742 Add docs switch menu (#881)
Fixes https://github.com/minio/docs/issues/842

Also made some changes to the dark-mode/read-mode icons to maintain the
consistency with KES docs UI.

**Preview:**
<img width="627" alt="Screenshot 2023-06-15 at 14 19 32"
src="https://github.com/minio/docs/assets/13393018/708d8991-c6af-406f-a474-65449c38c06c">

<img width="627" alt="Screenshot 2023-06-15 at 14 19 36"
src="https://github.com/minio/docs/assets/13393018/63f9db43-1408-4e96-81ad-9ecb7c39b9f0">


**Updating the list:**

Edit the `docs` array in `default.conf.py@268`.
2023-06-16 14:36:35 +04:00

38 lines
754 B
SCSS

* {
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
&:focus,
&:active {
outline: none;
}
}
html {
font-size: $root-font-size;
scroll-behavior: smooth;
scroll-padding: 1rem;
@include breakpoint-min(breakpoints(lg)) {
&.read-mode {
body {
height: 100vh;
overflow: hidden;
}
}
}
}
body {
all: unset;
font-family: $font-family-base;
font-size: 1rem;
line-height: $body-line-height;
color: var(--text-color);
font-weight: $font-weight-normal;
background-color: var(--body-bg);
display: flex;
flex-direction: column;
word-break: break-word;
}