aboutsummaryrefslogtreecommitdiffstats
path: root/guides/assets/stylesheets
Commit message (Collapse)AuthorAgeFilesLines
* allow right to left styling of docs (#3)tamarr2018-11-191-0/+762
| | | | * adding rtl css main file and logic to use
* Replace outdated Rails Guides logoOlivier Lacan2018-10-191-1/+14
| | | | | | | | | | | | | | | The previous version wasn’t matching the Rails Guides logo source file listed at https://github.com/rails/homepage/blob/master/materials/rails_guides_logo.psd somehow. It was also a GIF when an 8-bit PNG results in a smaller file (2KB vs 4KB) which should be just as widely compatible with browsers. And that’s just for the 1x version. I added a new 2x version for “retina” or high-density displays and a CSS @media query to progressively enhance with this high density version of the logo. I’ve ensured that this query is supported across browsers by using vendor-specific versions when necessary. See: https://caniuse.com/#feat=css-media-resolution [ci skip]
* Use CSS flexbox for Guides index menuOlivier Lacan2018-10-191-11/+34
| | | | | | | | | | | | | | | | | | | This notably allows us to tile each category without pushing the page down vertically as much as we previously did on any viewport wider than mobile sizes. It also means we can fit more guides which will become useful in the future since we have several new guides in the work. Finally the new layout allows three clearly distinct columns to emerge: - Start Here and Rails basics: Models, Views, Controllers, Other Components - Digging Deeper, Extending Rails, Contributing, Maintenance - Release Notes Having Release Notes shoot back up to the top of the third column is great because that makes finding the latest released version and its associated release notes much easier without having to scroll down a bunch. [ci skip]
* Merge pull request #32405 from yhirano55/use_turbolinks_in_guideRafael França2018-09-062-0/+4
|\ | | | | Use Turbolinks in Rails guides
| * Use Turbolinks in Rails guidesYoshiyuki Hirano2018-04-232-0/+4
| |
* | [skip ci] Fix overlapping text in the guideArye Dov Eidelman2018-08-171-1/+5
| | | | | | | | Fix a layout issue in the rails guides, where the navigation covers the main text, if the page is between 800 and 960 pixels wide. (issue #33406)
* | Change the background color which wrapped by code tag. [ci skip]lanzhiheng2018-07-191-1/+10
|/
* :scissors: jQuery for Rails GuidesYoshiyuki Hirano2018-04-211-0/+4
| | | | | * Rewrite with Vanilla JS * Confirmed with Chrome, Safari, Firefox
* Improve css in guideYoshiyuki Hirano2018-04-012-12/+2
| | | | | | | | * .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
* Remove useless stylesheet file in guideYoshiyuki Hirano2018-03-311-50/+0
|
* Don't highlight code in anchorlink [ci skip]claudiob2017-04-041-4/+2
| | | | Minor fix to #28662
* Downplay links in Guides headersRuy Diaz2017-04-041-1/+4
| | | | [ci skip]
* Add anchor links to all headersRuy Diaz2017-04-011-0/+3
| | | | To allow easy linking at all levels and not just from index
* Merge pull request #27143 from sachin21/fix-permissionMatthew Draper2016-11-221-0/+0
|\ | | | | Fix a wrong permission
| * Fix a wrong permissionSatoshi Ohmori2016-11-221-0/+0
| |
* | Merge pull request #24612 from vipulnsward/fix-li-ol-widthVijay Dev2016-09-061-1/+2
|\ \ | | | | | | Selectively add `li ul, li ol { margin:0 1.5em; }` to subColl as needed
| * | Selectively add `li ul, li ol { margin:0 1.5em; }` to subColl needed for ↵Vipul A M2016-04-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chapters column, instead of leaking to other lists. Before: https://monosnap.com/file/CNIMXcqv3HuRrObTNYWYFis8I3G8PT After: https://monosnap.com/file/0IyEKEy9hcRCIx82etR8ikinCo3vNb Chapters column remains as is: http://take.ms/M0BkF
* | | Increase margin-bottom for doc's code syntax highlighterAlex Kitchens2016-08-201-1/+1
| | | | | | | | | | | | | | | | | | Fixes #25744 by slightly increasing the margin in code syntax highlights. With a margin of 0, it was cutting off underscores in Linux browesers, so I slightly increased it to 0.5px.
* | | - Update Syntax Highlighter to version 4.Vipul A M2016-07-0316-3556/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | - Build Syntax Highlighter based on https://github.com/syntaxhighlighter/syntaxhighlighter/wiki/Building and use theme generated by fxn. - This also bundles these brushes in the file itself- ruby,css,xml,sql,javascript,plain. Generation command used: gulp build --compat --brushes=javascript,ruby,xml,sql,plain --theme=/Path/To/RailsSource/rails/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css - rm all old js and css files - Moved over how JS configuration is created for Syntax Highlighter - Fixed layout for all imports - Fixes bug with old copy paste, generating wrong space character on webkit https://github.com/syntaxhighlighter/syntaxhighlighter/blob/7caa9632e7fe470d944fc06b4db7d35352ebaa36/src/dom.js#L227 Fixes #25655
* / Fix value of CSS background-color property in Rails guideBas van IJzendoorn2016-02-291-1/+1
|/ | | | | | Change background-color value to transparent, which is the default value of background-color. [ci skip]
* Avoid displaying new lines inside note paragraphsRobin Dupret2015-01-031-1/+1
| | | | | | | | | | | | | Commit 65a2977 added a `pre-wrap` style for white spaces on `.note` paragraphs. However, this is first inconsistent as other notes like warnings don't have this style applied. Furthermore, it seems to be unneeded for mobile devices. Also revert changes made in #18147 since they aren't needed anymore. Cross-refs #18138. [ci skip]
* fix guides mobile nav issue [ci skip]Greg Molnar2014-05-061-1/+4
|
* Added cursor pointer for 'More Ruby on Rails'Paul Nikitochkin2013-07-081-0/+1
| | | | | dropdown menu on guides page (which appear on small windows) [ci skip]
* [doc] fixed printing of code samplesArun Agrawal2013-07-021-1/+1
|
* Fixed menu section's location (guides)Dima Zudochkin2013-06-251-1/+1
|
* Merge pull request #8770 from goshakkk/guides-img-fixXavier Noria2013-01-061-0/+4
|\ | | | | Fix img width in guides
| * fix img width in guidesGosha Arinich2013-01-051-0/+4
| |
* | fix guides' warning bottom paddingGosha Arinich2013-01-061-1/+1
|/
* Fix guides home links and maintain compatibility with small screensCarlos Antonio da Silva2012-11-071-1/+7
| | | | | | | | | 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]
* Minor css style improvementsCarlos Antonio da Silva2012-11-041-47/+45
| | | | | | | Fix some indenting for some properties and closing }, remove tabs, and merge two pre/code definitions. [ci skip]
* Restore index link states to the way they are in current guideCarlos Antonio da Silva2012-11-041-2/+2
| | | | | | | | | | | | Current stable guides show the "Guides Index" links without underline, just showing it when it's hovered. This restores the same functionality for edge guides. Also remove annoying pointer cursor while accessing guides index, restoring previously functionality: now the pointer cursor only appears when hovering a link. Closes #8107 [ci skip]
* [Guides] Format content for small devicesJoe Fiorini2012-10-062-2/+116
|
* [Guides] Navigation styling for small devicesJoe Fiorini2012-10-061-214/+389
|
* Retain heading styles in the page chapters listPrem Sichanugrist2012-09-171-2/+3
|
* Start rewriting 4.0 release note into MarkdownPrem Sichanugrist2012-09-171-1/+8
|
* Make body background white for Lion scrollbar to be darkRafaël Blais Masson2012-03-291-3/+3
|
* moves the guides up to the root directoryXavier Noria2012-03-1724-0/+4487