styling changes

merge-requests/208/head
fatchan 5 years ago
parent 335b38f9cc
commit a4f4511962
  1. 35
      static/css/style.css
  2. 3
      views/mixins/post.pug

@ -142,9 +142,7 @@ input, textarea {
.post-check { .post-check {
position: relative; position: relative;
top: 3px; top: 3px;
margin: 2px; margin: -3px 1px !important;
margin-right: 4px;
padding: 0;
} }
.post-files { .post-files {
@ -174,6 +172,10 @@ input, textarea {
figure { figure {
} }
blockquote a {
color: #d00;
}
input textarea { input textarea {
padding: 8px; padding: 8px;
} }
@ -200,6 +202,10 @@ input textarea {
margin: 0; margin: 0;
} }
.post-message {
overflow-y: auto;
}
.post-container, .ban { .post-container, .ban {
margin: 1px; margin: 1px;
padding: 2px; padding: 2px;
@ -220,7 +226,6 @@ input textarea {
margin-left: 0; margin-left: 0;
display: block; display: block;
border: none; border: none;
width: 100%;
} }
.post-subject { .post-subject {
@ -233,16 +238,22 @@ input textarea {
font-weight: bold; font-weight: bold;
} }
.post-info { .post-container.op .post-info {
margin-top: -2px; background: none;
} }
.post-image {
.post-info {
margin: -2px;
/*margin-left: -3px;*/
padding: 2px;
padding-left: 1px;
/*background-color: #B7C5D9;*/
} }
.post-content { .post-info * {
margin-bottom: 0;
margin-top: -2px;
} }
.navbar { .navbar {
@ -251,6 +262,7 @@ input textarea {
position: fixed; position: fixed;
width: 100%; width: 100%;
background: #eef2ff; background: #eef2ff;
z-index: 1;
} }
.nav-item { .nav-item {
@ -318,6 +330,7 @@ hr {
.post-check { .post-check {
top: 2px; top: 2px;
margin-left: 2px!important;
height: 8px; height: 8px;
} }
@ -335,4 +348,8 @@ hr {
width: 100%; width: 100%;
} }
.post-info {
background-color: #B7C5D9;
}
} }

@ -1,7 +1,8 @@
mixin post(post, truncate, showreports) mixin post(post, truncate, showreports)
article(id=post.postId class='post-container '+(post.thread ? '' : 'op')) article(id=post.postId class='post-container '+(post.thread ? '' : 'op'))
header.post-info header.post-info
input.post-check(type='checkbox', name='checkedposts[]' value=post.postId) span
input.post-check(type='checkbox', name='checkedposts[]' value=post.postId)
if post.subject if post.subject
span.post-subject #{post.subject} span.post-subject #{post.subject}
if post.email if post.email

Loading…
Cancel
Save