mirror of https://github.com/rails/rails
Merge pull request #43250 from ChloeLiang/docs-fix-spacing
Fix docs spacing [ci-skip]
This commit is contained in:
commit
50adba4746
|
@ -277,7 +277,6 @@ body {
|
||||||
|
|
||||||
#mainCol {
|
#mainCol {
|
||||||
max-width: 630px;
|
max-width: 630px;
|
||||||
margin-left: 2em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#subCol {
|
#subCol {
|
||||||
|
@ -299,7 +298,7 @@ body {
|
||||||
position: static;
|
position: static;
|
||||||
width: inherit;
|
width: inherit;
|
||||||
margin-left: -1em;
|
margin-left: -1em;
|
||||||
margin-right: 0;
|
margin-right: -1em;
|
||||||
padding-right: 1.25em;
|
padding-right: 1.25em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -313,6 +312,10 @@ body {
|
||||||
max-width: 960px;
|
max-width: 960px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#footer p:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
#header .wrapper, #topNav .wrapper, #feature .wrapper {padding-left: 1em; max-width: 960px;}
|
#header .wrapper, #topNav .wrapper, #feature .wrapper {padding-left: 1em; max-width: 960px;}
|
||||||
#feature .wrapper {max-width: 720px; padding-right: 23em; position: relative; z-index: 0;}
|
#feature .wrapper {max-width: 720px; padding-right: 23em; position: relative; z-index: 0;}
|
||||||
|
|
||||||
|
@ -321,7 +324,7 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 800px) {
|
@media screen and (max-width: 800px) {
|
||||||
#feature .wrapper, #container .wrapper { padding-right: 0; }
|
#feature .wrapper, #container .wrapper { padding-right: 1em; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Links
|
/* Links
|
||||||
|
|
|
@ -273,7 +273,6 @@ body {
|
||||||
|
|
||||||
#mainCol {
|
#mainCol {
|
||||||
max-width: 630px;
|
max-width: 630px;
|
||||||
margin-right: 2em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#subCol {
|
#subCol {
|
||||||
|
@ -295,7 +294,7 @@ body {
|
||||||
position: static;
|
position: static;
|
||||||
width: inherit;
|
width: inherit;
|
||||||
margin-right: -1em;
|
margin-right: -1em;
|
||||||
margin-left: 0;
|
margin-left: -1em;
|
||||||
padding-left: 1.25em;
|
padding-left: 1.25em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -309,6 +308,10 @@ body {
|
||||||
max-width: 960px;
|
max-width: 960px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#footer p:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
#header .wrapper, #topNav .wrapper, #feature .wrapper {padding-right: 1em; max-width: 960px;}
|
#header .wrapper, #topNav .wrapper, #feature .wrapper {padding-right: 1em; max-width: 960px;}
|
||||||
#feature .wrapper {max-width: 720px; padding-left: 23em; position: relative; z-index: 0;}
|
#feature .wrapper {max-width: 720px; padding-left: 23em; position: relative; z-index: 0;}
|
||||||
|
|
||||||
|
@ -317,7 +320,7 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 800px) {
|
@media screen and (max-width: 800px) {
|
||||||
#feature .wrapper, #container .wrapper { padding-left: 0; }
|
#feature .wrapper, #container .wrapper { padding-left: 1em; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Links
|
/* Links
|
||||||
|
|
Loading…
Reference in New Issue