* style.css: style uniformisation, between small and large screens

* App.master: mainly cleans the code
additionaly, modifies the background speed for `nav`
vnext
Paul Schneider 9 years ago
parent 0fba423d06
commit 1e5b0c82e2
3 changed files with 13 additions and 4 deletions

@ -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;

@ -1,3 +1,11 @@
2015-10-02 Paul Schneider <paul@pschneider.fr>
* 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 <paul@pschneider.fr>
* Web.csproj: new images

@ -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(){
</header>
<nav data-type="background" data-speed="6" data-emheight="10" data-posx="0" data-posy="11" >
<nav data-type="background" data-speed="2">
<% if (Membership.GetUser()==null) { %>
<a href="<%= Url.Content("~/Account/Login/?returnUrl=") + Url.Encode( Request.Url.PathAndQuery )%>" >
<div class="menuitem">

Loading…