mirror of
https://github.com/nzp-team/documentation.git
synced 2025-02-11 02:40:40 +00:00
136 lines
2.8 KiB
CSS
136 lines
2.8 KiB
CSS
/* ##### Default ########## */
|
|
|
|
/* Body */
|
|
|
|
body {
|
|
font-family: var(--typography-font-family-base);
|
|
font-size: var(--typography-font-size-x10000);
|
|
font-weight: var(--typography-font-weight-regular);
|
|
line-height: var(--typography-line-height-normal);
|
|
background-color: var(--color-gray-100);
|
|
color: var(--color-gray-20);
|
|
}
|
|
|
|
body.toc_toggled {
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Table of Contents and Content */
|
|
|
|
body #toc_toggler, body #toc, body #content {
|
|
padding: var(--spacing-x20000);
|
|
}
|
|
|
|
/* Table of Contents */
|
|
|
|
body #toc_toggler, body #toc {
|
|
background-color: var(--color-gray-97);
|
|
}
|
|
|
|
body #toc_toggler {
|
|
display: none;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
min-width: 50px;
|
|
max-width: 50px;
|
|
position: fixed;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
body #toc_toggler img {
|
|
width: var(--sizing-x12500);
|
|
height: var(--sizing-x12500);
|
|
}
|
|
|
|
body #toc_toggler > a[href="#"] {
|
|
margin-top: auto;
|
|
}
|
|
|
|
body #toc {
|
|
min-width: var(--toc-width);
|
|
max-width: var(--toc-width);
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
body #toc #toc_inner > ul {
|
|
margin-top: var(--spacing-x05000);
|
|
margin-bottom: 0;
|
|
margin-left: 0;
|
|
list-style-type: none;
|
|
}
|
|
|
|
body #toc #toc_inner > ul > li > a {
|
|
font-weight: var(--typography-font-weight-bold);
|
|
}
|
|
|
|
/* Content Version */
|
|
|
|
body #content_version {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: var(--spacing-x10000);
|
|
padding-bottom: var(--spacing-x05000);
|
|
font-size: var(--typography-font-size-x08750);
|
|
color: var(--color-gray-60);
|
|
border-bottom: var(--border);
|
|
}
|
|
|
|
body #content_version #content_version_details {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
body #content_version #content_version_details img {
|
|
max-width: var(--sizing-x30000);
|
|
margin: 0;
|
|
margin-right: var(--spacing-x05000);
|
|
}
|
|
|
|
body #content_version #content_version_details div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
body #content_version #content_version_details div #content_version_heading {
|
|
font-size: var(--typography-font-size-x10000);
|
|
font-weight: var(--typography-font-weight-bold);
|
|
color: var(--color-gray-40);
|
|
}
|
|
|
|
body #content_version #content_version_links {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
margin-left: auto;
|
|
}
|
|
|
|
/* Content */
|
|
|
|
body #content {
|
|
max-width: var(--content-max-width);
|
|
margin: 0 auto;
|
|
padding-left: calc(var(--toc-width) + var(--sizing-x20000));
|
|
}
|
|
|
|
body #content > :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
body #content h1, body #content h2, body #content h3, body #content h4 {
|
|
display: inline-block;
|
|
width: 100%;
|
|
margin-top: var(--spacing-x05000);
|
|
}
|
|
|
|
/* Back to Top */
|
|
|
|
body #content a[href="#"] {
|
|
position: fixed;
|
|
right: var(--spacing-x20000);
|
|
bottom: var(--spacing-x20000);
|
|
}
|