Browse files

Turned on compact option for SASS

  • Loading branch information...
1 parent 8124d35 commit b25d8c2b46ae16c1a7ad84cc6eb81707550e159c @twe4ked committed Apr 16, 2011
Showing with 55 additions and 124 deletions.
  1. +3 −0 config/environment.rb
  2. +52 −124 public/stylesheets/style.css
View
3 config/environment.rb
@@ -3,3 +3,6 @@
# Initialize the rails application
Inspiredshots::Application.initialize!
+
+# Compact css output
+Sass::Plugin.options[:style] = :compact
View
176 public/stylesheets/style.css
@@ -1,124 +1,52 @@
-body, div, dl, dt, dd, ul, ol, li, h1, h2, h4, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td {
- margin: 0;
- padding: 0; }
-
-table {
- border-collapse: collapse;
- border-spacing: 0; }
-
-fieldset, img {
- border: 0; }
-
-address, caption, cite, code, dfn, em, strong, th, var, optgroup {
- font-style: inherit;
- font-weight: inherit; }
-
-del, ins {
- text-decoration: none; }
-
-li {
- list-style: none; }
-
-caption, th {
- text-align: left; }
-
-h1, h2, h3, h4, h4, h5, h6 {
- font-size: 100%;
- font-weight: 400; }
-
-q:before, q:after {
- content: ''; }
-
-aabbr, acronym {
- border: 0;
- font-variant: normal; }
-
-legend {
- color: #000; }
-
-input, button, textarea, select, optgroup, option {
- font-family: inherit;
- font-size: inherit;
- font-style: inherit;
- font-weight: inherit; }
-
-input, button, textarea, select {
- font-size: 100%; }
-
-.clearfix:after {
- content: ".";
- display: block;
- clear: both;
- visibility: hidden;
- line-height: 0;
- height: 0; }
-
-.clearfix {
- display: inline-block; }
-
-html[xmlns] .clearfix {
- display: block; }
-
-* html .clearfix {
- height: 1%; }
-
-sup, sub {
- vertical-align: baseline; }
-
-header, nav, section, article, footer {
- display: block; }
-
-body {
- color: #8d8d8e;
- background: #111415;
- width: 400px;
- margin: 40px auto;
- font: 12px/140% "Helvetica Neue", Arial, Sans-Serif; }
-
-a:link, a:visited, a:hover, a:active {
- color: #2B899D; }
-
-#title {
- font-size: 61px;
- margin-bottom: 40px;
- color: #ea4c89;
- text-shadow: 1px -1px 0px #fc629d;
- font-weight: bold; }
-
-#subtitle {
- font-size: 21px;
- margin-bottom: 30px;
- text-transform: lowercase;
- font-weight: normal;
- font-family: 'Palatino', 'Times New Roman', serif;
- text-align: right;
- text-shadow: 1px -1px 0px black; }
-
-ul#feed li {
- margin: 20px 0;
- background: #000;
- text-align: center;
- width: 400px;
- height: 300px;
- line-height: 300px;
- position: relative; }
- ul#feed li img {
- margin: 0 auto;
- -moz-box-shadow: 1px 1px 0px #171b1c;
- -webkit-box-shadow: 1px 1px 0px #171b1c;
- box-shadow: 1px 1px 0px #171b1c; }
- ul#feed li.loading {
- background: url("../images/loading.gif") 50% 50% no-repeat;
- height: 16px;
- margin: 40px auto;
- -moz-box-shadow: none;
- -webkit-box-shadow: none;
- box-shadow: none; }
-
-footer {
- text-align: right;
- position: fixed;
- bottom: 10px;
- right: 20px; }
- footer a {
- color: #aaa; }
+body, div, dl, dt, dd, ul, ol, li, h1, h2, h4, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td { margin: 0; padding: 0; }
+
+table { border-collapse: collapse; border-spacing: 0; }
+
+fieldset, img { border: 0; }
+
+address, caption, cite, code, dfn, em, strong, th, var, optgroup { font-style: inherit; font-weight: inherit; }
+
+del, ins { text-decoration: none; }
+
+li { list-style: none; }
+
+caption, th { text-align: left; }
+
+h1, h2, h3, h4, h4, h5, h6 { font-size: 100%; font-weight: 400; }
+
+q:before, q:after { content: ''; }
+
+abbr, acronym { border: 0; font-variant: normal; }
+
+legend { color: #000; }
+
+input, button, textarea, select, optgroup, option { font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; }
+
+input, button, textarea, select { font-size: 100%; }
+
+.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
+
+.clearfix { display: inline-block; }
+
+html[xmlns] .clearfix { display: block; }
+
+* html .clearfix { height: 1%; }
+
+sup, sub { vertical-align: baseline; }
+
+header, nav, section, article, footer { display: block; }
+
+body { color: #8d8d8e; background: #111415; width: 400px; margin: 40px auto; font: 12px/140% "Helvetica Neue", Arial, Sans-Serif; }
+
+a:link, a:visited, a:hover, a:active { color: #2B899D; }
+
+#title { font-size: 61px; margin-bottom: 40px; color: #ea4c89; text-shadow: 1px -1px 0px #fc629d; font-weight: bold; }
+
+#subtitle { font-size: 21px; margin-bottom: 30px; text-transform: lowercase; font-weight: normal; font-family: 'Palatino', 'Times New Roman', serif; text-align: right; text-shadow: 1px -1px 0px black; }
+
+ul#feed li { margin: 20px 0; background: #000; text-align: center; width: 400px; height: 300px; line-height: 300px; position: relative; }
+ul#feed li img { margin: 0 auto; -moz-box-shadow: 1px 1px 0px #171b1c; -webkit-box-shadow: 1px 1px 0px #171b1c; box-shadow: 1px 1px 0px #171b1c; }
+ul#feed li.loading { background: url("../images/loading.gif") 50% 50% no-repeat; height: 16px; margin: 40px auto; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
+
+footer { text-align: right; position: fixed; bottom: 10px; right: 20px; }
+footer a { color: #aaa; }

0 comments on commit b25d8c2

Please sign in to comment.