From 00a5c704f35dff4531c53d21807e3f195991f9be Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sat, 19 May 2012 00:24:30 +0200 Subject: reordering favorites by drag & drop WARNING: this code is very tricky, but I think results are really nice. Let's see what will happen... --- src/data/home.html | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) (limited to 'src/data/home.html') diff --git a/src/data/home.html b/src/data/home.html index 1d791d52..8ab7ebe9 100644 --- a/src/data/home.html +++ b/src/data/home.html @@ -1,9 +1,20 @@ - + + + - + @@ -14,13 +25,13 @@ @font-face { font-family: 'Nunito'; - src: url(%2/fonts/Nunito-Regular.ttf); + src: url($DEFAULT_PATH/fonts/Nunito-Regular.ttf); font-weight: normal; font-style: normal; } body { - background: url(%2/pics/background.jpg) repeat-y #fff; + background: url($DEFAULT_PATH/pics/background.jpg) repeat-y #fff; font-family: 'Nunito', sans-serif; font-size: 0.9em; border: 0; @@ -122,7 +133,7 @@ input { .current { border-width: 6px; - -webkit-border-image: url(%2/pics/button.png) 6 stretch stretch; + -webkit-border-image: url($DEFAULT_PATH/pics/button.png) 6 stretch stretch; } .link:not(.current){ @@ -141,7 +152,7 @@ input { display: inline-block; width: 25%; min-width: 240px; height: 170px; - margin: 3% 0 3% 0; + margin: 30px 0; } .thumb-inner { @@ -155,7 +166,7 @@ input { width: 200px; height: 150px; padding: 14px 16px 12px; - background: url(%2/pics/bg.png) no-repeat; + background: url($DEFAULT_PATH/pics/bg.png) no-repeat; -webkit-background-size: 100% 100%; } @@ -243,10 +254,12 @@ input { } + +
-- cgit v1.2.1