2024-07-23 21:51:42 +01:00
|
|
|
.top_bar {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
2024-08-01 19:29:04 +01:00
|
|
|
align-items: center;
|
2024-07-23 21:51:42 +01:00
|
|
|
margin-right: 2em;
|
|
|
|
}
|
|
|
|
|
2024-08-01 19:29:04 +01:00
|
|
|
.top_bar_side {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: baseline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.top_bar_side > * {
|
|
|
|
padding: 0 0.5em;
|
|
|
|
}
|
|
|
|
|
2024-07-27 23:16:19 +01:00
|
|
|
.truth_page_body {
|
2024-07-23 21:51:42 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.truth_list {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 50vw;
|
|
|
|
padding-left: 1eM;
|
|
|
|
}
|
|
|
|
|
|
|
|
.individual_truth {
|
|
|
|
padding-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
2024-07-29 22:34:43 +01:00
|
|
|
.individual_truth h3 {
|
2024-07-26 19:52:02 +01:00
|
|
|
text-align: center;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
border-bottom: slategray solid 0.15em;
|
|
|
|
}
|
|
|
|
|
2024-07-30 23:09:55 +01:00
|
|
|
.individual_truth p {
|
|
|
|
padding: 0 0.5em;
|
2024-07-29 22:34:43 +01:00
|
|
|
}
|
|
|
|
|
2024-07-23 21:51:51 +01:00
|
|
|
.editor {
|
2024-07-25 18:32:53 +01:00
|
|
|
width: calc(100% - 1.25em); /* The width is calculated *inside* the padding, so adjust for it. */
|
2024-07-23 21:51:42 +01:00
|
|
|
height: 6eM;
|
|
|
|
font-size: large;
|
|
|
|
padding: 0.5em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2024-08-01 19:29:04 +01:00
|
|
|
.truth_edit_form {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2024-07-23 21:51:42 +01:00
|
|
|
.graph {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-content: center;
|
|
|
|
margin-right: 2vw;
|
|
|
|
width: 45vw;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph > div {
|
|
|
|
width: 100%;
|
|
|
|
height: 80vh;
|
|
|
|
position: sticky;
|
|
|
|
top: 25%;
|
|
|
|
}
|
|
|
|
|
2024-07-30 23:09:55 +01:00
|
|
|
.week_change:link, .week_change:visited,
|
2024-08-01 21:18:30 +01:00
|
|
|
.individual_truth > a, .individual_truth > a:link, .individual_truth > a:visited,
|
|
|
|
nav > a, nav > a:link, nav > a:visited,
|
|
|
|
h1 > a, h1 > a:link, h1 > a:visited {
|
2024-07-26 00:50:38 +01:00
|
|
|
color: black;
|
|
|
|
text-decoration: none;
|
|
|
|
transition: all .2s ease-in-out;
|
|
|
|
}
|
|
|
|
|
2024-07-30 23:09:55 +01:00
|
|
|
.week_change:hover, .week_change:focus,
|
2024-08-01 21:18:30 +01:00
|
|
|
.individual_truth > a:hover, .individual_truth > a:focus,
|
|
|
|
nav > a:hover, nav > a:focus,
|
|
|
|
h1 > a:hover, h1 > a:focus {
|
2024-07-26 00:50:38 +01:00
|
|
|
color: mediumpurple;
|
|
|
|
text-shadow: 0 2px 2px slategray;
|
|
|
|
}
|
|
|
|
|
|
|
|
.week_change_hidden {
|
|
|
|
padding-left: 0.5eM;
|
|
|
|
padding-right: 0.5eM;
|
|
|
|
}
|
|
|
|
|
2024-07-26 00:41:05 +01:00
|
|
|
@media (orientation: portrait) {
|
|
|
|
.truth_list {
|
|
|
|
width: 60vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
.graph {
|
|
|
|
width: 35vw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-08-01 21:18:30 +01:00
|
|
|
.tag_list {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column wrap;
|
|
|
|
align-content: flex-start;
|
|
|
|
max-height: 40vh;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (orientation: portrait) {
|
|
|
|
.tag_list {
|
|
|
|
max-height: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.new_tag {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
border: black dashed 1px;
|
|
|
|
padding: 0.5em;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
width: fit-content;
|
|
|
|
}
|
|
|
|
|
|
|
|
.new_tag > button {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
margin: 0.25em;
|
|
|
|
width: fit-content;
|
|
|
|
text-decoration: none;
|
|
|
|
text-shadow:
|
|
|
|
-1px 0 3px black,
|
|
|
|
1px 0 3px black,
|
|
|
|
0 -1px 3px black,
|
|
|
|
0 1px 3px black;
|
|
|
|
color: white;
|
|
|
|
padding: 0.25em 0.75em 0.25em 0.25em;
|
|
|
|
border-bottom-left-radius: 0.4em;
|
|
|
|
border-top-left-radius: 0.4em;
|
|
|
|
border-bottom-right-radius: 1.5em 0.8em;
|
|
|
|
border-top-right-radius: 1.5em 0.8em;
|
|
|
|
|
|
|
|
transition: all .2s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag:hover, .tag:focus {
|
|
|
|
color: mediumpurple;
|
|
|
|
}
|
|
|
|
|
|
|
|
.truth_tags {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.truth_tags > .tag { /* We want smaller tags, the shadows must follow as well */
|
|
|
|
font-size: smaller;
|
|
|
|
text-shadow:
|
|
|
|
-1px 0 2px black,
|
|
|
|
1px 0 2px black,
|
|
|
|
0 -1px 2px black,
|
|
|
|
0 1px 2px black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.truth_tags > form {
|
|
|
|
display: contents;
|
|
|
|
}
|
|
|
|
|
2024-08-01 19:29:04 +01:00
|
|
|
.login {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.login > * {
|
|
|
|
padding-bottom: 0.1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.login > label {
|
|
|
|
align-self: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
.login > b {
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
2024-07-26 00:41:05 +01:00
|
|
|
/* Global styling */
|
|
|
|
|
2024-07-23 21:51:42 +01:00
|
|
|
hr {
|
|
|
|
border: none;
|
2024-07-26 19:52:02 +01:00
|
|
|
border-top: 2px dotted slategray;
|
|
|
|
color: slategray;
|
2024-07-23 21:51:42 +01:00
|
|
|
overflow: visible;
|
|
|
|
text-align: center;
|
|
|
|
height: 5px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
border-left: 2px solid #9ec5fe;
|
|
|
|
padding-left: 1eM;
|
|
|
|
margin-left: 1.5eM
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote > blockquote {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
margin-bottom: 10eM;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > h2 {
|
|
|
|
padding-left: 0.25eM;
|
|
|
|
}
|
2024-08-01 21:18:30 +01:00
|
|
|
|
|
|
|
nav {
|
|
|
|
height: fit-content;
|
|
|
|
margin: 0 0.25em;
|
|
|
|
border-left: 0.15em solid slategray;
|
|
|
|
border-right: 0.15em solid slategray;
|
|
|
|
}
|