background.rml 561 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <rml>
  2. <head>
  3. <style>
  4. body
  5. {
  6. width: 100%;
  7. height: 100%;
  8. z-index: -1;
  9. }
  10. @decorator stars : starfield {
  11. num-layers: 5;
  12. top-colour: #fffc;
  13. bottom-colour: #fff3;
  14. top-speed: 80.0;
  15. bottom-speed: 20.0;
  16. top-density: 8;
  17. bottom-density: 20;
  18. }
  19. img, starfield
  20. {
  21. display: block;
  22. position: absolute;
  23. top: 0;
  24. left: 0;
  25. }
  26. starfield
  27. {
  28. decorator: stars;
  29. width: 100%;
  30. height: 100%;
  31. }
  32. </style>
  33. </head>
  34. <body>
  35. <img src="background.tga" />
  36. <starfield />
  37. </body>
  38. </rml>