2023-05-19 22:49:08 +00:00
|
|
|
/*
|
|
|
|
* Tags
|
|
|
|
*/
|
|
|
|
|
2023-05-15 01:46:35 +00:00
|
|
|
:root {
|
2023-05-20 03:07:28 +00:00
|
|
|
--light-warm-gray: #C2B3A9;
|
|
|
|
--dark-warm-gray: #A59990;
|
|
|
|
--teal: #5B90A4;
|
|
|
|
--light-blue: #8C97A8;
|
|
|
|
--dark-blue: #696F80;
|
|
|
|
--true-gray: #999999;
|
|
|
|
--highlight-green: green;
|
|
|
|
--highlight-red: red;
|
2023-05-21 03:43:32 +00:00
|
|
|
--transparent: #FFFFFFDD;
|
2023-05-20 03:50:44 +00:00
|
|
|
|
|
|
|
box-sizing: border-box;
|
2023-05-15 01:46:35 +00:00
|
|
|
}
|
|
|
|
|
2023-05-21 02:53:32 +00:00
|
|
|
*, ::before, ::after { box-sizing: inherit; }
|
2023-05-15 01:46:35 +00:00
|
|
|
|
|
|
|
body {
|
2023-05-20 03:07:28 +00:00
|
|
|
background-image: url('/images/background2.gif');
|
2023-05-19 22:49:08 +00:00
|
|
|
width: 95vmin;
|
2023-05-15 01:46:35 +00:00
|
|
|
margin: 0 auto;
|
2023-05-19 22:49:08 +00:00
|
|
|
font-size: calc(8px + 1vmin);
|
|
|
|
}
|
|
|
|
|
2023-05-20 03:50:44 +00:00
|
|
|
code {
|
|
|
|
background-color: black;
|
2023-05-20 04:34:02 +00:00
|
|
|
color: lime;
|
2023-05-20 03:50:44 +00:00
|
|
|
font-size: 0.75em; /* Why tho?? */
|
|
|
|
}
|
|
|
|
|
|
|
|
pre > code {
|
2023-05-19 22:49:08 +00:00
|
|
|
white-space: pre-wrap;
|
2023-05-20 03:50:44 +00:00
|
|
|
padding: 0.5em 1em;
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
2023-05-15 01:46:35 +00:00
|
|
|
}
|
|
|
|
|
2023-05-19 22:49:08 +00:00
|
|
|
/*
|
|
|
|
* Simple classes
|
|
|
|
*/
|
|
|
|
|
2023-05-21 03:43:32 +00:00
|
|
|
.click {
|
|
|
|
color: black;
|
|
|
|
text-decoration: none;
|
|
|
|
border: outset var(--light-blue);
|
|
|
|
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);
|
|
|
|
background-color: var(--dark-blue);
|
|
|
|
}
|
|
|
|
|
2023-05-20 17:22:29 +00:00
|
|
|
.site-header {
|
|
|
|
display: flex;
|
2023-05-21 04:49:18 +00:00
|
|
|
flex-flow: column;
|
2023-05-20 17:22:29 +00:00
|
|
|
gap: 1em;
|
2023-05-15 01:46:35 +00:00
|
|
|
}
|
|
|
|
|
2023-05-20 17:22:29 +00:00
|
|
|
.site-title {
|
2023-05-19 22:49:08 +00:00
|
|
|
text-align: center;
|
2023-05-20 04:34:02 +00:00
|
|
|
border: outset var(--light-warm-gray);
|
2023-05-20 03:07:28 +00:00
|
|
|
background-color: var(--light-warm-gray);
|
2023-05-20 17:22:29 +00:00
|
|
|
padding: 0.5em 0;
|
|
|
|
margin-bottom: 0;
|
2023-05-21 05:20:26 +00:00
|
|
|
overflow-wrap: anywhere;
|
2023-05-19 22:49:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.site-nav {
|
2023-05-15 01:46:35 +00:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
gap: 0.25em;
|
2023-05-20 04:34:02 +00:00
|
|
|
border: outset var(--light-warm-gray);
|
2023-05-15 01:46:35 +00:00
|
|
|
padding: 0.5em 0.25em;
|
2023-05-20 03:07:28 +00:00
|
|
|
background-color: var(--light-warm-gray);
|
2023-05-15 01:46:35 +00:00
|
|
|
}
|
|
|
|
|
2023-05-21 02:53:32 +00:00
|
|
|
.site-nav > .click {
|
|
|
|
flex: 1;
|
|
|
|
padding: 0 0.5em 0 0.5em;
|
2023-05-15 01:46:35 +00:00
|
|
|
}
|
|
|
|
|
2023-05-20 17:22:29 +00:00
|
|
|
.site-footer {
|
|
|
|
text-align: center;
|
|
|
|
border: outset var(--light-warm-gray);
|
|
|
|
background-color: var(--light-warm-gray);
|
|
|
|
padding: 0;
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
|
|
|
|
2023-05-20 03:50:44 +00:00
|
|
|
.page-title {
|
|
|
|
text-align: center;
|
2023-05-20 04:34:02 +00:00
|
|
|
border: inset var(--dark-warm-gray);
|
2023-05-20 03:50:44 +00:00
|
|
|
padding: 0.5em 0;
|
|
|
|
background-color: var(--dark-warm-gray);
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-body {
|
|
|
|
background-color: var(--light-warm-gray);
|
2023-05-20 04:34:02 +00:00
|
|
|
border: outset var(--light-warm-gray);
|
2023-05-20 03:50:44 +00:00
|
|
|
padding: 0.5em 1em;
|
|
|
|
}
|
|
|
|
|
2023-05-20 05:54:12 +00:00
|
|
|
.form-body {
|
|
|
|
background-color: var(--light-warm-gray);
|
|
|
|
border: outset var(--light-warm-gray);
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
display: flex;
|
2023-05-21 04:49:18 +00:00
|
|
|
flex-flow: column;
|
2023-05-20 05:54:12 +00:00
|
|
|
gap: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-field {
|
|
|
|
display: flex;
|
2023-05-21 04:49:18 +00:00
|
|
|
flex-flow: column;
|
2023-05-20 05:54:12 +00:00
|
|
|
}
|
|
|
|
|
2023-05-20 17:22:29 +00:00
|
|
|
.form-field > textarea {
|
|
|
|
overflow: scroll;
|
|
|
|
resize: vertical;
|
|
|
|
}
|
|
|
|
|
2023-05-20 05:54:12 +00:00
|
|
|
.form-button {
|
|
|
|
border: outset var(--light-blue);
|
|
|
|
background-color: var(--light-blue);
|
2023-05-20 17:22:29 +00:00
|
|
|
padding: 0.5em 1.5em;
|
|
|
|
text-align: left;
|
2023-05-20 05:54:12 +00:00
|
|
|
}
|
|
|
|
|
2023-05-21 03:43:32 +00:00
|
|
|
.form-button::first-letter { text-decoration: underline; }
|
|
|
|
|
|
|
|
.form-button:active {
|
|
|
|
border: inset var(--dark-blue);
|
|
|
|
background-color: var(--dark-blue);
|
|
|
|
}
|
|
|
|
|
2023-05-19 22:49:08 +00:00
|
|
|
.field-with-info {
|
2023-05-20 17:22:29 +00:00
|
|
|
border: dashed var(--highlight-green) 0.5em;
|
|
|
|
padding: 1em;
|
2023-05-21 03:43:32 +00:00
|
|
|
background-color: var(--transparent);
|
2023-05-19 22:49:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.field-with-error {
|
2023-05-20 17:22:29 +00:00
|
|
|
border: dashed var(--highlight-red) 0.5em;
|
|
|
|
padding: 1em;
|
2023-05-21 03:43:32 +00:00
|
|
|
background-color: var(--transparent);
|
2023-05-21 02:53:32 +00:00
|
|
|
}
|
|
|
|
|
2023-05-19 22:49:08 +00:00
|
|
|
/*
|
|
|
|
* Nested/layered classes
|
|
|
|
*/
|
|
|
|
|
|
|
|
.pager {
|
2023-05-15 01:46:35 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1em;
|
|
|
|
padding: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
2023-05-19 22:49:08 +00:00
|
|
|
.pager__nav {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
2023-05-20 04:34:02 +00:00
|
|
|
border: inset var(--dark-warm-gray);
|
2023-05-20 03:07:28 +00:00
|
|
|
background-color: var(--dark-warm-gray);
|
2023-05-19 22:49:08 +00:00
|
|
|
padding: 0.5em 0.25em;
|
|
|
|
gap: 0.25em;
|
|
|
|
}
|
|
|
|
|
2023-05-21 02:53:32 +00:00
|
|
|
/* ================================================================== */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Can't really add a class to these nav elements with
|
|
|
|
* Mojolicious::Plugin::TagHelpers::Pagination...
|
|
|
|
*/
|
|
|
|
|
2023-05-19 22:49:08 +00:00
|
|
|
.pager__nav > a {
|
2023-05-20 04:34:02 +00:00
|
|
|
border: outset var(--light-blue);
|
2023-05-19 22:49:08 +00:00
|
|
|
flex: 1;
|
|
|
|
text-align: center;
|
2023-05-20 03:07:28 +00:00
|
|
|
background-color: var(--light-blue);
|
2023-05-21 02:53:32 +00:00
|
|
|
text-decoration: none;
|
|
|
|
color: black;
|
2023-05-19 22:49:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pager__nav > a[rel="self"] {
|
2023-05-20 04:34:02 +00:00
|
|
|
border: inset var(--dark-blue);
|
|
|
|
background-color: var(--dark-blue);
|
2023-05-19 22:49:08 +00:00
|
|
|
}
|
|
|
|
|
2023-05-21 02:53:32 +00:00
|
|
|
.pager__nav > a:link::first-letter { text-decoration: underline; }
|
|
|
|
|
|
|
|
.pager__nav > a:active {
|
|
|
|
border: inset var(--dark-blue);
|
|
|
|
background-color: var(--dark-blue);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ================================================================== */
|
|
|
|
|
2023-05-19 22:49:08 +00:00
|
|
|
.post {
|
2023-05-20 03:07:28 +00:00
|
|
|
background-color: var(--light-warm-gray);
|
2023-05-20 04:34:02 +00:00
|
|
|
border: outset var(--light-warm-gray);
|
2023-05-20 17:52:22 +00:00
|
|
|
overflow-wrap: anywhere;
|
2023-05-15 01:46:35 +00:00
|
|
|
}
|
|
|
|
|
2023-05-19 22:49:08 +00:00
|
|
|
.post__title {
|
2023-05-15 01:46:35 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2023-05-20 03:07:28 +00:00
|
|
|
background-color: var(--teal);
|
2023-05-15 01:46:35 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0.25em 0.5em 0.25em 0.75em;
|
|
|
|
align-items: center;
|
2023-05-20 04:34:02 +00:00
|
|
|
border: inset var(--teal);
|
2023-05-15 01:46:35 +00:00
|
|
|
}
|
|
|
|
|
2023-05-19 22:49:08 +00:00
|
|
|
.post__id {
|
2023-05-20 04:34:02 +00:00
|
|
|
border: outset var(--true-gray);
|
2023-05-15 01:46:35 +00:00
|
|
|
padding: 0.25em;
|
2023-05-20 03:07:28 +00:00
|
|
|
background-color: var(--true-gray);
|
2023-05-21 02:53:32 +00:00
|
|
|
text-decoration: none;
|
2023-05-21 04:49:18 +00:00
|
|
|
white-space: nowrap;
|
2023-05-15 01:46:35 +00:00
|
|
|
}
|
|
|
|
|
2023-05-21 02:53:32 +00:00
|
|
|
.post__id:link::first-letter { text-decoration: underline; }
|
|
|
|
|
|
|
|
.post__id:active { border: inset; }
|
|
|
|
|
2023-05-19 22:49:08 +00:00
|
|
|
.post__date, .post__author, .post__body {
|
2023-05-15 01:46:35 +00:00
|
|
|
margin: 1em 0.5em;
|
|
|
|
padding: 0.25em 0.5em;
|
|
|
|
}
|
|
|
|
|
2023-05-19 22:49:08 +00:00
|
|
|
.post--remark__date {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2023-05-20 03:07:28 +00:00
|
|
|
background-color: var(--teal);
|
2023-05-19 22:49:08 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0.25em 0.5em 0.25em 0.75em;
|
|
|
|
align-items: center;
|
2023-05-20 04:34:02 +00:00
|
|
|
border: inset var(--teal);
|
2023-05-15 02:04:11 +00:00
|
|
|
}
|
|
|
|
|
2023-05-19 22:49:08 +00:00
|
|
|
.post__body {
|
2023-05-20 03:07:28 +00:00
|
|
|
background-color: var(--dark-warm-gray);
|
2023-05-20 04:34:02 +00:00
|
|
|
border: inset var(--dark-warm-gray);
|
2023-05-15 01:46:35 +00:00
|
|
|
}
|
|
|
|
|
2023-05-19 22:49:08 +00:00
|
|
|
.post__nav {
|
2023-05-15 01:46:35 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
padding: 0 1em 0.5em 1em;
|
|
|
|
gap: 0.5em;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2023-05-21 02:53:32 +00:00
|
|
|
.post__nav > .click {
|
2023-05-15 01:46:35 +00:00
|
|
|
flex: 1 0;
|
|
|
|
text-align: center;
|
|
|
|
padding: 0.25em 0;
|
|
|
|
}
|