background.rml 503 B

123456789101112131415161718192021222324252627282930313233343536
  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. starfield
  20. {
  21. display: block;
  22. width: 100%;
  23. height: 100%;
  24. z-index: 1;
  25. decorator: stars;
  26. }
  27. </style>
  28. </head>
  29. <body>
  30. <img src="background.tga" />
  31. <starfield />
  32. </body>
  33. </rml>