The UI component of the AiteStory project.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
822 B

  1. /*
  2. * background.js magic
  3. */
  4. img#main-background {
  5. /* Set rules to fill background */
  6. width: 100%;
  7. /* Set up proportionate scaling */
  8. min-height: 100%;
  9. height: auto;
  10. /* Set up positioning */
  11. position: fixed;
  12. top: 0;
  13. left: 0;
  14. z-index: -1;
  15. user-select: none;
  16. }
  17. img#main-background.landscape {
  18. /* Set rules to fill background */
  19. height: 100%;
  20. /* Set up proportionate scaling */
  21. min-width: 100%;
  22. width: auto;
  23. }
  24. /*
  25. * Less glaring chrome/ium scrollbars.
  26. */
  27. ::-webkit-scrollbar {
  28. width: 2px;
  29. /* for vertical scrollbars */
  30. height: 2px;
  31. /* for horizontal scrollbars */
  32. }
  33. ::-webkit-scrollbar-button {
  34. background-color: #777;
  35. color: 000;
  36. display: none;
  37. }
  38. ::-webkit-scrollbar-track {
  39. background-color: #ccc;
  40. }
  41. ::-webkit-scrollbar-thumb {
  42. background-color: #777;
  43. color: #000;
  44. }