##// END OF EJS Templates
Strip multiple newlines to one in the post before parsing with bbcode
Strip multiple newlines to one in the post before parsing with bbcode

File last commit:

r752:9d9c9384 default
r754:6cc0010d default
Show More
base_page.css
448 lines | 6.2 KiB | text/css | CssLexer
html {
background: #555;
color: #ffffff;
}
body {
margin: 0;
}
#admin_panel {
background: #FF0000;
color: #00FF00
}
.input_field_error {
color: #FF0000;
}
.title {
font-weight: bold;
color: #ffcc00;
}
.link, a {
color: #afdcec;
}
.block {
display: inline-block;
vertical-align: top;
}
.tag {
color: #FFD37D;
}
.post_id {
color: #fff380;
}
.post, .dead_post, .archive_post, #posts-table {
background: #333;
padding: 10px;
clear: left;
word-wrap: break-word;
border-top: 1px solid #777;
border-bottom: 1px solid #777;
}
.post + .post {
border-top: none;
}
.dead_post + .dead_post {
border-top: none;
}
.archive_post + .archive_post {
border-top: none;
}
.metadata {
padding-top: 5px;
margin-top: 10px;
border-top: solid 1px #666;
color: #ddd;
}
.navigation_panel, .tag_info {
background: #444;
margin-bottom: 5px;
margin-top: 5px;
padding: 10px;
border-bottom: solid 1px #888;
border-top: solid 1px #888;
color: #eee;
}
.navigation_panel .link {
border-right: 1px solid #fff;
font-weight: bold;
margin-right: 1ex;
padding-right: 1ex;
}
.navigation_panel .link:last-child {
border-left: 1px solid #fff;
border-right: none;
float: right;
margin-left: 1ex;
margin-right: 0;
padding-left: 1ex;
padding-right: 0;
}
.navigation_panel::after, .post::after {
clear: both;
content: ".";
display: block;
height: 0;
line-height: 0;
visibility: hidden;
}
p {
margin-top: .5em;
margin-bottom: .5em;
}
br {
margin-bottom: .5em;
}
.post-form-w {
background: #333344;
border-top: solid 1px #888;
border-bottom: solid 1px #888;
color: #fff;
padding: 10px;
margin-bottom: 5px;
margin-top: 5px;
}
.form-row {
width: 100%;
}
.form-label {
padding: .25em 1ex .25em 0;
vertical-align: top;
}
.form-input {
padding: .25em 0;
}
.form-errors {
font-weight: bolder;
vertical-align: middle;
}
.post-form input:not([name="image"]), .post-form textarea {
background: #333;
color: #fff;
border: solid 1px;
padding: 0;
font: medium sans-serif;
width: 100%;
}
.form-submit {
display: table;
margin-bottom: 1ex;
margin-top: 1ex;
}
.form-title {
font-weight: bold;
font-size: 2ex;
margin-bottom: 0.5ex;
}
.post-form input[type="submit"], input[type="submit"] {
background: #222;
border: solid 2px #fff;
color: #fff;
padding: 0.5ex;
}
input[type="submit"]:hover {
background: #060;
}
blockquote {
border-left: solid 2px;
padding-left: 5px;
color: #B1FB17;
margin: 0;
}
.post > .image {
float: left;
margin: 0 1ex .5ex 0;
min-width: 1px;
text-align: center;
display: table-row;
}
.post > .metadata {
clear: left;
}
.get {
font-weight: bold;
color: #d55;
}
* {
text-decoration: none;
}
.dead_post {
background-color: #442222;
}
.archive_post {
background-color: #000;
}
.mark_btn {
border: 1px solid;
min-width: 2ex;
padding: 2px 2ex;
}
.mark_btn:hover {
background: #555;
}
.quote {
color: #92cf38;
font-style: italic;
}
.multiquote {
border-left: solid 4px #ccc;
padding: 3px;
display: inline-block;
background: #222;
border-right: solid 1px #ccc;
border-top: solid 1px #ccc;
border-bottom: solid 1px #ccc;
}
.spoiler {
background: white;
color: white;
}
.spoiler:hover {
color: black;
}
.comment {
color: #eb2;
}
a:hover {
text-decoration: underline;
}
.last-replies {
margin-left: 3ex;
margin-right: 3ex;
}
.thread {
margin-bottom: 3ex;
margin-top: 1ex;
}
.post:target {
border: solid 2px white;
}
pre{
white-space:pre-wrap
}
li {
list-style-position: inside;
}
.fancybox-skin {
position: relative;
background-color: #fff;
color: #ddd;
text-shadow: none;
}
.fancybox-image {
border: 1px solid black;
}
.image-mode-tab {
background: #444;
color: #eee;
margin-top: 5px;
padding: 5px;
border-top: 1px solid #888;
border-bottom: 1px solid #888;
}
.image-mode-tab > label {
margin: 0 1ex;
}
.image-mode-tab > label > input {
margin-right: .5ex;
}
#posts-table {
margin-top: 5px;
margin-bottom: 5px;
}
.tag_info > h2 {
margin: 0;
}
.post-info {
color: #ddd;
margin-bottom: 1ex;
}
.moderator_info {
color: #e99d41;
float: right;
font-weight: bold;
}
.refmap {
font-size: 0.9em;
color: #ccc;
margin-top: 1em;
}
.fav {
color: yellow;
}
.not_fav {
color: #ccc;
}
.role {
text-decoration: underline;
}
.form-email {
display: none;
}
.footer {
margin: 5px;
}
.bar-value {
background: rgba(50, 55, 164, 0.45);
font-size: 0.9em;
height: 1.5em;
}
.bar-bg {
position: relative;
border-top: solid 1px #888;
border-bottom: solid 1px #888;
margin-top: 5px;
overflow: hidden;
}
.bar-text {
padding: 2px;
position: absolute;
left: 0;
top: 0;
}
.page_link {
background: #444;
border-top: solid 1px #888;
border-bottom: solid 1px #888;
padding: 5px;
color: #eee;
font-size: 2ex;
}
.skipped_replies {
margin: 5px;
}
.current_page {
border: solid 1px #afdcec;
padding: 2px;
}
.current_mode {
font-weight: bold;
}
.gallery_image {
border: solid 1px;
padding: 0.5ex;
margin: 0.5ex;
text-align: center;
}
code {
border: dashed 1px #ccc;
background: #111;
padding: 2px;
font-size: 1.2em;
display: inline-block;
}
pre {
overflow: auto;
}
.img-full {
background: #222;
border: solid 1px white;
}
.tag_item {
display: inline-block;
border: 1px dashed #666;
margin: 0.2ex;
padding: 0.1ex;
}
#id_models li {
list-style: none;
}
#id_q {
margin-left: 1ex;
}
ul {
padding-left: 0px;
}
/* Reflink preview */
.post_preview {
border-left: 1px solid #777;
border-right: 1px solid #777;
}
/* Code highlighter */
.hljs {
color: #fff;
background: #000;
display: inline-block;
}
.hljs, .hljs-subst, .hljs-tag .hljs-title, .lisp .hljs-title, .clojure .hljs-built_in, .nginx .hljs-title {
color: #fff;
}