Permalink
Browse files

Use SASS instead of CSS

Use SASS instead of CSS, remove unused semantic-ui table files.
  • Loading branch information...
1 parent e37f248 commit afed03b6d3eec2a31253d0d9b56ff0428d383f66 @psgs psgs committed Oct 22, 2015
Showing with 64 additions and 686 deletions.
  1. +2 −1 .gitignore
  2. +7 −0 _sass/_mixins.scss
  3. +0 −29 css/base.css
  4. +55 −0 css/base.scss
  5. +0 −644 css/table.css
  6. +0 −12 css/table.min.css
View
@@ -3,4 +3,5 @@ _site/
.idea/
Thumbs.db
ehthumbs.db
-Gemfile.lock
+Gemfile.lock
+.sass-cache
View
@@ -0,0 +1,7 @@
+@mixin transition($element, $type, $time) {
+ -webkit-transition: $element $time $type;
+ -moz-transition: $element $time $type;
+ -ms-transition: $element $time $type;
+ -o-transition: $element $time $type;
+ transition: $element $time $type;
+}
View
@@ -1,29 +0,0 @@
-html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td { margin: 0; padding: 0; }
-html, body {height: 100%;}
-img { border: none; }
-ul { list-style: none; }
-a { color: #009FDA; text-decoration: none; }
-
-body {
- font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
- color: #505050;
- line-height: 22px;
- background: none;
-}
-
-p {
- margin: 1em 0;
-}
-
-#top-header {
- padding: 3em 0;
-}
-
-.category {
- text-align: center;
-}
-
-.category h5 i:hover {
- background-color: #39CCCC;
- color: white;
-}
View
@@ -0,0 +1,55 @@
+---
+---
+
+@import 'mixins';
+
+html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td {
+ margin: 0;
+ padding: 0;
+}
+
+html, body {
+ height: 100%;
+}
+
+img {
+ border: none;
+}
+
+ul {
+ list-style: none;
+}
+
+a {
+ color: #009FDA;
+ text-decoration: none;
+}
+
+body {
+ font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+ color: #505050;
+ line-height: 22px;
+ background: none;
+}
+
+p {
+ margin: 1em 0;
+}
+
+#top-header {
+ padding: 3em 0;
+}
+
+.category {
+ cursor: pointer;
+ text-align: center;
+
+ h5 i {
+ @include transition(all, ease, 300ms);
+
+ &:hover {
+ background-color: #39CCCC;
+ color: white;
+ }
+ }
+}
Oops, something went wrong.

0 comments on commit afed03b

Please sign in to comment.