Permalink
Browse files

Added stylesheet, modified root routing

  • Loading branch information...
1 parent a773656 commit 83696d7348d32d4dc120ed7d4f975a5d9a1d70ad @nvijayap committed Jan 13, 2014
Showing with 86 additions and 3 deletions.
  1. +85 −0 app/assets/stylesheets/spellcheck.css.scss
  2. +1 −1 config/routes.rb
  3. +0 −2 public/index.html
@@ -0,0 +1,85 @@
+body {
+ background-color: #fff;
+ color: #333;
+ font-family: verdana, arial, helvetica, sans-serif;
+ font-size: 13px;
+ line-height: 18px;
+}
+
+p, ol, ul, td {
+ font-family: verdana, arial, helvetica, sans-serif;
+ font-size: 13px;
+ line-height: 18px;
+}
+
+pg {
+ font-family: verdana, arial, helvetica, sans-serif;
+ font-weight: bold;
+ font-size: 13px;
+ line-height: 18px;
+ color: green;
+}
+
+pr {
+ font-family: verdana, arial, helvetica, sans-serif;
+ font-weight: bold;
+ font-size: 13px;
+ line-height: 18px;
+ color: red;
+}
+
+pre {
+ background-color: #eee;
+ padding: 10px;
+ font-size: 11px;
+}
+
+a {
+ color: #000;
+ &:visited {
+ color: #666;
+ }
+ &:hover {
+ color: #fff;
+ background-color: #000;
+ }
+}
+
+div {
+ &.field, &.actions {
+ margin-bottom: 10px;
+ }
+}
+
+#notice {
+ color: green;
+}
+
+.field_with_errors {
+ padding: 2px;
+ background-color: red;
+ display: table;
+}
+
+#error_explanation {
+ width: 450px;
+ border: 2px solid red;
+ padding: 7px;
+ padding-bottom: 0;
+ margin-bottom: 20px;
+ background-color: #f0f0f0;
+ h2 {
+ text-align: left;
+ font-weight: bold;
+ padding: 5px 5px 5px 15px;
+ font-size: 12px;
+ margin: -7px;
+ margin-bottom: 0px;
+ background-color: #c00;
+ color: #fff;
+ }
+ ul li {
+ font-size: 12px;
+ list-style: square;
+ }
+}
View
@@ -4,7 +4,7 @@
# See how all your routes lay out with "rake routes".
# You can have the root of your site routed with "root"
- # root 'spellcheck#view'
+ root 'spellcheck#view'
# Example of regular route:
# get 'products/:id' => 'catalog#view'
View
@@ -1,2 +0,0 @@
-<br/>
-<a href="/spellcheck">Enter Spell Check App</a>

0 comments on commit 83696d7

Please sign in to comment.