PostText/assets/css/PostText.css

151 lines
2.4 KiB
CSS
Raw Normal View History

2023-05-15 01:46:35 +00:00
:root {
font-size: calc(8px + 1vmin);
box-sizing: border-box;
}
*, ::before, ::after {
box-sizing: inherit;
}
body {
background-image: url('/images/halloween_background_1.gif');
background-attachment: fixed;
width: 99vmin;
margin: 0 auto;
}
header > h1, footer > p {
text-align: center;
border: outset;
background-color: #C2B3A9;
padding: 0.5em 0;
}
hr + h2 {
text-align: center;
border: inset;
padding: 0.5em 0;
background-color: #A59990;
}
header > nav {
display: flex;
flex-flow: row wrap;
justify-content: flex-start;
gap: 0.25em;
border: outset;
padding: 0.5em 0.25em;
background-color: #C2B3A9;
}
header > nav a {
border: outset;
flex: 1;
padding-left: 0.5em;
background-color: #8C97A8;
}
2023-05-15 02:04:11 +00:00
.threads, .remarks {
2023-05-15 01:46:35 +00:00
display: flex;
flex-direction: column;
/* border: dashed; */
gap: 1em;
padding: 0.5em 0;
}
2023-05-15 02:04:11 +00:00
.thread, .remark {
2023-05-15 01:46:35 +00:00
background-color: #C2B3A9;
border: outset;
}
2023-05-15 02:04:11 +00:00
.thread .title, .remark .date {
2023-05-15 01:46:35 +00:00
display: flex;
justify-content: space-between;
flex-wrap: wrap;
background-color: #5B90A4;
margin: 0;
padding: 0.25em 0.5em 0.25em 0.75em;
align-items: center;
border: inset;
}
2023-05-15 02:04:11 +00:00
.thread .title .id, .remark .id {
2023-05-15 01:46:35 +00:00
border: outset;
padding: 0.25em;
background-color: #999999;
}
.thread .date, .thread .author, .thread .body {
margin: 1em 0.5em;
padding: 0.25em 0.5em;
}
2023-05-15 02:43:13 +00:00
.remark .author, .remark .body {
2023-05-15 02:04:11 +00:00
margin: 1em 0.5em;
padding: 0.25em 0.5em;
}
.thread .body, .remark .body {
2023-05-15 01:46:35 +00:00
background-color: #A59990;
border: inset;
}
2023-05-15 02:04:11 +00:00
.thread nav, .remark 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-15 02:04:11 +00:00
.thread nav a, .remark nav a {
2023-05-15 01:46:35 +00:00
flex: 1 0;
text-align: center;
border: outset;
padding: 0.25em 0;
white-space: nowrap;
background-color: #8C97A8;
}
article + nav {
display: flex;
justify-content: flex-start;
flex-flow: row wrap;
border: inset;
background-color: #A59990;
padding: 0.5em 0.25em;
gap: 0.25em;
}
article + nav > a {
border: outset;
flex: 1;
/* border-bottom-style: none; */
text-align: center;
background-color: #8C97A8;
}
article + nav > a[rel="self"] {
border-style: inset;
background-color: #696F80;
}
article + nav > span {
}
.field-with-info {
border-style: solid;
border-color: green;
}
2022-08-25 02:15:52 +00:00
.field-with-error {
border-style: solid;
border-color: red;
}
2022-08-24 01:20:23 +00:00
pre {
white-space: pre-wrap;
}