1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-20 13:49:41 +02:00
codex.docs/src/frontend/styles/components/writing.pcss

80 lines
1.3 KiB
Text
Raw Normal View History

.writing-header {
display: flex;
position: sticky;
top: 0;
padding: 15px 0;
margin-top: calc(-1 * var(--layout-padding-vertical));
background: #fff;
box-shadow: 0 3px 10px #fff;
z-index: 2;
2019-02-18 11:15:03 +03:00
font-size: 14px;
&__save {
@apply --button;
@apply --button-primary;
2019-02-18 11:15:03 +03:00
margin: auto;
}
&__left {
margin: auto 0;
color: var(--color-text-second);
& span {
margin-right: 10px;
}
}
2019-02-18 11:15:03 +03:00
select {
max-width: 100px;
vertical-align: bottom;
2019-02-18 11:15:03 +03:00
}
}
.writing-buttons {
&__remove {
@apply --button;
@apply --button-danger;
}
}
.uri-input {
box-sizing: border-box;
width: 100%;
padding: 10px 12px;
border-radius: 3px;
border: 1px solid rgba(201, 201, 204, 0.48);
box-shadow: inset 0 1px 2px 0 rgba(35, 44, 72, 0.06);
outline: none;
}
2019-02-18 11:15:03 +03:00
.writing-editor {
font-size: 15px;
line-height: 1.6;
letter-spacing: 0.005em;
2019-02-18 11:15:03 +03:00
@media (--desktop) {
margin: 0 -100px;
}
.ce-code__textarea {
color: #41314e;
line-height: 1.6em;
font-size: 12px;
background: var(--color-bg-light);
border: 1px solid #f1f1f4;
box-shadow: none;
}
.ce-paragraph a {
color: inherit;
}
.ce-header {
@apply --font-serif;
}
2019-02-18 11:15:03 +03:00
}
.codex-editor__redactor .ce-block:first-of-type .ce-header {
font-size: 32px;
}