152 lines
3.1 KiB
CSS
152 lines
3.1 KiB
CSS
.pager {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.25em;
|
|
padding: 0;
|
|
}
|
|
|
|
.pager__title {
|
|
text-align: center;
|
|
border: inset var(--dark-warm-gray) 0.18rem;
|
|
padding: 0.5em 0;
|
|
margin: 1em 0 0 0;
|
|
background-color: var(--dark-warm-gray);
|
|
}
|
|
|
|
.pager__nav {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
border: inset var(--dark-warm-gray) 0.18rem;
|
|
background-color: var(--dark-warm-gray);
|
|
padding: 0.5em 0.25em;
|
|
gap: 0.25em;
|
|
}
|
|
|
|
/* ================================================================== */
|
|
|
|
/*
|
|
* Can't really add a class to these nav elements with
|
|
* Mojolicious::Plugin::TagHelpers::Pagination...
|
|
*/
|
|
|
|
.pager__nav > a {
|
|
border: outset var(--light-blue) 0.18rem;
|
|
flex: 1;
|
|
text-align: center;
|
|
background-color: var(--light-blue);
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|
|
|
|
.pager__nav > a[rel="self"] {
|
|
border: inset var(--dark-blue) 0.18rem;
|
|
background-color: var(--dark-blue);
|
|
}
|
|
|
|
.pager__nav > a:link::first-letter { text-decoration: underline; }
|
|
|
|
.pager__nav > a:active {
|
|
border: inset var(--dark-blue) 0.18rem;
|
|
background-color: var(--dark-blue);
|
|
}
|
|
|
|
/* ================================================================== */
|
|
|
|
.post {
|
|
background-color: var(--light-warm-gray);
|
|
border: outset var(--light-warm-gray) 0.18rem;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.post__title {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
background-color: var(--teal);
|
|
margin: 0;
|
|
padding: 0.25em 0.5em 0.25em 0.75em;
|
|
align-items: center;
|
|
border: inset var(--dark-warm-gray) 0.18rem;
|
|
}
|
|
|
|
.post__id {
|
|
border: outset var(--true-gray) 0.18rem;
|
|
padding: 0.25em;
|
|
background-color: var(--true-gray);
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
color: black;
|
|
}
|
|
|
|
.post__id:link::first-letter { text-decoration: underline; }
|
|
|
|
.post__id:active { border: inset var(--true-gray) 0.18rem; }
|
|
|
|
.post__date, .post__author, .post__body {
|
|
margin: 1em 0.5em;
|
|
padding: 0.25em 0.5em;
|
|
}
|
|
|
|
.post__body {
|
|
background-color: var(--dark-warm-gray);
|
|
border: inset var(--dark-warm-gray) 0.18rem;
|
|
}
|
|
|
|
details[open].post__body summary { display: none; }
|
|
|
|
.post__nav {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
flex-flow: row wrap;
|
|
padding: 0 1em 0.5em 1em;
|
|
gap: 0.5em;
|
|
align-items: center;
|
|
}
|
|
|
|
.post__nav > .click {
|
|
flex: 1 0;
|
|
text-align: center;
|
|
padding: 0.25em 0;
|
|
}
|
|
|
|
/* New header stuff */
|
|
.header {
|
|
display: flex;
|
|
flex-flow: column;
|
|
border: outset var(--light-warm-gray) 0.18rem;
|
|
background-color: var(--light-warm-gray);
|
|
padding: 0 0.25em 0.5em 0.25em;
|
|
margin-top: 1.5em;
|
|
}
|
|
|
|
.header__title {
|
|
text-align: center;
|
|
border: inset var(--dark-warm-gray) 0.18rem;
|
|
padding: 0.25em 0;
|
|
margin: 0.25em 0;
|
|
background-color: var(--dark-warm-gray);
|
|
}
|
|
|
|
.header__nav {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
gap: 0.25em;
|
|
text-align: left;
|
|
}
|
|
|
|
.header__nav--moderator {
|
|
margin: 0.5em 0 0 0;
|
|
align-items: center;
|
|
}
|
|
|
|
.header__nav > .click {
|
|
flex: 1;
|
|
padding: 0 0.5em;
|
|
}
|
|
|
|
.header__search {
|
|
display: flex;
|
|
flex-flow: row;
|
|
gap: 0.25em;
|
|
margin-top: 0.5em;
|
|
}
|