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

117 lines
1.6 KiB
Text
Raw Normal View History

.writing-header {
2022-09-11 21:57:46 +03:00
padding: 0 0 15px 0;
margin-top: 0;
background: #fff;
box-shadow: 0 3px 10px #fff;
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 {
@apply --text-content-main;
.ce-code__textarea {
@apply --text-code-block;
border: 0;
border-radius: 8px;
}
.ce-paragraph a {
@apply --text-inline-link;
}
.ce-header {
@apply --text-header;
padding: 0;
}
h2.ce-header {
@apply --text-header-2;
}
h3.ce-header {
@apply --text-header-3;
}
.cdx-block {
padding: 0;
}
.inline-code {
@apply --text-inline-code;
}
.tc-table {
@apply --text-content-main;
}
.tc-cell {
padding: 6px 8px;
}
.cdx-list {
padding-left: 40px;
}
@media (--desktop) {
.ce-block__content,
.ce-toolbar__content {
max-width: var(--layout-width-main-col);
}
}
2019-02-18 11:15:03 +03:00
}
.codex-editor__redactor .ce-block:first-of-type .ce-header {
@apply --text-content-title;
2019-02-18 11:15:03 +03:00
}
.ce-block {
@apply --content-block;
}
.cdx-settings-button[data-tune="stretched"] {
display: none;
}