1
0
mirror of https://github.com/minio/docs.git synced 2025-04-19 21:02:14 +03:00
Andrea Longo b4d0a36c71
Allow links into closed tabs (#1126)
JS update to allow a link into a closed tab. 

Tested with 
```
:mc-conf:`~browser.hsts_seconds`
```
which goes to a tab in [this
section](https://min.io/docs/minio/linux/reference/minio-server/settings/console.html#strict-transport-security)

@rushenn Ravind and Andrea came up with this, need a JS intervention to
ensure it's actually reasonable. 🙏🏻

Staged

http://192.241.195.202:9000/staging/link-into-tab/linux/reference/minio-server/settings/console.html#strict-transport-security

---------

Co-authored-by: Ravind Kumar <ravind@min.io>
Co-authored-by: Rushan <rushenn123@gmail.com>
2024-02-23 11:40:26 -07:00

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