1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-31 12:23:48 +01:00

Adjust theme via catalog.css & style.css

Changes to catalog.css:

  - Forced all threads to a height of 300px and reduced padding to
    improve consistency. I think it improves the readability quite a bit
    but I may be alone in thinking this way.
  -

Changes to style.css:

  - Removed additional padding to allow new catalog spacing
This commit is contained in:
kaernyk 2014-09-26 04:41:32 -04:00
parent 5a4e39ff70
commit 2b4dd0a615
2 changed files with 31 additions and 25 deletions

View File

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

View File

@ -214,7 +214,8 @@ div.post.reply div.body a {
color: #D00;
}
div.post {
max-width: 97%;
max-width: 95%;
padding-left:20px;
}
div.post div.body {
word-wrap: break-word;
@ -517,16 +518,12 @@ pre {
.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);
@ -723,3 +720,14 @@ pre {
.mentioned {
word-wrap: break-word;
}
code > pre {
/* Better code tags */
background:black;
max-width:inherit;
}
code > pre > span.pln {
color:grey;
}