mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-24 07:39:42 +02:00
* chore(styles): typography updating started * page styles updated * page header nav fix, inline code style fix, table, navigator * use arrow-right icon instead of "»" in bread crumbs * a bunch of updates * make content and write page styles more consistent * rollback layout change * upd color text second * upd sidebar logo text color * resovle someone's ts errors * remove duplicated variables
59 lines
1.1 KiB
Text
59 lines
1.1 KiB
Text
.table-of-content {
|
|
border-left: 1px solid var(--color-line-gray);
|
|
max-height: 100%;
|
|
overflow: auto;
|
|
padding: 0 var(--layout-padding-horizontal);
|
|
margin: var(--layout-padding-vertical) 0;
|
|
box-sizing: border-box;
|
|
|
|
--padding-x: 8px;
|
|
|
|
&__header {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
line-height: 21px;
|
|
letter-spacing: -0.01em;
|
|
|
|
margin-bottom: 12px;
|
|
padding: 0 var(--padding-x);
|
|
}
|
|
|
|
&__list {
|
|
margin: 0;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
gap: 2px;
|
|
|
|
&-item {
|
|
@apply --squircle;
|
|
|
|
&:hover {
|
|
background-color: var(--color-link-hover);
|
|
cursor: pointer;
|
|
}
|
|
|
|
&--active {
|
|
background-color: var(--color-link-hover);
|
|
}
|
|
|
|
&--indent-1x { margin-left: 6px; }
|
|
&--indent-2x { margin-left: 12px; }
|
|
&--indent-3x { margin-left: 18px; }
|
|
&--indent-4x { margin-left: 24px; }
|
|
|
|
& > a {
|
|
padding: 4px var(--padding-x);
|
|
display: block;
|
|
font-size: 14px;
|
|
letter-spacing: -0.01em;
|
|
line-height: 150%;
|
|
}
|
|
}
|
|
}
|
|
}
|