lainchan/stylesheets/style.css
2015-09-26 18:07:24 +03:00

850 lines
14 KiB
CSS

/* backup version before modifying bar.top */
/*for trollin
audio {
display:none;
}
*/
/*FIXED THE FUCKING BREAKOUT LINKS MOTHER FUCKING FINALLY -kalyx*/
a{
overflow-wrap: break-word;
}
p.intro a.post_no, p.intro a.email, p.intro a.post_anchor, a.mentioned, time, span.name{
overflow-wrap: break-word;
}
html {
width: 98%!important;
}
body {
background: #EEF2FF url('img/fade-blue.png') repeat-x 50% 0%;
color: black;
font-family: arial, helvetica, sans-serif;
font-size: 10pt;
margin: 0px;
padding: 44px 5px;
max-width: 100%!important;
}
img[alt="mascot"] {
display: block;
margin: 0 auto 0 auto;
position: relative;
z-index: -1;
}
table * {
margin: 0;
}
table {
margin: 0px auto;
}
tr:not(:nth-child(4)) {
height: 22px;
}
tr *{
padding: 0px;
}
th {
width: 64px;
text-align: left;
padding: 0px 5px;
border: 1px solid #000;
color: #000;
background-color: #98E;
}
textarea{
width: 100%;
min-width: 308px;
}
input:not([type="checkbox"]) {
height: 22px;
}
textarea, input:not([type="file"]) {
-moz-box-sizing: border-box!important;
box-sizing: border-box!important;
border: 1px solid #AAA;
padding: 2px 4px 3px 4px;
background-color: white;
}
input[name="post"] {
width: 72px;
}
[name="post"] [type="text"]:not([name="subject"]){
width: 100%;
min-width: 236px;
}
[name="post"] textarea {
min-height: 22px;
}
[name="post"] [type="text"][name="subject"] {
width: calc(100% - 74px);
min-width: 162px;
}
input#upload_file {
width: 180px;
}
@media (max-width: 321px) {
[name="post"] [type="text"]:not([name="subject"]), [name="post"] textarea {
width: 236px;
min-width: 236px;
}
input#upload_file {
width: 160px;
}
}
#spoilercontainer {
display: inline-block;
float: right;
position: relative;
top: 3px;
right: 4px;
}
a, a:visited {
text-decoration: underline;
color: #34345C;
}
p.intro a.post_no, p.intro a.email, p.intro a.post_anchor {
color: #ff0000;
}
p.intro > a:nth-child(5) {
margin-left: 0.6em;
}
a.post_no {
text-decoration: none;
margin: 0;
padding: 0;
}
p.intro a.post_no {
color: inherit;
}
p.intro a.post_no, p.intro a.email {
margin: 0;
}
p.intro a.email span.name {
color: #34345C;
}
p.intro a.email:hover span.name {
color: #ff0000;
}
p.intro label {
display: inline;
}
p.intro time, p.intro a.ip-link, p.intro a.capcode {
direction: ltr;
unicode-bidi: embed;
}
.badges {
text-align: center;
clear: both;
}
h2 {
color: #AF0A0F;
font-size: 11pt;
margin: 0;
padding: 0;
}
header {
margin: 1em 0;
}
@font-face {
font-family: 'lain';
src: url('./fonts/nrdyyh.woff') format('woff'),
url('./fonts/tojcxo.TTF') format('truetype');
}
h1 {
font-family: 'lain', tahoma;
letter-spacing: -2px;
font-size: 18pt;
margin: 0;
}
header div.subtitle, h1 {
color: #AF0A0F;
text-align: center;
}
header div.subtitle {
margin: 5px;
font-size: 8pt;
}
[name="post"] * {
-moz-appearance: none!important;
}
.unimportant, .unimportant * {
font-size: 10px;
}
.file {
float: left;
margin-right: 2px;
}
.file:not(.multifile) .post-image {
float: left;
}
[data-board] > .files > :nth-child(1):not(.multifile) > a:before {
content: url('/static/partyhat.gif');
float: left;
display: block;
margin-right: -160px;
position: relative;
top: -120px;
left: -30px;
pointer-events: none;
}
[data-board] > .files > :nth-child(1).multifile > a:before {
content: url('/static/partyhat.gif');
float: left;
display: block;
margin-right: -160px;
position: relative;
top: -120px;
left: -50px;
pointer-events: none;
}
.file:not(.multifile) {
float: none;
}
p.fileinfo {
display: block;
margin: 0 0 0px 0px;
white-space: normal!important;
}
.fileinfo :not(a) {
word-wrap: break-word;
}
div.post p.fileinfo {
padding-left: 5px;
}
div.banner {
background-color: #E04000;
border: 1px solid #E04000;
font-size: 12pt;
font-weight: bold;
text-align: center;
margin: 0 auto;
height: 14px;
}
div.banner, div.banner a {
color: white;
}
div.banner a:hover {
color: #EEF2FF;
text-decoration: none;
}
img.banner, img.board_image {
display: block;
border: 1px solid #666;
margin: 12px auto 0 auto;
max-width: 100%!important;
clear: both;
}
img.post-image {
display: block;
float: left;
margin: 5px 10px 5.5px 19px;
border: none;
}
div.post img.post-image {
padding: 5px;
padding-left: 0;
margin: 4px 10px 0 0;
}
.multifile img.post-image {
margin-left: 0px;
margin-top: 0px;
}
div.post.reply img.post-image {
margin-left: 19px;
}
div.post img.icon {
display: inline;
margin: 0 5px;
padding: 0;
}
div.post i.fa {
margin: 0 4px;
font-size: 16px;
}
div.post.op {
margin-right: 20px;
margin-bottom: 5px;
}
div.post.op hr {
border-color: #D9BFB7;
}
p.intro {
margin: 2px 0;
padding: 0;
padding-bottom: 0.2em;
}
.post.reply p.intro {
white-space: nowrap;
}
input.delete {
float: left;
margin: 0px 6px 0 0;
position: relative;
top: 2px;
}
p.intro span.subject {
color: #0F0C5D;
font-weight: bold;
}
p.intro span.name {
color: #117743;
font-weight: bold;
}
p.intro span.capcode, p.intro a.capcode, p.intro a.nametag {
color: #F00000;
margin-left: 0;
}
p.intro .mentioned a{
margin-left: 8px;
}
div.delete {
float: right;
margin-bottom: 2px;
}
div.delete :not([type="submit"]):not([type="checkbox"]) {
width: 166px;
}
div.delete [type="submit"] {
margin-left: 2px;
}
div.postcontainer
{
display: inline-block;
white-space: nowrap; /* changed "nowrap" to */
word-break: break-word; /* bugfix: letters no longer shoot around the screen */
max-width: 100%!important;
}
div.post.reply p {
margin: 3px 0 0 0;
}
div.post.reply p.fileinfo {
margin-left: 13px;
}
div.post.reply div.body {
margin-left:19px;
margin-top: 9px;
padding-right: 3em;
padding-bottom: 8px;
}
pre {
overflow: auto;
}
div.post.reply.highlighted {
background: #D6BAD0;
}
div.post.reply div.body a {
color: #D00;
word-wrap: break-word;
word-break: break-all;
white-space: pre-wrap;
}
div.post div.body {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: normal;
margin-left: 19px;
}
div.sidearrows {
display: inline-block;
margin-top: 0px;
float: left;
box-sizing: border-box;
width: 18px;
}
div.post.reply {
background: #D6DAF0;
margin: 1.5px 0px;
padding: 0.2em 0.3em 0.5em 0.6em;
border-width: 1px;
border-style: none solid solid none;
border-color: #B7C5D9;
display: inline-block;
max-width: 97%!important;
}
span.trip {
color: #228854;
}
span.quote {
color: #789922;
}
span.omitted {
display: block;
margin-top: 1em;
opacity: 0.7;
margin-left: 19px;
}
br.clear {
clear: left;
display: block;
}
span.controls {
float: right;
margin: 0;
padding: 0;
font-size: 80%;
}
span.controls.op {
float: none;
margin-left: 10px;
}
span.controls a {
margin: 0;
}
div#wrap {
width: 900px;
margin:0 auto;
}
div.ban {
background: white;
border: 1px solid #98E;
max-width: 766px;
margin: -2px auto 30px auto;
}
div.ban p, div.ban h2 {
padding: 3px 7px;
}
div.ban h2 {
background: #98E;
color: black;
font-size: 12pt;
word-wrap: break-word;
}
div.ban p {
font-size: 12px;
margin-bottom: 12px;
}
div.ban p.reason {
font-weight: bold;
}
span.heading {
color: #AF0A0F;
font-size: 11pt;
font-weight: bold;
}
span.spoiler {
background: black;
color: black;
padding: 0 1px;
}
div.post.reply div.body span.spoiler a {
color: black;
}
span.spoiler:hover, div.post.reply div.body span.spoiler:hover a {
color: white;
}
div.styles a {
margin: 0 10px;
}
div.styles a.selected {
text-decoration: none;
}
fieldset label {
display: block;
}
.bar {
-moz-box-shadow: 0 0 40px #d1d5ee;
-webkit-box-shadow: 0 0 40px #d1d5ee;
box-shadow: 0 0 40px #d1d5ee;
display: table;
position: fixed;
width: 100%;
left: 0px;
z-index: 3;
background-color: #D6DAF0;
border-color: #B7C5D9;
}
.bar > :not(script) {
display: table-cell;
vertical-align: middle;
}
.bar.top {
text-align: center;
top: 0px;
border-bottom: 1px solid #B7C5D9;
}
.bar.bottom {
bottom: 0px;
border-top: 1px solid #B7C5D9;
}
div.pages, div.boardlist {
padding: 2px 0px 3px 5px;
min-height: 17px!important;
}
div.pages {
padding: 0px 0px 0px 5px;
}
div.pages {
color: #89A;
background: transparent!important;
border-right: 1px solid #B7C5D9;
border-bottom: 1px solid #B7C5D9;
border-width: 0 0 0 0!important;
display: table-cell;
margin-top: -1px;
}
div.pages.top {
bottom:0px;
left: 0px;
width: 100%;
position: fixed;
z-index: 99;
font-size: 10pt;
text-align: left;
}
div.pages a.selected {
color: black;
font-weight: bolder;
}
div.pages a {
text-decoration: none;
}
div.pages form {
margin-top: -1px;
padding: 0;
display: inline;
}
div.pages form input {
margin: 0 5px;
margin-top: -1px;
display: inline;
}
div.boardlist {
color: #89A;
font-size: 10pt;
margin-top: 0px;
text-align: center;
margin: 0 auto;
}
#style-select {
display: table-cell;
font-size: 10pt;
z-index: 3;
text-align: right;
width: auto;
}
#style-select select {
margin-right: -1px;
padding: 3px 4px 3px 4px;
margin-bottom: -1px;
margin-top: -1px;
}
hr {
border: none;
border-top: 1px solid #B7C5D9;
height: 0;
clear: left;
}
#boardfront .boardlist {
margin-bottom: -28px;
}
/*new 051214 */
body #boardfront {
width: 100%;
}
div.boardlist.bottom {
margin-top: 0px;
clear: right;
}
div.boardlist a {
text-decoration: none;
}
div.report {
color: #333;
}
table.modlog {
margin: auto;
width: 100%;
}
table.modlog tr td {
text-align: left;
margin: 0;
padding: 4px 15px 0 0;
}
table.modlog tr th {
text-align: left;
padding: 4px 15px 5px 5px;
white-space: nowrap;
}
table.modlog tr th {
background: #98E;
}
td.minimal, th.minimal {
width: 1%;
white-space: nowrap;
}
div.top_notice {
text-align: center;
margin: 5px auto;
}
span.public_ban {
display: block;
color: red;
font-weight: bold;
margin-top: 15px;
}
span.toolong {
display: block;
margin-top: 15px;
}
div.blotter {
color: red;
font-weight: bold;
text-align: center;
}
div.blotter img {
max-width: 100%!important;
}
table.mod.config-editor {
font-size: 9pt;
width: 100%;
}
table.mod.config-editor td {
text-align: left;
padding: 5px;
border-bottom: 1px solid #98e;
}
table.mod.config-editor input[type="text"] {
width: 98%;
}
.desktop-style .sub {
background: inherit;
}
.desktop-style .sub .sub {
display: inline-block;
text-indent: -9000px;
width: 7px;
background: url('img/arrow.png') right center no-repeat;
}
.desktop-style .sub .sub:hover, .desktop-style .sub .sub.hover {
display: inline;
text-indent: 0;
background: inherit;
}
#attention_bar {
height: 1.5em;
max-height: 1.5em;
width: 100%;
max-width: 100%;
text-align: center;
overflow: hidden;
}
.reply-hidden {
background-color: red!important;
}
#attention_bar_form {
display: none;
padding: 0;
margin: 0;
}
#attention_bar_input {
width: 100%;
padding: 0;
margin: 0;
text-align: center;
}
#attention_bar:hover {
background-color: rgba(100%, 100%, 100%, 0.2);
}
p.intro.thread-hidden {
margin: 0;
padding: 0;
}
form.ban-appeal {
margin: 9px 20px;
}
form.ban-appeal textarea {
display: block;
}
.theme-catalog #Grid > li {
display:inline-block;
}
.theme-catalog div.thread img {
float:none!important;
margin: auto;
margin-bottom: 12px;
max-height: 150px;
max-width: 200px;
box-shadow: 0 0 4px rgba(0, 0, 0, 0.55);
border: 2px solid rgba(153, 153, 153, 0);
}
.theme-catalog div.thread {
display: inline-block;
vertical-align: top;
margin-bottom:25px;
margin-left: 20px;
margin-right: 15px;
text-align:center;
font-weight:normal;
width:205px;
overflow:hidden;
position: relative;
font-size:11px;
padding: 15px;
max-height:300px;
background: rgba(182, 182, 182, 0.12);
border: 2px solid rgba(111, 111, 111, 0.34);
}
.theme-catalog div.thread strong {
display: block;
}
.theme-catalog div.threads{
text-align: center;
margin-left: -20px;
}
.theme-catalog div.grid-size-small {
width: 200px;
max-width: 200px;
max-height: 350px;
}
.theme-catalog div.grid-size-large {
width: 300px;
max-width: 300px;
max-height: 450px;
}
.theme-catalog img.thread-image {
height: auto;
max-width: 100%;
}
/* File selector */
.dropzone {
color: #000;
cursor: default;
margin: auto;
padding: 0px 4px;
text-align: center;
min-height: 50px;
max-height: 140px;
transition: 0.2s;
background-color: rgba(200, 200, 200, 0.5);
overflow-y: auto;
}
.dropzone-wrap {
width: 100%;
}
.dropzone .file-hint {
color: rgba(0, 0, 0, 0.5);
cursor: pointer;
position: relative;
margin-bottom: 5px;
padding: 10px 0px;
top: 5px;
transition: 0.2s;
border: 2px dashed rgba(125, 125, 125, 0.4);
}
.file-hint:hover, .dropzone.dragover .file-hint {
color: rgba(0, 0, 0, 1);
border-color: rgba(125, 125, 125, 0.8);
}
.dropzone.dragover {
background-color: rgba(200, 200, 200, 1);
}
.dropzone .file-thumbs {
text-align: left;
width: 100%;
}
.dropzone .tmb-container {
padding: 3px;
overflow-x: hidden;
white-space: nowrap;
}
.dropzone .file-tmb {
height: 40px;
width: 70px;
cursor: pointer;
display: inline-block;
text-align: center;
background-color: rgba(187, 187, 187, 0.5);
background-size: cover;
background-position: center;
}
.dropzone .file-tmb span {
font-weight: 600;
position: relative;
top: 13px;
}
.dropzone .tmb-filename {
display: inline-block;
vertical-align: bottom;
bottom: 12px;
position: relative;
margin-left: 5px;
}
.dropzone .remove-btn {
cursor: pointer;
color: rgba(125, 125, 125, 0.5);
display: inline-block;
vertical-align: bottom;
bottom: 10px;
position: relative;
margin-right: 5px;
font-size: 20px
}
.dropzone .remove-btn:hover {
color: rgba(125, 125, 125, 1);
}
/* Containerchan */
video.post-image {
display: block;
float: left;
margin: 10px 20px;
border: none;
}
div.post video.post-image {
padding: 0px;
margin: 10px 25px 5px 5px;
}
.pulse {
animation: pulse 0.53452115812918s linear 90;
-webkit-animation: pulse 0.53452115812918s linear 90;
}
@keyframes pulse {
0% { height: 450px; margin-bottom: -25px; margin-top: -25px;}
100% { height: 350px; margin-bottom: 25px; margin-top: 25px;}
}
@-webkit-keyframes pulse {
0% { height: 450px; margin-bottom: -25px; margin-top: -25px;}
100% { height: 350px; margin-bottom: 25px; margin-top: 25px;}
}
#threadbody .boardlist .sub:last-child, .recentbody .boardlist .sub:last-child, .donatebody .boardlist .sub:last-child {
float: right;
}
span.sub {
white-space: nowrap!important;
}
footer {
clear: both;
}