1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-09 15:35:25 +02:00

feat: change list of menus and add hover effect of menu

This commit is contained in:
Y-k-Y 2022-05-12 00:00:42 +09:00
parent f75401d0fb
commit 64002d758f
2 changed files with 7 additions and 5 deletions

View file

@ -3,9 +3,7 @@
"description": "A block-styled editor with clean JSON output",
"menu": [
"Guides",
"API",
"Plugins",
{"title": "Support Project", "uri": "/support"}
{"title": "CodeX", "uri": "https://codex.so"}
],
"landingFrameSrc": "https://codex.so/editor?frame=1",
"startPage": "",

View file

@ -4,7 +4,7 @@
padding: 0 var(--layout-padding-horisontal);
border-bottom: 1px solid var(--color-line-gray);
font-size: 15.8px;
line-height: 50px;
height: 50px;
flex-wrap: wrap;
position: relative;
@ -15,6 +15,7 @@
a {
display: inline-block;
text-decoration: none;
align-self: center;
}
&__logo {
@ -63,9 +64,12 @@
a:not(.docs-header__button) {
color: inherit;
padding: 8px;
transition: background-color .3s;
&:hover {
color: var(--color-link-active);
background-color: #F3F6F8;
border-radius: 8px;
}
}
}