mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-29 18:19:42 +02:00
Page creation basics (#7)
* Page cration basics * remove unused code * add client-side Header validation * remove static method * rm await duplication
This commit is contained in:
parent
5c0560a2ed
commit
073772c047
17 changed files with 476 additions and 93 deletions
20
src/frontend/styles/components/writing.pcss
Normal file
20
src/frontend/styles/components/writing.pcss
Normal file
|
@ -0,0 +1,20 @@
|
|||
.writing-header {
|
||||
display: flex;
|
||||
padding: 15px 0;
|
||||
margin-top: calc(-1 * var(--layout-padding-vertical));
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: #fff;
|
||||
z-index: 2;
|
||||
box-shadow: 0 3px 10px #fff;
|
||||
|
||||
&__save {
|
||||
@apply --button;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
&__left {
|
||||
margin: auto 0;
|
||||
color: var(--color-text-second);
|
||||
}
|
||||
}
|
|
@ -18,6 +18,6 @@
|
|||
|
||||
&__aside,
|
||||
&__content {
|
||||
padding: 40px 0;
|
||||
padding: var(--layout-padding-vertical) 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
@import url('layout.pcss');
|
||||
@import url('components/header.pcss');
|
||||
@import url('components/aside.pcss');
|
||||
@import url('components/writing.pcss');
|
||||
|
||||
body {
|
||||
font-family: system-ui, Helvetica, Arial, Verdana;
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
* Site layout sizes
|
||||
*/
|
||||
--layout-padding-horisontal: 40px;
|
||||
--layout-padding-vertical: 40px;
|
||||
--layout-width-aside: 250px;
|
||||
--layout-width-main-col: 650px;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue