467 lines
10 KiB
CSS
467 lines
10 KiB
CSS
/* src: */
|
|
.currentpage, .pagebutton, input[type=file]::file-selector-button, button.warn, input[type=submit].warn, .linkbutton.warn, button.critical, input[type=submit].critical, .linkbutton.critical, button, input[type=submit], .linkbutton {
|
|
cursor: default;
|
|
color: black;
|
|
font-size: 0.9rem;
|
|
text-decoration: none;
|
|
border: 1px solid black;
|
|
border-radius: 3px;
|
|
padding: 5px 20px;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
body {
|
|
font-family: sans-serif;
|
|
margin: 20px 100px;
|
|
background-color: rgb(173.5214173228, 183.6737007874, 161.0262992126);
|
|
}
|
|
|
|
.big {
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
#topnav {
|
|
padding: 10px;
|
|
display: flex;
|
|
justify-content: end;
|
|
background-color: #c1ceb1;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
#bottomnav {
|
|
padding: 10px;
|
|
display: flex;
|
|
justify-content: end;
|
|
background-color: rgb(143.7039271654, 144.3879625984, 142.8620374016);
|
|
}
|
|
|
|
.darkbg {
|
|
padding-bottom: 10px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
background-color: rgb(143.7039271654, 144.3879625984, 142.8620374016);
|
|
}
|
|
|
|
.user-actions {
|
|
display: flex;
|
|
column-gap: 15px;
|
|
}
|
|
|
|
.site-title {
|
|
padding-right: 30px;
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|
|
|
|
.thread-title {
|
|
margin: 0;
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.post {
|
|
display: grid;
|
|
grid-template-columns: 200px 1fr;
|
|
grid-template-rows: 1fr;
|
|
gap: 0;
|
|
grid-auto-flow: row;
|
|
grid-template-areas: "usercard post-content-container";
|
|
border: 2px outset rgb(135.1928346457, 145.0974015748, 123.0025984252);
|
|
}
|
|
|
|
.usercard {
|
|
grid-area: usercard;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 20px 10px;
|
|
border: 4px outset rgb(217.26, 220.38, 213.42);
|
|
background-color: rgb(143.7039271654, 144.3879625984, 142.8620374016);
|
|
border-right: solid 2px;
|
|
}
|
|
|
|
.post-content-container {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: 0.2fr 2.5fr;
|
|
gap: 0px 0px;
|
|
grid-auto-flow: row;
|
|
grid-template-areas: "post-info" "post-content";
|
|
grid-area: post-content-container;
|
|
}
|
|
|
|
.post-info {
|
|
grid-area: post-info;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 5px 20px;
|
|
align-items: center;
|
|
border-top: 1px solid black;
|
|
border-bottom: 1px solid black;
|
|
}
|
|
|
|
.post-content {
|
|
grid-area: post-content;
|
|
padding: 20px;
|
|
margin-right: 25%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.post-inner {
|
|
height: 100%;
|
|
}
|
|
|
|
pre code {
|
|
display: block;
|
|
background-color: rgb(38.5714173228, 40.9237007874, 35.6762992126);
|
|
font-size: 1rem;
|
|
color: white;
|
|
border-bottom-right-radius: 8px;
|
|
border-bottom-left-radius: 8px;
|
|
border-left: 10px solid rgb(229.84, 231.92, 227.28);
|
|
padding: 20px;
|
|
}
|
|
|
|
.inline-code {
|
|
background-color: rgb(38.5714173228, 40.9237007874, 35.6762992126);
|
|
color: white;
|
|
padding: 5px 10px;
|
|
display: inline-block;
|
|
margin: 4px;
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.copy-code-container {
|
|
position: sticky;
|
|
width: calc(100% - 4px);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: last baseline;
|
|
font-family: sans-serif;
|
|
border-top-right-radius: 8px;
|
|
border-top-left-radius: 8px;
|
|
background-color: #c1ceb1;
|
|
border-left: 2px solid black;
|
|
border-right: 2px solid black;
|
|
border-top: 2px solid black;
|
|
}
|
|
.copy-code-container::before {
|
|
content: "code block";
|
|
font-style: italic;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.copy-code {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
blockquote {
|
|
padding: 10px 20px;
|
|
margin: 10px;
|
|
border-radius: 4px;
|
|
border-left: 10px solid rgb(229.84, 231.92, 227.28);
|
|
background-color: rgb(135.1928346457, 145.0974015748, 123.0025984252);
|
|
}
|
|
|
|
.user-posts {
|
|
display: grid;
|
|
grid-template-columns: 200px 1fr;
|
|
grid-template-rows: 1fr;
|
|
gap: 0;
|
|
grid-auto-flow: row;
|
|
grid-template-areas: "user-page-usercard user-posts-container";
|
|
border: 2px outset rgb(135.1928346457, 145.0974015748, 123.0025984252);
|
|
}
|
|
|
|
.user-page-usercard {
|
|
grid-area: user-page-usercard;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 20px 10px;
|
|
border: 4px outset rgb(217.26, 220.38, 213.42);
|
|
background-color: rgb(143.7039271654, 144.3879625984, 142.8620374016);
|
|
border-right: solid 2px;
|
|
}
|
|
|
|
.user-posts-container {
|
|
grid-area: user-posts-container;
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: 0.2fr 2.5fr;
|
|
gap: 0px 0px;
|
|
grid-auto-flow: row;
|
|
grid-template-areas: "post-info" "post-content";
|
|
}
|
|
|
|
.avatar {
|
|
width: 90%;
|
|
height: 90%;
|
|
object-fit: contain;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.username-link {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.user-status {
|
|
text-align: center;
|
|
}
|
|
|
|
button, input[type=submit], .linkbutton {
|
|
display: inline-block;
|
|
background-color: rgb(177, 206, 204.5);
|
|
}
|
|
button:hover, input[type=submit]:hover, .linkbutton:hover {
|
|
background-color: rgb(192.6, 215.8, 214.6);
|
|
}
|
|
button:active, input[type=submit]:active, .linkbutton:active {
|
|
background-color: rgb(166.6881496063, 178.0118503937, 177.4261417323);
|
|
}
|
|
button:disabled, input[type=submit]:disabled, .linkbutton:disabled {
|
|
background-color: rgb(209.535, 211.565, 211.46);
|
|
}
|
|
button.critical, input[type=submit].critical, .linkbutton.critical {
|
|
color: white;
|
|
background-color: red;
|
|
}
|
|
button.critical:hover, input[type=submit].critical:hover, .linkbutton.critical:hover {
|
|
background-color: #ff3333;
|
|
}
|
|
button.critical:active, input[type=submit].critical:active, .linkbutton.critical:active {
|
|
background-color: rgb(149.175, 80.325, 80.325);
|
|
}
|
|
button.critical:disabled, input[type=submit].critical:disabled, .linkbutton.critical:disabled {
|
|
background-color: rgb(174.675, 156.825, 156.825);
|
|
}
|
|
button.warn, input[type=submit].warn, .linkbutton.warn {
|
|
background-color: #fbfb8d;
|
|
}
|
|
button.warn:hover, input[type=submit].warn:hover, .linkbutton.warn:hover {
|
|
background-color: rgb(251.8, 251.8, 163.8);
|
|
}
|
|
button.warn:active, input[type=submit].warn:active, .linkbutton.warn:active {
|
|
background-color: rgb(198.3813559322, 198.3813559322, 154.4186440678);
|
|
}
|
|
button.warn:disabled, input[type=submit].warn:disabled, .linkbutton.warn:disabled {
|
|
background-color: rgb(217.55, 217.55, 209.85);
|
|
}
|
|
|
|
input[type=file]::file-selector-button {
|
|
background-color: rgb(177, 206, 204.5);
|
|
margin: 10px 10px;
|
|
}
|
|
input[type=file]::file-selector-button:hover {
|
|
background-color: rgb(192.6, 215.8, 214.6);
|
|
}
|
|
input[type=file]::file-selector-button:active {
|
|
background-color: rgb(166.6881496063, 178.0118503937, 177.4261417323);
|
|
}
|
|
input[type=file]::file-selector-button:disabled {
|
|
background-color: rgb(209.535, 211.565, 211.46);
|
|
}
|
|
|
|
p {
|
|
margin: 15px 0;
|
|
}
|
|
|
|
.pagebutton {
|
|
background-color: rgb(177, 206, 204.5);
|
|
padding: 5px 5px;
|
|
margin: 0;
|
|
display: inline-block;
|
|
min-width: 20px;
|
|
text-align: center;
|
|
}
|
|
.pagebutton:hover {
|
|
background-color: rgb(192.6, 215.8, 214.6);
|
|
}
|
|
.pagebutton:active {
|
|
background-color: rgb(166.6881496063, 178.0118503937, 177.4261417323);
|
|
}
|
|
.pagebutton:disabled {
|
|
background-color: rgb(209.535, 211.565, 211.46);
|
|
}
|
|
|
|
.currentpage {
|
|
border: none;
|
|
padding: 5px 5px;
|
|
margin: 0;
|
|
display: inline-block;
|
|
min-width: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.modform {
|
|
display: inline;
|
|
}
|
|
|
|
.login-container > * {
|
|
width: 25%;
|
|
margin: auto;
|
|
}
|
|
|
|
.settings-container > * {
|
|
width: 40%;
|
|
margin: auto;
|
|
}
|
|
|
|
.avatar-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
input[type=text], input[type=password], textarea, select {
|
|
border: 1px solid black;
|
|
border-radius: 3px;
|
|
padding: 7px 10px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
resize: vertical;
|
|
background-color: rgb(217.8, 225.6, 208.2);
|
|
}
|
|
input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus {
|
|
background-color: rgb(230.2, 235.4, 223.8);
|
|
}
|
|
|
|
.infobox {
|
|
border: 2px solid black;
|
|
background-color: #c1ceb1;
|
|
padding: 20px 15px;
|
|
}
|
|
.infobox.critical {
|
|
background-color: rgb(237, 129, 129);
|
|
}
|
|
.infobox.warn {
|
|
background-color: #fbfb8d;
|
|
}
|
|
|
|
.infobox > span {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.infobox-icon-container {
|
|
min-width: 60px;
|
|
padding-right: 15px;
|
|
}
|
|
|
|
.thread {
|
|
display: grid;
|
|
grid-template-columns: 96px 1.6fr 96px;
|
|
grid-template-rows: 1fr;
|
|
gap: 0px 0px;
|
|
grid-auto-flow: row;
|
|
min-height: 96px;
|
|
grid-template-areas: "thread-sticky-container thread-info-container thread-locked-container";
|
|
}
|
|
|
|
.thread-sticky-container {
|
|
grid-area: thread-sticky-container;
|
|
border: 2px outset rgb(217.26, 220.38, 213.42);
|
|
}
|
|
|
|
.thread-locked-container {
|
|
grid-area: thread-locked-container;
|
|
border: 2px outset rgb(217.26, 220.38, 213.42);
|
|
}
|
|
|
|
.contain-svg {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.contain-svg > svg {
|
|
height: 50%;
|
|
width: 50%;
|
|
}
|
|
|
|
.thread-info-container {
|
|
grid-area: thread-info-container;
|
|
background-color: #c1ceb1;
|
|
padding: 5px 20px;
|
|
border-top: 1px solid black;
|
|
border-bottom: 1px solid black;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.thread-info-post-preview {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: inline;
|
|
margin-right: 25%;
|
|
}
|
|
|
|
.topic {
|
|
display: grid;
|
|
grid-template-columns: 1.5fr 64px;
|
|
grid-template-rows: 1fr;
|
|
gap: 0px 0px;
|
|
grid-auto-flow: row;
|
|
grid-template-areas: "topic-info-container topic-locked-container";
|
|
}
|
|
|
|
.topic-info-container {
|
|
grid-area: topic-info-container;
|
|
background-color: #c1ceb1;
|
|
padding: 5px 20px;
|
|
border: 1px solid black;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.topic-locked-container {
|
|
grid-area: topic-locked-container;
|
|
border: 2px outset rgb(217.26, 220.38, 213.42);
|
|
}
|
|
|
|
.draggable-topic {
|
|
cursor: pointer;
|
|
user-select: none;
|
|
background-color: #c1ceb1;
|
|
padding: 20px;
|
|
margin: 12px 0;
|
|
border-top: 6px outset rgb(217.26, 220.38, 213.42);
|
|
border-bottom: 6px outset rgb(135.1928346457, 145.0974015748, 123.0025984252);
|
|
}
|
|
.draggable-topic.dragged {
|
|
background-color: rgb(177, 206, 204.5);
|
|
}
|
|
|
|
.editing {
|
|
background-color: rgb(217.26, 220.38, 213.42);
|
|
}
|
|
|
|
.context-explain {
|
|
margin: 20px 0;
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
.post-edit-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: baseline;
|
|
height: 100%;
|
|
}
|
|
|
|
.babycode-editor {
|
|
height: 150px;
|
|
}
|
|
|
|
ul {
|
|
margin: 10px 0 10px 30px;
|
|
padding: 0;
|
|
}
|