mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-07 14:35:26 +02:00
fixex children highlight and changed bold to color
This commit is contained in:
parent
22b2232e26
commit
9c8bcba364
4 changed files with 7 additions and 3 deletions
2
public/dist/main.css
vendored
2
public/dist/main.css
vendored
File diff suppressed because one or more lines are too long
|
@ -81,5 +81,5 @@
|
|||
}
|
||||
|
||||
.current-page {
|
||||
font-weight: 900;
|
||||
color: var(--color-page-active)!important;
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
--color-link-active: #2071cc;
|
||||
--color-button-danger: #ff5159;
|
||||
--color-bg-light: #f8f7fa;
|
||||
--color-page-active: #ff1767;
|
||||
|
||||
/**
|
||||
* Site layout sizes
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{% for firstLevelPage in menu %}
|
||||
<section class="docs-aside__section">
|
||||
<a
|
||||
{% if page._id == firstLevelPage._id %}
|
||||
{% if page._id == firstLevelPage._id%}
|
||||
class="current-page docs-aside__section-title "
|
||||
{% else %}
|
||||
class="docs-aside__section-title "
|
||||
|
@ -22,6 +22,9 @@
|
|||
{% for child in firstLevelPage.children %}
|
||||
<li>
|
||||
<a
|
||||
{% if page._id == child._id %}
|
||||
class="current-page"
|
||||
{% endif %}
|
||||
{% if child.uri %}
|
||||
href="/{{ child.uri }}"
|
||||
{% else %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue