base.css 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. body {
  2. width: 100%;
  3. height: 100%;
  4. position: absolute;
  5. background: #000000;
  6. margin: 0;
  7. padding: 0;
  8. overscroll-behavior: none;
  9. }
  10. .container {
  11. width: 100%;
  12. height: 100%;
  13. position: relative;
  14. }
  15. .ui {
  16. width: 100%;
  17. height: 100%;
  18. position: absolute;
  19. top: 0;
  20. left: 0;
  21. font-family: 'IM Fell French Canon', serif;
  22. }
  23. .icon-bar-layout {
  24. position: absolute;
  25. bottom: 10px;
  26. width: 100%;
  27. display: flex;
  28. justify-content: center;
  29. }
  30. .icon-bar {
  31. width: 380px;
  32. height: 44px;
  33. display: flex;
  34. justify-content: left;
  35. background-image: url('./resources/ui/hotbar.png');
  36. background-size: cover;
  37. image-rendering: pixelated;
  38. }
  39. .icon-bar-item {
  40. background-size: cover;
  41. width: 36px;
  42. height: 36px;
  43. margin: 4px 3px;
  44. background-size: cover;
  45. image-rendering: pixelated;
  46. }
  47. .icon-bar-item:first-child {
  48. margin-left: 4px;
  49. }
  50. .icon-bar-item.highlight {
  51. outline: 6px solid rgb(237, 250, 116);
  52. animation: blink-animation 0.5s ease-in-out infinite;
  53. box-shadow: 0 0 20px #000000;
  54. }
  55. @keyframes blink-animation {
  56. to {
  57. opacity: 0.75;
  58. }
  59. }