Permalink
Browse files

Initial commit

  • Loading branch information...
johanbrook committed Jun 17, 2012
0 parents commit 0a1951038b443bc0dfa6a813c451d80aabc244a7
Showing with 678 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +35 −0 _main.scss
  3. +26 −0 _settings.scss
  4. +14 −0 common/_elements.scss
  5. +4 −0 common/_headings.scss
  6. +13 −0 lib/_helpers.scss
  7. +25 −0 lib/_mixins.scss
  8. +514 −0 lib/_reset.scss
  9. +14 −0 master.scss
  10. +6 −0 partials/_footer.scss
  11. +7 −0 partials/_header.scss
  12. +6 −0 viewports/_medium.scss
  13. +6 −0 viewports/_small.scss
  14. +6 −0 views/_home.scss
@@ -0,0 +1,2 @@
+.sass-cache
+.DS_Store
@@ -0,0 +1,35 @@
+/* =MAIN SITE STYLES
+----------------------------------------------------------------------*/
+
+html {
+ background-color: #fff;
+}
+
+body {
+ -webkit-tap-highlight-color: #fff;
+ font: normal #{$fontsize}/#{($leading/$base-size)} $sans;
+ color: $bodycolor;
+}
+
+// ELEMENTS
+// Include stuff like headings, links, buttons, forms, element styling ..
+
+@import "common/headings";
+@import "common/elements";
+
+
+// PARTIALS
+// Different areas of the site layout, ex. header, sidebars.
+
+@import "partials/header";
+@import "partials/footer";
+
+// VIEWS
+// Different views, ex. home, profile page, etc.
+
+@import "views/home";
+
+// RESPONSIVE STYLES
+
+@import "viewports/medium";
+@import "viewports/small";
@@ -0,0 +1,26 @@
+// Colors
+
+$accent: #003366;
+$gray: #666666;
+$bodycolor: #323232;
+
+$btn-color: blue;
+$btn-color-dangerous: red;
+$btn-color-accent: green;
+
+
+// Typography
+
+$sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
+
+$base-size: 15;
+$leading: 21;
+
+$fontsize: $base-size/16 * 1em;
+$lineheight: ($leading/$base-size) * 1em;
+
+// Grid
+
+$page_width: 768px;
+$grid-gutter: 28px;
+$grid-column: 98px;
@@ -0,0 +1,14 @@
+/* =ELEMENT SETUP
+----------------------------------------------------------------------*/
+
+img,
+object,
+embed,
+iframe {
+ max-width: 100%;
+ height: auto;
+
+ &.noscale {
+ max-width: none;
+ }
+}
@@ -0,0 +1,4 @@
+/* =HEADINGS
+----------------------------------------------------------------------*/
+
+
@@ -0,0 +1,13 @@
+/* =HELPERS
+----------------------------------------------------------------------*/
+
+.group {
+ @include clearfix;
+}
+
+.clear {
+ clear: both;
+ display: block;
+ height: 1px;
+ margin: -1px 0 0 0;
+}
@@ -0,0 +1,25 @@
+// Custom mixins
+
+@mixin clearfix {
+ &:before,
+ &:after {
+ content:"";
+ display:table;
+ }
+
+ &:after {
+ clear:both;
+ }
+
+ /* For IE 6/7 (trigger hasLayout) */
+ & {
+ *zoom:1;
+ }
+}
+
+
+// Functions
+
+@function to_em($desired) {
+ @return ($desired / $base-size) * 1em;
+}
Oops, something went wrong.

0 comments on commit 0a19510

Please sign in to comment.