diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-11-07 09:16:48 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-11-07 09:22:14 -0200 |
commit | c233b2f653601170f462a92a2406831f21f2c824 (patch) | |
tree | 1b5ee1cf1dd173f85b4acf2ebc7c26c9ff649f27 /guides/assets/stylesheets | |
parent | 9886b88a3b6455bf9d567c091e36514d04a7faba (diff) | |
download | rails-c233b2f653601170f462a92a2406831f21f2c824.tar.gz rails-c233b2f653601170f462a92a2406831f21f2c824.tar.bz2 rails-c233b2f653601170f462a92a2406831f21f2c824.zip |
Fix guides home links and maintain compatibility with small screens
Commit 65a2977cdd55678d3eab06434625375914511786 has introduced some
changes to format content for small devices, this change reverts the
original font size for normal screens while maintaing the same format
for these devices.
[ci skip]
Diffstat (limited to 'guides/assets/stylesheets')
-rw-r--r-- | guides/assets/stylesheets/main.css | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/guides/assets/stylesheets/main.css b/guides/assets/stylesheets/main.css index f847a2f355..589c96e0e9 100644 --- a/guides/assets/stylesheets/main.css +++ b/guides/assets/stylesheets/main.css @@ -541,13 +541,19 @@ h6 { } #mainCol dt, #subCol dt { - font-size: 1em; + 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) { + #mainCol dt, #subCol dt { + font-size: 1em; + } +} + #mainCol dd.work-in-progress, #subCol dd.work-in-progress { background: #fff9d8 url(../images/tab_yellow.gif) no-repeat left top; border: none; |