mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Improve css in guide
* .clearfix is overridden. * .clear is not currently used. * #extraCol is not currently used. * table th, table td are overridden. Merged them. * Removed needless comment lines which are added on #6475
This commit is contained in:
parent
11b884e534
commit
a668f6660c
2 changed files with 2 additions and 12 deletions
|
@ -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; }
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue