118 lines
1.7 KiB
CSS
118 lines
1.7 KiB
CSS
html {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir,
|
|
"Nimbus Sans L", Roboto, "Noto Sans", "Segoe UI", Arial, Helvetica,
|
|
"Helvetica Neue", sans-serif;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
/**
|
|
* Basic styling
|
|
*/
|
|
input, select, textarea {
|
|
padding: 4px;
|
|
}
|
|
|
|
body.role-site {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
body.role-site header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
padding-block: 1rem;
|
|
}
|
|
|
|
body.role-site header h1 {
|
|
margin-block: 0;
|
|
}
|
|
|
|
body.role-site .client-area {
|
|
flex-grow: 1;
|
|
flex-shrink: 1;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
body.role-site nav.vert {
|
|
width: 150px;
|
|
}
|
|
|
|
body.role-site main {
|
|
flex-grow: 1;
|
|
flex-shrink: 1;
|
|
}
|
|
|
|
|
|
div.post {
|
|
border-bottom: solid thin grey;
|
|
}
|
|
|
|
/**
|
|
* Post form
|
|
*/
|
|
|
|
form.post-form {
|
|
display: grid;
|
|
grid-template-columns: auto 23vw;
|
|
grid-template-rows: auto 2.5em;
|
|
gap: 6px;
|
|
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
form.post-form input[type='text'] {
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
form.post-form div.main-area {
|
|
grid-column-start: 1;
|
|
grid-column-end: 3;
|
|
grid-row-start: 1;
|
|
grid-row-end: 2;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
div.right-area div.section {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
div.right-area div.section input {
|
|
width: 100%;
|
|
}
|
|
|
|
div.right-area div.section div.section-heading {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
form.post-form textarea {
|
|
width: 100%;
|
|
}
|
|
|
|
form.post-form textarea[name="body"] {
|
|
flex-grow: 1;
|
|
flex-shrink: 1;
|
|
}
|
|
|
|
dialog {
|
|
width: 400px;
|
|
top: 30%;
|
|
}
|
|
|
|
dialog h3 {
|
|
margin-block: 0;
|
|
margin-block-end: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
dialog textarea {
|
|
min-height: 10vh !important;
|
|
width: 100%;
|
|
} |