PostText/public/css/simple.css

133 lines
2.8 KiB
CSS
Raw Normal View History

2023-05-27 03:48:50 +00:00
.click {
color: black;
text-decoration: none;
border: outset var(--light-blue) 0.18rem;
2023-05-27 03:48:50 +00:00
background-color: var(--light-blue);
white-space: nowrap; /* Prevent the button from going multi-line */
}
.click::first-letter { text-decoration: underline; }
.click:active {
border: inset var(--dark-blue) 0.18rem;
2023-05-27 03:48:50 +00:00
background-color: var(--dark-blue);
}
.site-footer {
2023-11-02 18:30:07 +00:00
text-align: center;
border: outset var(--light-warm-gray) 0.18rem;
background-color: var(--light-warm-gray);
padding: 0;
2023-11-08 04:06:25 +00:00
margin: 1.25em 0 1.5em 0;
2023-05-27 03:48:50 +00:00
}
.page-title {
2023-11-02 18:30:07 +00:00
text-align: center;
border: inset var(--dark-warm-gray) 0.18rem;
padding: 0.5em 0;
margin: 0.85em 0;
background-color: var(--dark-warm-gray);
2023-05-27 03:48:50 +00:00
}
.page-body {
2023-11-02 18:30:07 +00:00
background-color: var(--light-warm-gray);
border: outset var(--light-warm-gray) 0.18rem;
padding: 0.5em 1em;
2023-05-27 03:48:50 +00:00
}
2023-08-14 00:39:36 +00:00
.form-preview {
background-color: var(--dark-warm-gray);
border: inset var(--dark-warm-gray) 0.18rem;
padding: 0.25em 0.5em;
2023-08-25 00:37:49 +00:00
overflow-wrap: anywhere;
2023-08-14 00:39:36 +00:00
}
2023-05-27 03:48:50 +00:00
.form-body {
2023-11-02 18:30:07 +00:00
background-color: var(--light-warm-gray);
border: outset var(--light-warm-gray) 0.18rem;
padding: 0.5em 1em;
display: flex;
flex-flow: column;
gap: 1em;
2023-05-27 03:48:50 +00:00
}
.form-field {
display: flex;
flex-flow: column;
gap: 0.25em;
2023-05-27 03:48:50 +00:00
}
.form-field > input { border: inset var(--dark-warm-gray) 0.18rem; }
2023-06-05 04:08:04 +00:00
2023-05-27 03:48:50 +00:00
.form-field > textarea {
border: inset var(--dark-warm-gray) 0.18rem;
2023-05-27 03:48:50 +00:00
overflow: scroll;
resize: vertical;
}
2023-12-08 02:53:17 +00:00
.form-field > textarea:after { cursor: ns-resize; }
2023-06-04 23:42:53 +00:00
.form-checkbox {
display: flex;
flex-flow: row;
gap: 1em;
align-items: center;
}
2023-06-05 04:08:04 +00:00
.form-checkbox > input { outline: inset var(--dark-warm-gray); }
2023-05-27 03:48:50 +00:00
.form-button {
border: outset var(--light-blue) 0.18rem;
2023-05-27 03:48:50 +00:00
background-color: var(--light-blue);
padding: 0.5em 1.5em;
text-align: left;
2023-06-04 03:42:16 +00:00
color: black;
2023-06-05 05:16:45 +00:00
width: 33%;
2023-05-27 03:48:50 +00:00
}
.form-button::first-letter { text-decoration: underline; }
.form-button:active {
border: inset var(--dark-blue) 0.18rem;
2023-05-27 03:48:50 +00:00
background-color: var(--dark-blue);
}
2023-11-02 04:20:36 +00:00
#search {
width: 100%;
border: inset var(--dark-warm-gray) 0.18rem;
}
2023-11-02 01:58:47 +00:00
.search-button {
border: outset var(--light-blue) 0.18rem;
background-color: var(--light-blue);
2023-11-02 21:58:48 +00:00
text-align: center;
2023-11-02 01:58:47 +00:00
color: black;
2023-11-02 21:58:48 +00:00
padding: 0 1em;
2023-11-02 01:58:47 +00:00
}
.search-button::first-letter { text-decoration: underline; }
.search-button:active {
border: inset var(--dark-blue) 0.18rem;
background-color: var(--dark-blue);
}
.field-with-error {
border: dashed var(--highlight-red);
padding: 0.5em 0.25em;
}
.stash-with-info {
border: dashed var(--highlight-green) 0.5rem;
2023-06-04 04:25:41 +00:00
background-clip: padding-box;
2023-05-27 03:48:50 +00:00
padding: 1em;
background-color: var(--transparent);
}
.stash-with-error {
border: dashed var(--highlight-red) 0.5rem;
2023-06-04 04:25:41 +00:00
background-clip: padding-box;
2023-05-27 03:48:50 +00:00
padding: 1em;
background-color: var(--transparent);
}