Merge pull request #2551 from awesomerobot/master

fixing the topic-body at 690px wide, leaving gutter flexible
This commit is contained in:
Jeff Atwood 2014-07-16 20:06:25 -07:00
commit e9e4ec0e52
2 changed files with 44 additions and 25 deletions

View File

@ -52,7 +52,7 @@ h1 .topic-statuses .topic-status i {
.reply-to-tab {
position: absolute;
right: 40%;
right: 420px;
z-index: 400;
padding: 13px 6px 5px;
font-size: 12px;
@ -281,8 +281,8 @@ nav.post-controls {
// top means "in reply to expansion" above a post
&.top {
margin-left: 5.4594229%;
width: 62.6690712%;
margin-left: 56px;
width: 690px;
}
&.top.topic-body {padding-left: 0;}
@ -729,8 +729,8 @@ blockquote > *:last-child {
.gutter {
float: left;
margin-top: 15px;
padding-left: 01.3525699%;
width: 28%;
padding-left: 11px;
width: 341px;
ul {margin: 0;}
li {margin-bottom: 10px;}
@ -742,6 +742,7 @@ blockquote > *:last-child {
position: relative;
margin-left: 5px;
line-height: 18px;
word-wrap: break-word;
a i {
position: absolute;
left: 0;
@ -759,11 +760,11 @@ blockquote > *:last-child {
}
.topic-body {
width: 62.6690712%;
width: 690px;
float: left;
position: relative;
border-top: 1px solid scale-color-diff();
padding: 12px .5% 15px .5%;
padding: 12px 11px 15px 11px;
&.highlighted {
background-color: scale-color($tertiary, $lightness: 85%);
}
@ -775,8 +776,7 @@ blockquote > *:last-child {
.topic-avatar {
border-top: 1px solid scale-color-diff();
padding-top: 16px;
width: 04.9594229%;
min-width: 45px;
width: 45px;
float: left;
.wiki {
@ -1060,12 +1060,18 @@ span.highlighted {
/* Tablet (portrait) ----------- */
@media only screen
and (max-width : 1150px) {
and (max-width : 1140px) {
.extra-info {
h1 {
width: 720px;
}
}
.gutter {
width: 200px;
}
.post-cloak .reply-to-tab {
right: 320px;
}
}
@ -1076,6 +1082,22 @@ and (max-width : 975px) {
width: 650px;
}
}
.gutter {
width: 150px;
}
.post-cloak .reply-to-tab {
right: 300px;
}
}
@media only screen
and (max-width : 940px) {
.gutter {
width: 100px;
}
.post-cloak .reply-to-tab {
right: 250px;
}
}
@media only screen
@ -1085,17 +1107,9 @@ and (max-width : 870px) {
width: 520px;
}
}
}
@media only screen
and (max-width : 850px) {
.gutter {
display: none;
}
#topic-progress, #topic-progress-expanded {
left: 210px;
}
.topic-avatar {
width: 5%;
@ -1106,15 +1120,15 @@ and (max-width : 850px) {
}
.topic-body {
width: 92%;
padding-left: 1%;
width: 91%;
padding-left: 2%;
}
.embedded-posts {
// top means "in reply to expansion" above a post
&.top {
margin-left: 6%;
width: 93%;
width: 91%;
}
}

View File

@ -292,13 +292,18 @@ kbd
padding: .1em .6em;
}
@media only screen
and (max-width : 940px) {
#topic-progress, #topic-progress-expanded {
left: 295px;
}
}
@media only screen
and (max-width : 850px) {
and (max-width : 870px) {
.gutter {
display: none;
}
#topic-progress, #topic-progress-expanded {
left: 210px;
}