1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #32401 from yhirano55/improve_css_in_guide

Improve css in guide
This commit is contained in:
Rafael França 2018-04-19 15:37:31 -04:00 committed by GitHub
commit 8bdf50d515
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 12 deletions

View file

@ -70,7 +70,7 @@ table {
}
table th, table td {
padding: 0.25em 1em;
padding: 9px 10px;
border: 1px solid #CCC;
border-collapse: collapse;
}
@ -79,7 +79,6 @@ table th {
border-bottom: 2px solid #CCC;
background: #EEE;
font-weight: bold;
padding: 0.5em 1em;
}
img {
@ -265,8 +264,6 @@ body {
}
}
#extraCol {display: none;}
#footer {
padding: 2em 0;
background: #222 url(../images/footer_tile.gif) repeat-x;
@ -555,8 +552,6 @@ h6 {
font-size: 1.2857em;
padding: 0.125em 0 0.25em 0;
margin-bottom: 0;
/*background: url(../images/book_icon.gif) no-repeat left top;
padding: 0.125em 0 0.25em 28px;*/
}
@media screen and (max-width: 480px) {
@ -665,10 +660,8 @@ div.code_container {
visibility: hidden;
}
.clearfix {display: inline-block;}
* html .clearfix {height: 1%;}
.clearfix {display: block;}
.clear { clear:both; }
/* Same bottom margin for special boxes than for regular paragraphs, this way
intermediate whitespace looks uniform. */
@ -696,9 +689,6 @@ div.important p, div.caution p, div.warning p, div.note p, div.info p {
/* Foundation v2.1.4 http://foundation.zurb.com */
/* Artfully masterminded by ZURB */
table th { font-weight: bold; }
table td, table th { padding: 9px 10px; text-align: left; }
/* Mobile */
@media only screen and (max-width: 767px) {
table.responsive { margin-bottom: 0; }

View file

@ -4,7 +4,7 @@
/* Modified January 31, 2009
--------------------------------------- */
body, .wrapper, .note, .info, code, #topNav, .L, .R, #frame, #container, #header, #navigation, #footer, #feature, #mainCol, #subCol, #extraCol, .content {position: static; text-align: left; text-indent: 0; background: White; color: Black; border-color: Black; width: auto; height: auto; display: block; float: none; min-height: 0; margin: 0; padding: 0;}
body, .wrapper, .note, .info, code, #topNav, .L, .R, #frame, #container, #header, #navigation, #footer, #feature, #mainCol, #subCol, .content {position: static; text-align: left; text-indent: 0; background: White; color: Black; border-color: Black; width: auto; height: auto; display: block; float: none; min-height: 0; margin: 0; padding: 0;}
body {
background: #FFF;