1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-25 16:19:44 +02:00

Integrate CodeXEditor: dynamic import added (#5)

* Main elements created

* Add Editor to the writing page
This commit is contained in:
Peter Savchenko 2018-09-19 01:47:32 +03:00 committed by GitHub
parent 4326cb22ab
commit e7e64cea3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 15676 additions and 820 deletions

View file

@ -7,16 +7,12 @@
a {
text-decoration: none;
color: inherit;
display: inline-block;
&:hover {
color: var(--color-link-active);
}
}
&__logo {
font-weight: bold;
color: inherit;
}
&__menu {
@ -27,5 +23,18 @@
list-style: none;
margin-left: 20px;
}
a:not(.docs-header__button) {
color: inherit;
&:hover {
color: var(--color-link-active);
}
}
}
&__button {
@apply --button;
margin: auto 30px auto auto;
}
}

View file

@ -8,6 +8,7 @@
&__content {
flex-grow: 2;
word-wrap: break-word;
&-inner {
max-width: var(--layout-width-main-col);

View file

@ -10,3 +10,7 @@ body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
svg {
fill: currentColor;
}

View file

@ -10,4 +10,22 @@
--layout-padding-horisontal: 40px;
--layout-width-aside: 250px;
--layout-width-main-col: 650px;
--button {
display: inline-block;
background: var(--color-link-active);
color: #fff;
border-radius: 3px;
padding: 9px 15px;
font-size: 14px;
line-height: 1em;
svg {
margin: 0 0.3em 0 -0.05em;
}
&:hover {
background: color-mod(var(--color-link-active) blackness(+10%));
}
}
}