mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-10 07:55:24 +02:00
feat: change list of menus and add hover effect of menu
This commit is contained in:
parent
f75401d0fb
commit
64002d758f
2 changed files with 7 additions and 5 deletions
|
@ -3,9 +3,7 @@
|
||||||
"description": "A block-styled editor with clean JSON output",
|
"description": "A block-styled editor with clean JSON output",
|
||||||
"menu": [
|
"menu": [
|
||||||
"Guides",
|
"Guides",
|
||||||
"API",
|
{"title": "CodeX", "uri": "https://codex.so"}
|
||||||
"Plugins",
|
|
||||||
{"title": "Support Project", "uri": "/support"}
|
|
||||||
],
|
],
|
||||||
"landingFrameSrc": "https://codex.so/editor?frame=1",
|
"landingFrameSrc": "https://codex.so/editor?frame=1",
|
||||||
"startPage": "",
|
"startPage": "",
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
padding: 0 var(--layout-padding-horisontal);
|
padding: 0 var(--layout-padding-horisontal);
|
||||||
border-bottom: 1px solid var(--color-line-gray);
|
border-bottom: 1px solid var(--color-line-gray);
|
||||||
font-size: 15.8px;
|
font-size: 15.8px;
|
||||||
line-height: 50px;
|
height: 50px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@
|
||||||
a {
|
a {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
align-self: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__logo {
|
&__logo {
|
||||||
|
@ -63,9 +64,12 @@
|
||||||
|
|
||||||
a:not(.docs-header__button) {
|
a:not(.docs-header__button) {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
padding: 8px;
|
||||||
|
transition: background-color .3s;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: var(--color-link-active);
|
background-color: #F3F6F8;
|
||||||
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue