A pixel art painter geared specifically at NES pixel art. Includes export for .chr binary file as well as palette and namespace data.
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.

76 lines
1.2KB

  1. body{
  2. background-color:#303030;
  3. font-family: 'Roboto', sans-serif;
  4. }
  5. .pure-menu{
  6. background-color:#6200EE;
  7. color:#FFF;
  8. }
  9. #painter{
  10. background-color:#212121;
  11. width:100%;
  12. height:100%;
  13. }
  14. .content-wrapper{
  15. width:100%;
  16. height:100%;
  17. overflow:hidden;
  18. }
  19. .simple-padding{
  20. padding-top: 4px;
  21. padding-left: 8px;
  22. padding-right: 8px;
  23. }
  24. div.NES-palette{
  25. font-size:0.55em;
  26. }
  27. .NES-palette button{
  28. width:2rem;
  29. }
  30. span.color-NES-06{
  31. background-color:#000;
  32. color:#A80020;
  33. }
  34. /* NOTE: Modal styles were borrowed from
  35. * https://www.w3schools.com/howto/howto_css_modals.asp
  36. * and modified.
  37. */
  38. /* The Modal (background) */
  39. .modal {
  40. display: none; /* Hidden by default */
  41. position: fixed; /* Stay in place */
  42. z-index: 1; /* Sit on top */
  43. left: 0;
  44. top: 0;
  45. width: 100%; /* Full width */
  46. height: 100%; /* Full height */
  47. overflow: hidden;
  48. background-color: rgb(0,0,0); /* Fallback color */
  49. background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  50. }
  51. .modal-visible {
  52. display: block;
  53. }
  54. /* Modal Content/Box */
  55. .modal-content {
  56. background-color: #fefefe;
  57. margin: 15% auto; /* 15% from the top and centered */
  58. padding: 20px;
  59. border: 1px solid #888;
  60. width: 80%; /* Could be more or less, depending on screen size */
  61. }