1
0
mirror of https://github.com/minio/docs.git synced 2025-07-27 08:41:57 +03:00
Files
docs/source/_static/scss/includes/_base.scss
Rushan 51da56df3c UI Enhancements: scroll, component naming, and more (#582)
- Fixed the sidebar scroll - with this fix, you'll be able to scroll to
the end of the left sidebar at any given screen height.
- Renamed content-navigation component and CSS class names for better
consistency.
- Changed the footer style by including it as part of the main content
area. This change is required to have the scroll fix mentioned at point
no. 1.
- Reduced the hero height by a small margin, in order to have more
sidebar scroll room on smaller devices such as 13 inch laptop and all.
- Used higher contrast color on search modal's bg and scrollbar thumb to
have better color consistency.
- Made scrollbar thumbs visible by default.
- Set sidebar scroll position to match the active doc item.
- Added custom scrollbars for code blocks.
2022-09-27 09:31:41 -05:00

37 lines
726 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;
}