Browse Source

Improve catalog thread dimensions on tiny devices

pull/40/head
kaernyk 10 years ago
parent
commit
78cf4a8b56
  1. 74
      stylesheets/style.css

74
stylesheets/style.css

@ -2,7 +2,7 @@ body {
background: #EEF2FF url('img/fade-blue.png') repeat-x 50% 0%;
color: black;
font-family: arial,helvetica,sans-serif;
font-size: 11pt;
font-size: 10pt;
margin: 0 4px;
padding-left: 4px;
padding-right: 4px;
@ -31,9 +31,7 @@ p.intro a.post_no {
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;
}
@ -102,6 +100,10 @@ input[type="text"], input[type="password"], textarea {
max-width: 75%;
}
#quick-reply input[type="text"],input[type="password"],#quick-reply textarea {
max-width: 100%;
}
form table tr td {
text-align: left;
margin: 0;
@ -550,13 +552,11 @@ table.mod.config-editor input[type="text"] {
top: 0;
left: 0;
right: 0;
/*text-shadow: white 1px 0 6px, white 1px 0 6px, black 1px 0 3px;*/
margin-top: 0;
z-index: 30;
}
.desktop-style div.boardlist:nth-child(1):hover, .desktop-style div.boardlist:nth-child(1).cb-menu {
background-color: rgba(90%, 90%, 90%, 0.6);
box-shadow: 0 1px 2px rgba(0,0,0,.15);
border-bottom: 1px solid;
background-color: #D6DAF0;
}
.desktop-style body {
@ -619,6 +619,14 @@ form.ban-appeal textarea {
display: block;
}
.MathJax_Display {
display: inline!important;
}
pre {
margin: 0;
}
.theme-catalog div.thread img {
float: none!important;
margin: auto;
@ -644,6 +652,11 @@ form.ban-appeal textarea {
max-height: 300px;
background: rgba(182,182,182,0.12);
border: 2px solid rgba(111,111,111,0.34);
max-height: 300px;
background: rgba(182,182,182,0.12);
border: 2px solid rgba(111,111,111,0.34);
background: rgba(182,182,182,0.12);
border: 2px solid rgba(111,111,111,0.34);
}
.theme-catalog div.thread strong {
@ -661,36 +674,33 @@ div.thread:hover {
}
.theme-catalog div.grid-size-vsmall img {
max-height: 64px;
max-width: 100px;
max-height: 33%;
max-width: 95%
}
.theme-catalog div.grid-size-vsmall {
width: 100px;
max-width: 100px;
max-height: 150px;
min-width:90px; max-width: 90px;
max-height: 148px;
}
.theme-catalog div.grid-size-small img {
max-height: 128px;
max-width: 225px;
max-height: 33%;
max-width: 95%
}
.theme-catalog div.grid-size-small {
width: 200px;
max-width: 225px;
max-height: 300px;
min-width:140px; max-width: 140px;
max-height: 192px;
}
.theme-catalog div.grid-size-large img {
max-height: 148px;
max-width: 300px;
max-height: 40%;
max-width: 95%
}
.theme-catalog div.grid-size-large {
width: 300px;
max-width: 300px;
max-height: 450px;
min-width: 256px; max-width: 256px;
max-height: 384px;
}
.theme-catalog img.thread-image {
@ -738,7 +748,6 @@ div.thread:hover {
padding: 5px 6px 8px 6px;
}
/* styles also used by watch.js */
.cb-menuitem {
display: table-row;
}
@ -779,7 +788,6 @@ div.thread:hover {
vertical-align: middle;
}
/* live-index.js */
.new-posts {
opacity: 0.6;
margin-top: 1em;
@ -789,7 +797,6 @@ div.thread:hover {
text-align: center;
}
/* options.js */
#options_handler {
position: fixed;
top: 0px;
@ -889,18 +896,19 @@ div.thread:hover {
word-wrap: break-word;
}
pre {
width: 99%;
padding: 0;
margin: 0;
overflow:auto;
.poster_id {
cursor: pointer;
}
code>pre {
background: black;
max-width: inherit;
}
code>pre>span.pln {
color: grey;
}
@media screen and (min-width: 768px) {
p.intro {
clear: none;

Loading…
Cancel
Save