Modification du css et js pour accéder aux bonnes images

skamkraft_proto
Sacha Leone ago%!(EXTRA string=1 year)
parent 9e0fe1627b
commit b73672f469
  1. BIN
      assets/img/background.png
  2. 8
      css/style.css
  3. 6
      js/controllers/systems.js

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 91 KiB

@ -15,7 +15,7 @@
}
body {
background-image: url("/assets/img/background.jpg");
background-image: url("/assets/img/background.png");
font-family: 'M42';
font-size: 7px;
margin: 0px;
@ -102,9 +102,9 @@ footer {
}
.nav-nav .nav-links {
--links-color: rgb(0,0,0);
--links-backcolor: rgb(255, 123, 71);
--links-border-color: rgb(255, 173, 118);
--links-color: rgb(255, 255, 255);
--links-backcolor: rgb(0, 0, 0);
--links-border-color: rgb(255, 255, 255);
height: 70%;
display: flex;
justify-content: space-between;

@ -26,12 +26,12 @@ function draw_system(system) {
offsetY: 0,
});
fabric.Image.fromURL('/assets/systems/galaxie1.png', function(img_planet) {
fabric.Image.fromURL('/assets/systems/bluesystem.png', function(img_planet) {
img_planet.set({
selectable: false,
scaleX: 0.05,
scaleY: 0.05,
scaleX: 0.20,
scaleY: 0.20,
shadow: shadow,
left: system.position.x/offset.x + w/2,
top: system.position.y/offset.y+ h/2,

Loading…
Cancel
Save