docs: update docs
This commit is contained in:
committed by
GitHub Actions
parent
a9e12ca81f
commit
22d6f5c1bc
@@ -49,7 +49,10 @@
|
|||||||
--color-scheme: var(--md-sys-color-scheme); */
|
--color-scheme: var(--md-sys-color-scheme); */
|
||||||
|
|
||||||
--top-app-bar-height: 4.5rem;
|
--top-app-bar-height: 4.5rem;
|
||||||
|
--top-app-bar-padding-vertical: .5rem;
|
||||||
--footer-height: 3.5rem;
|
--footer-height: 3.5rem;
|
||||||
|
|
||||||
|
--safe-area-inset-top: env(safe-area-inset-top);
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@@ -64,15 +67,33 @@ img {
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
*::-webkit-scrollbar {
|
@supports not selector(::-webkit-scrollbar) {
|
||||||
|
* {
|
||||||
|
scrollbar-width: thin;
|
||||||
|
scrollbar-color: var(--color-accent) transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@supports selector(::-webkit-scrollbar) {
|
||||||
|
*::-webkit-scrollbar {
|
||||||
width: 8px;
|
width: 8px;
|
||||||
height: 8px;
|
height: 8px;
|
||||||
}
|
}
|
||||||
*::-webkit-scrollbar-track {
|
*::-webkit-scrollbar-track {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
margin: 4px;
|
||||||
*::-webkit-scrollbar-thumb {
|
}
|
||||||
|
*::-webkit-scrollbar-thumb {
|
||||||
border: none;
|
border: none;
|
||||||
|
}
|
||||||
|
*::-webkit-scrollbar-thumb:hover,
|
||||||
|
*::-webkit-scrollbar-thumb:active {
|
||||||
|
background-color: var(--md-sys-color-secondary);
|
||||||
|
}
|
||||||
|
* {
|
||||||
|
scrollbar-width: unset;
|
||||||
|
scrollbar-color: unset;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.container-main {
|
.container-main {
|
||||||
@@ -82,12 +103,13 @@ img {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 1.75rem;
|
padding: 1.75rem;
|
||||||
|
margin-bottom: 1.75rem;
|
||||||
border-radius: 28px;
|
border-radius: 28px;
|
||||||
background-color: var(--md-sys-color-surface);
|
background-color: var(--md-sys-color-surface);
|
||||||
}
|
}
|
||||||
.page-menu {
|
.page-menu {
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
padding: 0.75rem 1.75rem;
|
padding: 1.25rem 1.75rem;
|
||||||
border-radius: 28px;
|
border-radius: 28px;
|
||||||
background-color: var(--md-sys-color-surface);
|
background-color: var(--md-sys-color-surface);
|
||||||
}
|
}
|
||||||
@@ -96,51 +118,40 @@ img {
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.title {
|
.title {
|
||||||
display: block;
|
display: inline-block;
|
||||||
max-width: calc(100% - 5rem);
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
}
|
}
|
||||||
|
.tsd-page-title {
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
.tsd-page-toolbar {
|
.tsd-page-toolbar {
|
||||||
padding: 8px 0;
|
padding: 1rem 0;
|
||||||
height: calc(var(--top-app-bar-height) - 16px);
|
|
||||||
background-color: var(--color-background);
|
background-color: var(--color-background);
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
.tsd-page-toolbar .tsd-toolbar-contents {
|
|
||||||
height: 56px;
|
|
||||||
}
|
|
||||||
.tsd-page-toolbar .table-cell {
|
|
||||||
height: 56px;
|
|
||||||
margin-left: 1.5rem;
|
|
||||||
}
|
|
||||||
.tsd-page-toolbar .tsd-toolbar-icon {
|
.tsd-page-toolbar .tsd-toolbar-icon {
|
||||||
padding: 20px 0;
|
padding: 20px 0;
|
||||||
}
|
}
|
||||||
#tsd-search {
|
#tsd-search {
|
||||||
line-height: 56px;
|
border-radius: 38px;
|
||||||
|
}
|
||||||
|
#tsd-search-input {
|
||||||
border-radius: 22px;
|
border-radius: 22px;
|
||||||
}
|
}
|
||||||
#tsd-search .results {
|
#tsd-search-input:focus-visible {
|
||||||
z-index: -1;
|
background-color: var(--color-accent);
|
||||||
top: calc(56px - 22px);
|
|
||||||
padding-top: 22px;
|
|
||||||
box-shadow: 0px 4px 2px rgba(0, 0, 0, 0.125);
|
|
||||||
background-color: var(--color-background-secondary);
|
|
||||||
border-bottom-left-radius: 22px;
|
|
||||||
border-bottom-right-radius: 22px;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
#tsd-search .results li {
|
#tsd-search-results > li {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
#tsd-search .results a {
|
#tsd-toolbar-menu-trigger,
|
||||||
padding: 1rem 0.25rem;
|
#tsd-search-trigger {
|
||||||
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
.col-sidebar {
|
html:not(.has-menu) .col-sidebar {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
margin-right: 1rem;
|
margin-right: 1rem;
|
||||||
}
|
}
|
||||||
@@ -165,6 +176,9 @@ img {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: var(--md-sys-color-surface-container-high);
|
background-color: var(--md-sys-color-surface-container-high);
|
||||||
}
|
}
|
||||||
|
.page-menu .tsd-accordion-summary {
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
.page-menu .tsd-accordion-summary svg {
|
.page-menu .tsd-accordion-summary svg {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
@@ -189,10 +203,10 @@ img {
|
|||||||
.tsd-navigation .tsd-accordion-summary {
|
.tsd-navigation .tsd-accordion-summary {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
.tsd-accordion .tsd-accordion-summary > svg,
|
||||||
.tsd-index-accordion .tsd-accordion-summary > svg {
|
.tsd-index-accordion .tsd-accordion-summary > svg {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 1.5rem;
|
right: 1.5rem;
|
||||||
margin-top: 1rem;
|
|
||||||
}
|
}
|
||||||
.tsd-accordion-summary .tsd-kind-icon ~ span {
|
.tsd-accordion-summary .tsd-kind-icon ~ span {
|
||||||
margin-right: 2.5rem;
|
margin-right: 2.5rem;
|
||||||
@@ -217,9 +231,6 @@ img {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 769px) {
|
@media (max-width: 769px) {
|
||||||
.container {
|
|
||||||
padding: 1rem;
|
|
||||||
}
|
|
||||||
.col-sidebar {
|
.col-sidebar {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
@@ -238,6 +249,9 @@ img {
|
|||||||
max-height: calc(100vh - var(--footer-height) - var(--top-app-bar-height));
|
max-height: calc(100vh - var(--footer-height) - var(--top-app-bar-height));
|
||||||
top: var(--top-app-bar-height);
|
top: var(--top-app-bar-height);
|
||||||
}
|
}
|
||||||
|
.site-menu {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
.page-menu {
|
.page-menu {
|
||||||
margin-left: 1rem;
|
margin-left: 1rem;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user