Added a special font 1.0.2
authorKai Moritz <kai@juplo.de>
Mon, 24 Aug 2015 21:23:17 +0000 (23:23 +0200)
committerKai Moritz <kai@juplo.de>
Mon, 24 Aug 2015 21:23:17 +0000 (23:23 +0200)
Gruntfile.js
fonts/white-rabbit.woff [new file with mode: 0644]
less/frontend.less
package.json

index 9125a55..f62594c 100644 (file)
@@ -14,7 +14,11 @@ module.exports = function(grunt) {
         expand: true,
         cwd: 'html',
         src: '**/*.html',
-        dest: 'dist/thymeleaf/templates',
+        dest: 'dist/thymeleaf/templates'
+      },
+      fonts: {
+        src: 'fonts/**/*',
+        dest: 'dist/'
       }
     },
 
diff --git a/fonts/white-rabbit.woff b/fonts/white-rabbit.woff
new file mode 100644 (file)
index 0000000..892518f
Binary files /dev/null and b/fonts/white-rabbit.woff differ
index 17f3fcf..93145ff 100644 (file)
@@ -3,11 +3,27 @@
 @light:      #9f9;
 @lighter:    #fff;
 
+@font-face {
+  font-family: 'White Rabbit';
+  font-style: normal;
+  font-weight: 400;
+  text-transform: none;
+  src: url('../fonts/white-rabbit.woff');
+  -webkit-font-feature-settings: "liga";
+     -moz-font-feature-settings: "liga=1";
+     -moz-font-feature-settings: "liga";
+      -ms-font-feature-settings: "liga" 1;
+       -o-font-feature-settings: "liga";
+          font-feature-settings: "liga";
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
 
 body
 {
   color: @normal;
   background-color: @background;
+  font-family: "White Rabbit";
   font-size: 20px;
 }
 a
index 1306bdc..9c9a0b2 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "frontend",
-  "version": "1.0.1",
+  "version": "1.0.2",
   "description": "Simple Example-Project for Template-Development",
   "devDependencies": {
     "grunt": "~0.4.5",