Fix spacing around Disqus comments to match other content blocks

This commit is contained in:
Michael Rose 2014-02-26 11:28:25 -05:00
parent 75e72ebc6a
commit b6764d9899
3 changed files with 19 additions and 9 deletions

View File

@ -4045,10 +4045,8 @@ body {
#post #disqus_thread, #post #disqus_thread,
#page #disqus_thread { #page #disqus_thread {
padding: 25px 40px; padding: 10px 15px;
margin-right: 10px; margin: 40px 2px 20px 2px;
margin-bottom: 20px;
margin-left: 10px;
background-color: #ffffff; background-color: #ffffff;
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
@ -4056,6 +4054,15 @@ body {
box-shadow: 0 0 0 1px rgba(187, 187, 187, 0.1), 0 6px 12px rgba(0, 0, 0, 0.1); box-shadow: 0 0 0 1px rgba(187, 187, 187, 0.1), 0 6px 12px rgba(0, 0, 0, 0.1);
} }
@media only screen and (min-width: 48em) {
#post #disqus_thread,
#page #disqus_thread {
padding: 20px 30px;
margin-right: 10px;
margin-left: 10px;
}
}
@media only screen and (min-width: 62.5em) { @media only screen and (min-width: 62.5em) {
#post #disqus_thread, #post #disqus_thread,
#page #disqus_thread { #page #disqus_thread {

File diff suppressed because one or more lines are too long

View File

@ -204,13 +204,16 @@ body {
} }
} }
#disqus_thread { #disqus_thread {
margin-left: 10px; margin: 40px 2px 20px 2px;
margin-right: 10px; padding: 10px 15px;
margin-bottom: 20px;
padding: 25px 40px;
background-color: @white; background-color: @white;
box-shadow: 0 0 0 1px fade(@border-color,10), 0 6px 12px fade(@black,10); box-shadow: 0 0 0 1px fade(@border-color,10), 0 6px 12px fade(@black,10);
.rounded(3px); .rounded(3px);
@media @medium {
margin-left: 10px;
margin-right: 10px;
padding: 20px 30px;
}
@media @large { @media @large {
max-width: 800px; max-width: 800px;
padding: 50px 80px; padding: 50px 80px;