1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-26 00:10:55 +01:00

Merge pull request #90 from kaernyk/master

Adjust catalog for uniformity/mobile
This commit is contained in:
Marcin Łabanowski 2014-09-26 12:59:31 +02:00
commit 082e65fb95
2 changed files with 30 additions and 27 deletions

View File

@ -20,26 +20,24 @@ div.threads{
} }
div.thread { 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; position: relative;
vertical-align: top;
display: inline-block;
overflow:hidden;
margin:2px;
padding: 2px;
height:300px;
width:205px;
font-size:11px; font-size:11px;
padding: 15px; font-weight:normal;
text-align:center;
background: rgba(182, 182, 182, 0.12); background: rgba(182, 182, 182, 0.12);
border: 2px solid rgba(111, 111, 111, 0.34); border: 2px solid rgba(111, 111, 111, 0.34);
max-height:300px;
} }
div.thread:hover { div.threads:hover {
background: #D6DAF0; background: #D6DAF0;
border-color: #B7C5D9; border-color: #B7C5D9;
} }
div.grid-size-small { div.grid-size-small {
@ -70,6 +68,6 @@ img.thread-image {
} }
div.threads { div.threads {
overflow: hidden; overflow: hidden;
} }
} }

View File

@ -7,25 +7,33 @@ body {
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
} }
table * { table * {
margin: 0; margin: 0;
} }
a, a:visited { a, a:visited {
text-decoration: underline; text-decoration: underline;
color: #34345C; color: #34345C;
} }
a:hover, p.intro a.post_no:hover { a:hover, p.intro a.post_no:hover {
color: #ff0000; color: #ff0000;
} }
a.post_no { a.post_no {
text-decoration: none; text-decoration: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
p.intro a.post_no { p.intro a.post_no {
color: inherit; color: inherit;
} }
p.intro a.post_no, p.intro a.email, p.intro a.post_anchor {
p.intro a.post_no,
p.intro a.email,
p.intro a.post_anchor {
margin: 0; margin: 0;
} }
p.intro a.email span.name { p.intro a.email span.name {
@ -214,7 +222,8 @@ div.post.reply div.body a {
color: #D00; color: #D00;
} }
div.post { div.post {
max-width: 97%; max-width: 95%;
padding-left:20px;
} }
div.post div.body { div.post div.body {
word-wrap: break-word; word-wrap: break-word;
@ -508,7 +517,6 @@ pre {
.theme-catalog div.thread img { .theme-catalog div.thread img {
float:none!important; float:none!important;
margin: auto; margin: auto;
margin-bottom: 12px;
max-height: 150px; max-height: 150px;
max-width: 200px; max-width: 200px;
box-shadow: 0 0 4px rgba(0, 0, 0, 0.55); box-shadow: 0 0 4px rgba(0, 0, 0, 0.55);
@ -517,16 +525,13 @@ pre {
.theme-catalog div.thread { .theme-catalog div.thread {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
margin-bottom:25px;
margin-left: 20px;
margin-right: 15px;
text-align:center; text-align:center;
font-weight:normal; font-weight:normal;
width:205px; width:205px;
overflow:hidden; overflow:hidden;
position: relative; position: relative;
font-size:11px; font-size:11px;
padding: 15px; padding:5px;
max-height:300px; max-height:300px;
background: rgba(182, 182, 182, 0.12); background: rgba(182, 182, 182, 0.12);
border: 2px solid rgba(111, 111, 111, 0.34); border: 2px solid rgba(111, 111, 111, 0.34);
@ -548,19 +553,19 @@ pre {
width: 100px; width: 100px;
max-width: 100px; max-width: 100px;
max-height: 150px; max-height: 150px;
} }
.theme-catalog div.grid-size-small { .theme-catalog div.grid-size-small {
width: 200px; width: 200px;
max-width: 200px; max-width: 200px;
max-height: 350px; max-height: 350px;
} }
.theme-catalog div.grid-size-large { .theme-catalog div.grid-size-large {
width: 300px; width: 300px;
max-width: 300px; max-width: 300px;
max-height: 450px; max-height: 450px;
} }
.theme-catalog img.thread-image { .theme-catalog img.thread-image {
height: auto; height: auto;
@ -668,7 +673,7 @@ pre {
background-color: #d6daf0; background-color: #d6daf0;
border: 1px solid black; border: 1px solid black;
display: inline-block; display: inline-block;
position: relative; position: relative;
margin-top: 20px; margin-top: 20px;
width: 600px; width: 600px;
height: 300px; height: 300px;