jschan - Anonymous imageboard software. Classic look, modern features and feel. Works without JavaScript and supports Tor, I2P, Lokinet, etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

841 lines
12 KiB

/*tomorrow*/
/*
:root {
--background-top: #1d1f21;
--background-rest: #1d1f21;
--post-color: #282a2e;
--post-outline-color: #111;
--label-color: #282a2e;
--box-border-color: #111;
--darken: #00000010;
--highlighted-post-color: #ff000010;
--highlighted-post-outline-color: #111;
--board-title: #c5c8c6;
--hr: #282a2e;
--font-color: #c5c8c6;
--name-color: #c5c8c6;
--capcode-color: #f00;
--subject-color: #b294bb;
--link-color: #5f89ac;
--post-link-color: #5f89ac;
--link-hover: #81a2be;
--input-borders: #111;
--input-color: #c5c8c6;
--input-background: #282a2e;
--dice-color: darkorange;
--title-color: #d70000;
--greentext-color: green;
}
*/
/*yotsuba b*/
/*
:root {
--background-top: #d6daf0;
--background-rest: #eef2ff;
--post-color: #D6DAF0;
--post-outline-color: #B7C5D9;
--label-color: #98E;
--box-border-color: #000;
--darken: #00000010;
--highlighted-post-color: #d6bad0;
--highlighted-post-outline-color: #ba9dbf;
--board-title: #af0a0f;
--hr: lightgray;
--font-color: black;
--name-color: #117743;
--capcode-color: #f00;
--subject-color: #0F0C5D;
--link-color: #34345C;
--post-link-color: #d00;
--link-hover: #d00;
--input-borders: #a9a9a9;
--input-color: #000;
--input-background: white;
--dice-color: darkorange;
--title-color: #d70000;
--greentext-color: green;
}
*/
/*lainchan*/
:root {
--background-top: #1E1E1E;
--background-rest: #1E1E1E;
--post-color: #333333;
--post-outline-color: #555555;
--label-color: #333333;
--box-border-color: #666666;
--darken: #00000050;
--highlighted-post-color: #32DD7220;
--highlighted-post-outline-color: #32DD7250;
--board-title: #32DD72;
--hr: #333333;
--font-color: #bbbbbb;
--name-color: #32DD72;
--capcode-color: #f00;
--subject-color: #b294bb;
--link-color: #fff;
--post-link-color: #fff;
--link-hover: #32DD72;
--input-borders: #666666;
--input-color: #CCCCCC;
--input-background: #333333;
--dice-color: darkorange;
--title-color: #d70000;
--greentext-color: #B8D962;
}
html {
scroll-behavior: smooth;
}
body {
font-family: arial, helvetica, sans-serif;
font-size: 10pt;
color: var(--font-color);
background: linear-gradient(var(--background-top) 38px, var(--background-rest) 238px);
flex: 1;
display: flex;
flex-direction: column;
min-height: 100vh;
margin: 0;
}
main {
margin: 38px 0 0 0;
}
.row {
display: flex;
flex-direction: row;
}
.col {
display: flex;
flex-direction: column;
}
.strikethrough {
text-decoration: line-through;
}
.underline {
text-decoration: underline;
}
.bold {
font-weight: bold;
}
pre {
font-family: inherit;
margin: 1em 2em;
white-space: pre-wrap;
overflow-wrap: break-word;
}
.navbar {
background: var(--post-color);
border-bottom: 1px solid var(--box-border-color);
position: fixed;
width: 100%;
z-index: 1;
top: 0;
}
.replies {
padding-top: 5px;
font-size: smaller;
clear: both;
}
.code {
text-align: left;
border-width: 1px 1px 1px 10px;
border-style: solid;
border-color: var(--darken);
display: block;
margin: 0.5em 0;
display: flex;
overflow-x: auto;
white-space: pre;
}
.code, .mono {
background: var(--darken);
padding: 2px;
font-family: monospace;
}
.text-center {
text-align: center;
}
.ml-1 {
margin-left: 1px;
}
.ml-5 {
margin-left: 5px;
}
.mr-1 {
margin-right: 1px!important;
}
.mr-5 {
margin-right: 5px;
}
.mv-10 {
margin: 10px 0;
}
.mt-10 {
margin-top: 10px;
}
.mv-5 {
margin: 5px 0;
}
.mv-0 {
margin: 0 auto;
}
.mb-10 {
margin-bottom: 10px;
}
.ph-5 {
padding: 0 5px;
}
.pv-5 {
padding: 5px 0;
}
.pages {
box-sizing: border-box;
padding: 10px;
width: max-content;
width: -moz-max-content;
margin-bottom: 5px;
}
a, a:visited, a .post-name {
text-decoration: underline;
color: var(--link-color);
}
.post-message a {
text-decoration: underline;
color: var(--post-link-color);
}
.pages a, .stickynav a {
text-decoration: none;
}
object {
object-fit: contain;
}
.board-header {
display: flex;
flex-direction: column;
align-items: center;
}
.catalog-tile {
padding: 5px;
margin: 2px;
text-align: center;
max-height: 300px;
width: 250px;
overflow: hidden;
border: 2px solid var(--post-outline-color);
box-sizing: border-box;
}
.catalog-tile:hover {
overflow-y: auto;
}
p {
margin: 5px;
}
.no-m-p {
margin: 0px;
padding: 0px;
}
.catalog-thumb {
display: block;
box-shadow: 0 0 3px black;
width: 64px;
height: 64px;
object-fit: cover;
margin: 5px;
}
.catalog {
display:flex;
align-items:flex-start;
justify-content: center;
flex-flow: row wrap;
}
.detected {
background: #FAF8F8;
color: #3060A8;
}
.spoiler {
background: black;
color: black;
}
.spoiler:hover {
color: white;
}
.spoiler:not(:hover) * {
color: black;
background: black!important; /*for detected coloring*/
}
.banmessage {
color: red;
font-weight: bold;
}
.close {
text-decoration: none;
justify-content: center;
font-weight: bolder;
margin-left: auto;
width: 25px;
}
.reports {
margin-top: 5px;
background: var(--highlighted-post-color) !important;
border-color: var(--highlighted-post-outline-color)!important;
border-width: 1px 0;
border-style: solid none;
}
.dice {
color: var(--dice-color);
}
.title, .required {
font-weight: bold;
}
.required {
color: maroon;
}
.title {
color: var(--title-color);
}
#bottom {
margin-bottom: 10px;
}
.required {
margin: 0 5px;
}
.pinktext {
color: #E0727F;
}
.greentext {
color: var(--greentext-color);
}
a .post-name:hover, a:hover {
color: var(--link-hover)!important;
}
.thread, .action-wrapper, .form-wrapper, .table-container {
display: flex;
flex-direction: column;
align-items: flex-start;
}
table {
background: var(--background-rest);
border: 1px solid var(--box-border-color);
border-spacing: 0;
width: 600px;
}
.table-head, th {
background: var(--label-color);
}
td, th {
padding: 5px;
}
.action-wrapper {
text-align: left;
}
.flex-center {
align-items: center;
}
.stickynav {
bottom: 5px;
right: 5px;
position: fixed;
z-index: 1;
}
.post-container, .stickynav, .pages, .toggle-summary, .catalog-tile {
background: var(--post-color);
border-width: 1px;/*0 1px 1px 0;*/
border-style: solid;
border-color: var(--post-outline-color);
}
.actions {
text-align: left;
max-width: 200px;
display: flex;
flex-direction: column;
margin: 2px 0;
padding: 2px;
}
.action-wrapper {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.actions label {
padding: 2px 0;
}
.toggle-label:hover {
/*box-shadow: inset 0 0 100px 100px rgba(255,255,255,.25);*/
}
.toggle-summary {
padding: 10px;
cursor: pointer;
}
#postform:target + .toggle-summary {
visibility: hidden;
}
.toggle-label {
max-width: 100%;
box-sizing: border-box;
display: flex;
flex-flow: column wrap;
width: max-content;
width: -moz-max-content;
}
.toggle {
display: none;
}
.toggle:checked + * {
display: flex;
}
.form-post {
display: flex;
flex-direction: column;
max-width: 100%;
}
.togglable {
display: none;
}
.user-id {
text-shadow: #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px;
color: white;
padding: 0px 2px;
border: 1px solid rgba(0, 0, 0, 0.4);
}
.post-check {
position: relative;
top: 3px;
margin: -3px 1px !important;
}
.post-files {
float: left;
margin: 0 .5em .5em .5em;
display: flex;
flex-flow: row wrap;
align-items: start;
}
a, video, img, input, summary {
outline: 0;
}
.post-data {
overflow: hidden;
}
.post-file {
display: flex;
flex-direction: column;
padding: .5em .5em 0 0;
align-items: center;
}
.post-file-info:hover {
/*word-break: break-all;*/
}
.post-file-info {
text-align: center;
margin: 2px;
margin-top: 0px;
max-width: 150px;
overflow: hidden;
text-overflow: ellipsis;
word-break: keep-all;
font-size: x-small;
}
.post-file-src * {
max-width: 100%;
}
video, img {
max-height: 90vh;
}
.post-file-src {
justify-content: center;
display: flex;
}
.expanded {
max-width: unset!important;
max-height: unset!important;
}
.file-thumb {
object-fit: contain;
max-width: 128px;
max-height: 128px;
}
input:invalid, textarea:invalid {
box-shadow: none;
}
textarea {
/*min-width: 250px;*/
}
.no-resize {
resize: none;
}
.container {
padding: 10px;
}
.board-title {
color: var(--board-title);
font: bolder 28px Tahoma,sans-serif;
letter-spacing: -2px;
text-align: center;
margin: 0;
}
.no-decoration {
text-decoration: none;
}
.banner-check {
display: flex;
align-items: center;
}
.board-banner {
margin: 10px;
max-width: 100%;
border: 1px solid var(--post-outline-color);
width: 300px;
height: 100px;
}
.board-description {
text-align:center;
margin: 0;
}
.post-message {
text-align: left;
}
.post-container, .ban {
box-sizing: border-box;
padding: .5em;
max-width: 100%;
}
.anchor:target + .post-container {
background-color: var(--highlighted-post-color) !important;
border-color: var(--highlighted-post-outline-color) !important;
}
.anchor {
height: 50px;
margin-top: -45px;
}
.post-container.op {
background: none;
border-color: transparent;
width: 100%;
}
.post-subject {
color: var(--subject-color)!important;
font-weight: bold;
}
.post-capcode {
font-weight: bold;
color:var(--capcode-color);
}
.post-tripcode, .post-name {
color: var(--name-color);
}
.post-name {
font-weight: bold;
}
.post-info {
margin: -5px -5px 0 -5px;
padding: 5px;
padding-left: 3px;
display:block;
}
.post-container.op .post-info {
background: none;
border: none;
}
.nav-item {
line-height: 38px;
text-decoration: none;
float: left;
padding-left: 10px;
padding-right: 10px;
}
.left {
float: left;
}
.clear-both {
clear: both;
}
.muted {
/*color: #000c;*/
}
.right {
float: right;
}
.nav-item:hover {
/*box-shadow: inset 0 0 100px 100px rgba(255,255,255,.25);*/
}
.footer {
text-align: center;
flex-shrink: 0;
margin-top: auto;
line-height: 30px;
}
input[type="number"], input[type="text"], input[type="submit"], input[type="password"], input[type="file"], textarea, select {
border: 1px solid var(--input-borders);
background: var(--input-background);
color: var(--input-color);
font-size: inherit;
font-family: arial, helvetica, sans-serif;
margin: 0;
flex-grow: 1;
border-radius: 0px;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number] {
-moz-appearance:textfield;
}
input[type="submit"] {
min-height: 30px;
cursor: pointer;
}
input[type="file"] {
width: 200px;
background: var(--input-background);
}
#postform {
display: none;
max-width: calc(100% - 10px);
max-height: calc(100% - 50px);
position: fixed;
top: 43px;
right: 5px;
background-color: var(--post-color);
z-index: 1;
box-sizing: border-box;
}
#postform:target {
display: flex;
}
.row, .col {
display: flex;
}
.row {
margin-bottom: 1px;
overflow: hidden;
max-width: 100%;
}
.col {
flex-direction: column;
flex-grow: 1;
}
.postform-style {
display: flex;
border: 1px solid var(--input-borders);
background: var(--input-background);
align-items: center;
}
.captcha {
border: 1px solid var(--input-borders);
background: white;
margin-bottom: 1px;
width: 100%;
box-sizing: border-box;
object-fit: contain;
}
.label {
padding: 3px;
border: 1px solid var(--box-border-color);
min-width: 80px;
background: var(--label-color);
display: flex;
align-items: center;
font-weight: bold;
margin-right: 1px;
}
hr {
color: var(--hr);
}
hr + .thread {
margin-top: -5px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.loader {
border: 8px solid #00000010;
border-radius: 50%;
border-bottom: 8px solid #00000090;
width: 32px;
height: 32px;
animation: spin 2s linear infinite;
}
@media only screen and (max-width: 600px) {
.close {
width: 30px;
}
input, .postform-style {
height: 30px;
box-sizing: border-box;
}
.form-post {
width: calc(100% - 10px)!important;
}
.form-login {
width: 100%;
}
pre {
margin: 1em;
}
.post-check {
top: 1px;
margin-left: 2px!important;
height: 8px;
}
.pages {
width:100%;
}
.pad-anchor {
width: 100%;
}
.post-container {
box-shadow: none;
width: 100%;
}
.catalog-tile {
width: 50%;
margin: 0 0 2px 0;
}
.catalog-tile:nth-child(odd) {
margin-right: 2px;
width: calc(50% - 2px);
}
table {
width: 100%;
}
#postform {
width: 100%;
}
}