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.2 KiB
Text
Raw Normal View History

.writing-header {
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;
}
&__inner-container {
margin: auto 0;
display: flex;
color: var(--color-text-second);
gap: 10px;
@media(--mobile) {
flex-flow: column;
}
& > * {
flex: 0 1 33.3%;
}
label {
display: block;
margin-bottom: 6px;
}
2019-02-18 11:15:03 +03:00
select {
@apply --select;
}
input {
@apply --input;
}
2019-02-18 11:15:03 +03:00
}
}
.writing-buttons {
display: flex;
button:not(:last-child) {
margin-right: 20px;
}
}
2019-02-18 11:15:03 +03:00
.writing-editor {
font-size: 15px;
line-height: 1.6;
letter-spacing: 0.005em;
.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;
}