Skip to content

Commit

Permalink
style chnages
Browse files Browse the repository at this point in the history
  • Loading branch information
suhairelayadath committed Oct 2, 2011
1 parent f307534 commit 01d36ea
Show file tree
Hide file tree
Showing 8 changed files with 169 additions and 7 deletions.
27 changes: 26 additions & 1 deletion .themes/light/sass/site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body{
background-color: #DDD;
margin: 0px;

color: #303030;
color: #8b0808;
font-family:'Josefin Sans',Helvetica,Arial,sans-serif;
font-size: 16px;
font-weight: normal;
Expand Down Expand Up @@ -268,6 +268,31 @@ kbd{
font-family: monospace, sans-serif;
}

.row h2{
font-weight:bold;
margin-bottom:0.6em;
}
.gray p{
color: black;
}

code{
font-family:monospace;
font-size:12px;
color: black;
}

ol{
padding-left:40px;
margin:0.6em 0px;
font: italic 1em Georgia, Times, serif;
color: #999;
}
ol li{
font-size:14px;
color:black;
}




25 changes: 23 additions & 2 deletions .themes/light/sass/site.scss~
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body{
background-color: #DDD;
margin: 0px;

color: #303030;
color: #8b0808;
font-family:'Josefin Sans',Helvetica,Arial,sans-serif;
font-size: 16px;
font-weight: normal;
Expand Down Expand Up @@ -128,7 +128,7 @@ blockquote small

.gray{
background: none repeat scroll 0 0 #F0F0EB;
background-image: url(/images/bkg.jpg);
background-image: url(/images/bkg_cyan.jpg);
background-position: center top;
background-color: #DDD;
}
Expand Down Expand Up @@ -268,6 +268,27 @@ kbd{
font-family: monospace, sans-serif;
}

.row h2{
font-weight:bold;
margin-bottom:0.6em;
}
.gray p{
color: black;
}

code{
font-family:monospace;
font-size:12px;
color: black;
}

ol{
padding-left:40px;
margin:0.6em 0px;
font: italic 1em Georgia, Times, serif;
color: #999;
}




27 changes: 26 additions & 1 deletion sass/site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body{
background-color: #DDD;
margin: 0px;

color: #303030;
color: #8b0808;
font-family:'Josefin Sans',Helvetica,Arial,sans-serif;
font-size: 16px;
font-weight: normal;
Expand Down Expand Up @@ -268,6 +268,31 @@ kbd{
font-family: monospace, sans-serif;
}

.row h2{
font-weight:bold;
margin-bottom:0.6em;
}
.gray p{
color: black;
}

code{
font-family:monospace;
font-size:12px;
color: black;
}

ol{
padding-left:40px;
margin:0.6em 0px;
font: italic 1em Georgia, Times, serif;
color: #999;
}
ol li{
font-size:14px;
color:black;
}




25 changes: 23 additions & 2 deletions sass/site.scss~
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body{
background-color: #DDD;
margin: 0px;

color: #303030;
color: #8b0808;
font-family:'Josefin Sans',Helvetica,Arial,sans-serif;
font-size: 16px;
font-weight: normal;
Expand Down Expand Up @@ -128,7 +128,7 @@ blockquote small

.gray{
background: none repeat scroll 0 0 #F0F0EB;
background-image: url(/images/bkg.jpg);
background-image: url(/images/bkg_cyan.jpg);
background-position: center top;
background-color: #DDD;
}
Expand Down Expand Up @@ -268,6 +268,27 @@ kbd{
font-family: monospace, sans-serif;
}

.row h2{
font-weight:bold;
margin-bottom:0.6em;
}
.gray p{
color: black;
}

code{
font-family:monospace;
font-size:12px;
color: black;
}

ol{
padding-left:40px;
margin:0.6em 0px;
font: italic 1em Georgia, Times, serif;
color: #999;
}




Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
layout: post
title: "Learning to Authenticate With Devise"
date: 2011-10-01 19:37
comments: true
categories:
---
<div class="container">
<div class="row">
<div class="sixcol">&nbsp;</div>
<div class="sixcol last">
<h1 class="main-head">Learning to Authenticate with Devise</h1>
</div>
</div>
</div>


<div class="container padding40">
<div class="row">
<div class="eightcol">
The first step is to create a new rails application and bundle the devise gem inside it. Devise comes with a generator and it will configure the application and will walk you through the necessary steps. Run <code>rails g devise:install</code>. As instructed by the generator, you should add the configuration for mailer in the development environment, should add a root url, and should have the markup to display the flash messages. It's time to generate the model for representing the application users by running <code>rails g devise User</code>. The previous command will create the following.
<ol>
<li>User model</li>
<li>Unit test file</li>
<li>User fixture</li>
<li>User migration file</li>
<li>Route for users</li>
</ol>

<p class="para">
After including the devise modules in the model and the migration file migrate the database updates and run the rails application.`
</p>


</div>
<div class="fourcol last"></div>
</div>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
layout: post
title: "Learning to Authenticate With Devise"
date: 2011-10-01 19:37
comments: true
categories:
---
<div class="container">
<div class="row">
<div class="sixcol">&nbsp;</div>
<div class="sixcol last">
<h1 class="main-head">Learning to Authenticate with Devise</h1>
</div>
</div>
</div>


<div class="container padding40">
<div class="row">
<div class="eightcol">
The first step is to create a new rails application and bundle the devise gem inside it. Devise comes with a generator and it will configure the application and will walk you through the necessary steps. Run <code>rails g devise:install</code>. As instructed by the generator, you should add the configuration for mailer in the development environment, should add a root url, and should have the markup to display the flash messages. It's time to generate the model for representing the application users by running <code>rails g devise User</code>. The previous command will create the following.
<ol>
<li>User model</li>
<li>Unit test file</li>
<li>User fixture</li>
<li>User migration file</li>
<li>Route for users</li>
</ol>
</div>
<div class="fourcol last"></div>
</div>
</div>
Binary file modified source/images/bkg_cyan.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion source/stylesheets/site.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 01d36ea

Please sign in to comment.