Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Ruby on Rails layouts/css archive?

Tags:

Does anybody know a place with a bunch of Ruby On Rails Layouts/CSS combinations? I am starting new applications and would like to give them different look, but I am not a designer, so I would love to use someone's else free layouts/css for starters.

like image 901
dimus Avatar asked Mar 08 '09 12:03

dimus


People also ask

Does Ruby on Rails use HTML and CSS?

Ruby on Rails adds a back end dimension to front end skills like HTML, CSS, and JavaScript.

What is the layout in Ruby on Rails?

A layout defines the surroundings of an HTML page. It's the place to define a common look and feel of your final output. Layout files reside in app/views/layouts. The process involves defining a layout template and then letting the controller know that it exists and to use it.

How can you tell Rails to render without a layout?

By default, if you use the :text option, the text is rendered without using the current layout. If you want Rails to put the text into the current layout, you need to add the layout: true option.

How do you use nested layouts rails?

Rails provides us great functionality for managing layouts in a web application. The layouts removes code duplication in view layer. You are able to slice all your application pages to blocks such as header, footer, sidebar, body and etc.


2 Answers

Check out Twitter Bootstrap a html/css/javascript framework fro web apps.

like image 182
Aymeric Gaurat-Apelli Avatar answered Sep 25 '22 02:09

Aymeric Gaurat-Apelli


You should definitely take a look at yaml It is a CSS framework with default settings for all HTML elements. (remember to include default_content.css) The good thing about yaml is that you don't need to hack your CSS/HTML to death to make it look good in all browsers. Yaml has all the hacks and tweaks included. Use the yaml builder to set up your columns etc.

Best regards. Asbjørn Morell.

like image 21
atmorell Avatar answered Sep 22 '22 02:09

atmorell