From 1e5b0c82e26d0c32603f81c30346a4e5c69b5b63 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Fri, 2 Oct 2015 14:58:27 +0200 Subject: [PATCH] YAStyle * style.css: style uniformisation, between small and large screens * App.master: mainly cleans the code additionaly, modifies the background speed for `nav` --- web/App_Themes/style.css | 6 +++--- web/ChangeLog | 8 ++++++++ web/Models/App.master | 3 ++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/web/App_Themes/style.css b/web/App_Themes/style.css index 97a43404..3e1e8fdc 100644 --- a/web/App_Themes/style.css +++ b/web/App_Themes/style.css @@ -28,7 +28,7 @@ nav { margin: 1em; padding: 1em; display: block; - background: url("/images/helix-nebula-1400x1400.s.jpg") 50% 10em no-repeat fixed ; + background: url("/images/helix-nebula-1400x1400.s.jpg") 50% 10% no-repeat fixed ; min-height: 10em; } @@ -283,13 +283,13 @@ input, select { margin: .5em; padding: .5em; min-height: 3em; - background: url("/images/helix-nebula-1400x1400.xxs.jpg") 50% 10em no-repeat fixed ; + background: url("/images/helix-nebula-1400x1400.xxs.jpg") 50% 10% repeat fixed ; } main { margin: .5em; padding: .5em; min-height: 7em; - background: url("/images/p8-av4.xxs.jpg") 50% 20em repeat fixed ; + background: url("/images/p8-av4.xxs.jpg") 50% 20em no-repeat fixed ; } footer { margin: .5em; diff --git a/web/ChangeLog b/web/ChangeLog index 8959282b..73e28f22 100644 --- a/web/ChangeLog +++ b/web/ChangeLog @@ -1,3 +1,11 @@ +2015-10-02 Paul Schneider + + * style.css: style uniformisation, between small and large + screens + + * App.master: mainly cleans the code + additionaly, modifies the background speed for `nav` + 2015-10-02 Paul Schneider * Web.csproj: new images diff --git a/web/Models/App.master b/web/Models/App.master index ca312083..dcd7f21d 100644 --- a/web/Models/App.master +++ b/web/Models/App.master @@ -65,6 +65,7 @@ $(document).ready(function(){ var coords = '' + xPos + $bgobj.attr('orgbgpxu') + yPos + $bgobj.attr('orgbgpyu'); // Move the background $bgobj.css({ backgroundPosition: coords }); + // console.log($bgobj.get()[0].localName+' backgroundPosition: '+coords); }); }); }); @@ -93,7 +94,7 @@ $(document).ready(function(){ -