mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-03 20:45:24 +02:00
chore(ui): a bunch of style updates (#235)
* 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
This commit is contained in:
parent
05f8f0d9e1
commit
237db3e472
12 changed files with 349 additions and 1174 deletions
|
@ -1,12 +1,13 @@
|
|||
.table-of-content {
|
||||
border-left: 1px solid var(--color-line-gray);
|
||||
padding-left: var(--layout-padding-horizontal);
|
||||
|
||||
height: 100%;
|
||||
max-height: 100%;
|
||||
overflow: auto;
|
||||
padding: var(--layout-padding-vertical) var(--layout-padding-horizontal);
|
||||
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;
|
||||
|
@ -14,7 +15,7 @@
|
|||
letter-spacing: -0.01em;
|
||||
|
||||
margin-bottom: 12px;
|
||||
padding: 0 6px;
|
||||
padding: 0 var(--padding-x);
|
||||
}
|
||||
|
||||
&__list {
|
||||
|
@ -27,7 +28,7 @@
|
|||
|
||||
list-style: none;
|
||||
|
||||
gap: 6px;
|
||||
gap: 2px;
|
||||
|
||||
&-item {
|
||||
@apply --squircle;
|
||||
|
@ -47,7 +48,7 @@
|
|||
&--indent-4x { margin-left: 24px; }
|
||||
|
||||
& > a {
|
||||
padding: 4px 8px;
|
||||
padding: 4px var(--padding-x);
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
letter-spacing: -0.01em;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue