2018-12-15 21:06:27 +00:00
|
|
|
label {
|
2021-01-17 13:33:29 +00:00
|
|
|
display: block;
|
|
|
|
margin: 2em auto .5em;
|
|
|
|
font-size: 1.2em;
|
2018-12-15 21:06:27 +00:00
|
|
|
}
|
|
|
|
input, textarea, select {
|
2021-01-17 13:33:29 +00:00
|
|
|
transition: all 0.1s ease-in;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
margin: auto;
|
|
|
|
padding: 1em;
|
|
|
|
box-sizing: border-box;
|
2019-05-06 18:18:53 +00:00
|
|
|
-webkit-appearance: textarea;
|
2018-12-15 21:06:27 +00:00
|
|
|
|
2021-01-17 13:33:29 +00:00
|
|
|
background: $form-input-background;
|
|
|
|
color: $text-color;
|
|
|
|
border: solid $form-input-border thin;
|
2018-12-15 21:06:27 +00:00
|
|
|
|
2021-01-17 13:33:29 +00:00
|
|
|
font-size: 1.2em;
|
|
|
|
font-weight: 400;
|
2018-12-15 21:06:27 +00:00
|
|
|
|
2021-01-17 13:33:29 +00:00
|
|
|
&:focus {
|
|
|
|
border-color: $primary;
|
|
|
|
}
|
2018-12-15 21:06:27 +00:00
|
|
|
}
|
2019-05-06 18:18:53 +00:00
|
|
|
form input[type="submit"] {
|
|
|
|
margin: 2em auto;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
2018-12-15 21:06:27 +00:00
|
|
|
|
|
|
|
textarea {
|
2021-01-17 13:33:29 +00:00
|
|
|
resize: vertical;
|
2019-06-02 20:35:09 +00:00
|
|
|
overflow-y: scroll;
|
2021-01-17 13:33:29 +00:00
|
|
|
font-family: $lora;
|
|
|
|
font-size: 1.1em;
|
|
|
|
line-height: 1.5;
|
2018-12-15 21:06:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"] {
|
2021-01-17 13:33:29 +00:00
|
|
|
display: inline;
|
|
|
|
margin: initial;
|
|
|
|
min-width: initial;
|
|
|
|
width: initial;
|
2019-05-06 18:18:53 +00:00
|
|
|
-webkit-appearance: checkbox;
|
2018-12-15 21:06:27 +00:00
|
|
|
}
|
|
|
|
|
2019-12-16 21:28:48 +00:00
|
|
|
/* Inline forms (containing only CSRF token and a <submit>, for protected links) */
|
2018-12-15 21:06:27 +00:00
|
|
|
|
|
|
|
form.inline {
|
|
|
|
display: inline;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
width: auto;
|
|
|
|
|
|
|
|
input[type="submit"] {
|
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 1em;
|
|
|
|
width: auto;
|
2019-05-06 18:18:53 +00:00
|
|
|
-webkit-appearance: none;
|
2018-12-15 21:06:27 +00:00
|
|
|
|
|
|
|
&:not(.button) {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
background: transparent;
|
2019-08-20 22:42:04 +00:00
|
|
|
color: $primary;
|
2019-05-18 12:09:51 +00:00
|
|
|
font-weight: normal;
|
2018-12-15 21:06:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-18 12:09:51 +00:00
|
|
|
.button, .button:visited, input[type="submit"], input[type="submit"].button {
|
2021-01-17 13:33:29 +00:00
|
|
|
transition: all 0.1s ease-in;
|
|
|
|
display: inline-block;
|
2018-12-23 16:30:57 +00:00
|
|
|
-webkit-appearance: none;
|
2018-12-15 21:06:27 +00:00
|
|
|
|
2021-01-17 13:33:29 +00:00
|
|
|
margin: 0.5em auto;
|
|
|
|
padding: 0.75em 1em;
|
2018-12-15 21:06:27 +00:00
|
|
|
|
2021-01-17 13:33:29 +00:00
|
|
|
background: $primary;
|
|
|
|
color: $primary-text-color;
|
2019-05-18 12:09:51 +00:00
|
|
|
font-weight: bold;
|
|
|
|
border: none;
|
2018-12-15 21:06:27 +00:00
|
|
|
|
2021-01-17 13:33:29 +00:00
|
|
|
cursor: pointer;
|
2018-12-15 21:06:27 +00:00
|
|
|
|
2021-01-17 13:33:29 +00:00
|
|
|
&:hover {
|
|
|
|
background: transparentize($primary, 0.1);
|
|
|
|
}
|
2018-12-15 21:06:27 +00:00
|
|
|
|
2021-01-17 13:33:29 +00:00
|
|
|
&.destructive {
|
|
|
|
background: $red;
|
2018-12-15 21:06:27 +00:00
|
|
|
|
|
|
|
&:hover {
|
2019-05-18 12:09:51 +00:00
|
|
|
background: transparentize($red, 0.1);
|
2018-12-15 21:06:27 +00:00
|
|
|
}
|
2021-01-17 13:33:29 +00:00
|
|
|
}
|
2019-05-18 12:09:51 +00:00
|
|
|
|
|
|
|
&.secondary {
|
|
|
|
background: $gray;
|
2019-08-20 22:42:04 +00:00
|
|
|
color: $text-color;
|
2019-05-18 12:09:51 +00:00
|
|
|
|
|
|
|
&:hover {
|
2019-08-20 22:42:04 +00:00
|
|
|
background: transparentize($text-color, 0.9);
|
2019-05-18 12:09:51 +00:00
|
|
|
}
|
|
|
|
}
|
2018-12-15 21:06:27 +00:00
|
|
|
}
|
2019-05-06 18:18:53 +00:00
|
|
|
input[type="submit"] {
|
|
|
|
display: block;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
2018-12-15 21:06:27 +00:00
|
|
|
|
2019-12-16 21:28:48 +00:00
|
|
|
/* The writing page */
|
2018-12-15 21:06:27 +00:00
|
|
|
form.new-post {
|
2019-01-09 17:57:48 +00:00
|
|
|
max-width: 60em;
|
2018-12-15 21:06:27 +00:00
|
|
|
.title {
|
2021-01-17 13:33:29 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0.75em 0;
|
2018-12-15 21:06:27 +00:00
|
|
|
|
2021-01-17 13:33:29 +00:00
|
|
|
background: none;
|
|
|
|
border: none;
|
2018-12-15 21:06:27 +00:00
|
|
|
|
2021-01-17 13:33:29 +00:00
|
|
|
font-family: $playfair;
|
|
|
|
font-size: 2em;
|
|
|
|
text-align: left;
|
2018-12-15 21:06:27 +00:00
|
|
|
}
|
|
|
|
textarea {
|
2021-01-17 13:33:29 +00:00
|
|
|
min-height: 20em;
|
|
|
|
overflow-y: scroll;
|
|
|
|
resize: none;
|
2019-05-06 18:18:53 +00:00
|
|
|
-webkit-appearance: textarea;
|
2018-12-15 21:06:27 +00:00
|
|
|
}
|
|
|
|
}
|
2019-03-22 18:51:36 +00:00
|
|
|
|
|
|
|
.button + .button {
|
2022-06-06 05:39:21 +00:00
|
|
|
margin-left: 1em;
|
2022-05-19 15:47:56 +00:00
|
|
|
margin-inline-start: 1em;
|
2019-04-17 20:09:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.split {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2019-05-18 12:09:51 +00:00
|
|
|
flex-wrap: wrap;
|
2019-04-17 20:09:07 +00:00
|
|
|
|
|
|
|
& > * {
|
|
|
|
flex-grow: 1;
|
|
|
|
max-width: 40%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
header.center {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
background: transparent;
|
|
|
|
opacity: 1;
|
|
|
|
font-weight: normal;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2019-05-06 18:18:53 +00:00
|
|
|
}
|
2019-09-13 10:28:36 +00:00
|
|
|
|
|
|
|
form > header {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
input[type="submit"] {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
}
|