Improve image handling in catalog to improve consistency
Conflicts: stylesheets/style.css
This commit is contained in:
parent
b4b99cd936
commit
b1ea8b18d0
|
@ -16,11 +16,9 @@ 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;
|
||||||
|
@ -30,7 +28,6 @@ a.post_no {
|
||||||
p.intro a.post_no {
|
p.intro a.post_no {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.intro a.post_no,
|
p.intro a.post_no,
|
||||||
p.intro a.email,
|
p.intro a.email,
|
||||||
p.intro a.post_anchor {
|
p.intro a.post_anchor {
|
||||||
|
@ -49,6 +46,7 @@ p.intro time, p.intro a.ip-link, p.intro a.capcode {
|
||||||
direction: ltr;
|
direction: ltr;
|
||||||
unicode-bidi: embed;
|
unicode-bidi: embed;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
color: #AF0A0F;
|
color: #AF0A0F;
|
||||||
font-size: 11pt;
|
font-size: 11pt;
|
||||||
|
@ -118,14 +116,14 @@ form table tr td div label {
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
}
|
}
|
||||||
.file {
|
.file {
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
}
|
}
|
||||||
.file:not(.multifile) .post-image {
|
.file:not(.multifile) .post-image {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
.file:not(.multifile) {
|
.file:not(.multifile) {
|
||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
p.fileinfo {
|
p.fileinfo {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -527,6 +525,7 @@ form.ban-appeal textarea {
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
font-size:11px;
|
font-size:11px;
|
||||||
|
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);
|
||||||
}
|
}
|
||||||
|
@ -544,80 +543,90 @@ div.thread:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-catalog div.grid-size-vsmall img {
|
.theme-catalog div.grid-size-vsmall img {
|
||||||
max-width: 100%;
|
|
||||||
max-height: 64px;
|
max-height: 64px;
|
||||||
|
max-width: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-catalog div.grid-size-vsmall {
|
.theme-catalog div.grid-size-vsmall {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
max-width: 100px;
|
max-width: 100px;
|
||||||
max-height: 150px;
|
max-height: 150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-catalog div.grid-size-small img {
|
||||||
|
max-height: 128px;
|
||||||
|
max-width: 225px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-catalog div.grid-size-small {
|
.theme-catalog div.grid-size-small {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
max-width: 200px;
|
max-width: 225px;
|
||||||
max-height: 350px;
|
max-height: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-catalog div.grid-size-large img {
|
||||||
|
max-height: 148px;
|
||||||
|
max-width: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.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;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 420px) {
|
@media (max-width: 420px) {
|
||||||
.theme-catalog ul#Grid {
|
.theme-catalog ul#Grid {
|
||||||
padding-left: 18px;
|
padding-left: 18px;
|
||||||
}
|
}
|
||||||
.theme-catalog div.thread {
|
.theme-catalog div.thread {
|
||||||
width: auto;
|
width: auto;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
.theme-catalog div.threads {
|
.theme-catalog div.threads {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.compact-boardlist {
|
.compact-boardlist {
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
.compact-boardlist .cb-item {
|
.compact-boardlist .cb-item {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
.compact-boardlist .cb-icon {
|
.compact-boardlist .cb-icon {
|
||||||
padding-bottom: 1px;
|
padding-bottom: 1px;
|
||||||
}
|
}
|
||||||
.compact-boardlist .cb-fa {
|
.compact-boardlist .cb-fa {
|
||||||
font-size: 21px;
|
font-size: 21px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
.compact-boardlist .cb-cat {
|
.compact-boardlist .cb-cat {
|
||||||
padding: 5px 6px 8px 6px;
|
padding: 5px 6px 8px 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* styles also used by watch.js */
|
/* styles also used by watch.js */
|
||||||
.cb-menuitem {
|
.cb-menuitem {
|
||||||
display: table-row;
|
display: table-row;
|
||||||
}
|
}
|
||||||
.cb-menuitem span {
|
.cb-menuitem span {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
border-top: 1px solid rgba(0, 0, 0, 0.5);
|
border-top: 1px solid rgba(0, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
.cb-menuitem span.cb-uri {
|
.cb-menuitem span.cb-uri {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.boardlist:not(.compact-boardlist) #watch-pinned::before {
|
.boardlist:not(.compact-boardlist) #watch-pinned::before {
|
||||||
|
@ -627,17 +636,17 @@ div.thread:hover {
|
||||||
content: " ] ";
|
content: " ] ";
|
||||||
}
|
}
|
||||||
.boardlist:not(.compact-boardlist) #watch-pinned {
|
.boardlist:not(.compact-boardlist) #watch-pinned {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
.boardlist:not(.compact-boardlist) #watch-pinned a {
|
.boardlist:not(.compact-boardlist) #watch-pinned a {
|
||||||
margin-left: 3pt;
|
margin-left: 3pt;
|
||||||
}
|
}
|
||||||
.boardlist:not(.compact-boardlist) #watch-pinned a:first-child {
|
.boardlist:not(.compact-boardlist) #watch-pinned a:first-child {
|
||||||
margin-left: 0pt;
|
margin-left: 0pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
.compact-boardlist #watch-pinned {
|
.compact-boardlist #watch-pinned {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue