Fix post width & codeblocks

I noticed that some url's were causing the posts to stretch over the
maximum device with.

  The code blocks were exhibiting similar behavior as well, and have
been adjusted to display well on all themes.

  I still need to fix the post form for handhelds, though it is not
as annoying as the other things fixed
This commit is contained in:
kaernyk 2014-10-05 15:40:42 -04:00
parent 8518164352
commit 944c3b6c28

View File

@ -289,6 +289,7 @@ div.post.reply {
border-style: none solid solid none; border-style: none solid solid none;
border-color: #B7C5D9; border-color: #B7C5D9;
display: inline-block; display: inline-block;
max-width: 94%!important;
} }
span.trip { span.trip {
@ -892,16 +893,21 @@ div.thread:hover {
cursor: pointer; cursor: pointer;
} }
code > pre { pre {
/* Better code tags */ /* Better code tags */
background:black;
max-width:inherit; max-width:inherit;
word-wrap:normal;
overflow:auto;
display: block!important;
font-size:9pt;
font-family:monospace;
} }
code > pre > span.pln { span.pln {
color:grey; color:grey;
} }
@media screen and (min-width: 768px) { @media screen and (min-width: 768px) {
p.intro { p.intro {
clear: none; clear: none;