A pixel art painter geared specifically at NES pixel art. Includes export for .chr binary file as well as palette and namespace data.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

nespaint.scss 1.3KB

il y a 6 ans
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. .text-align-right{
  25. text-align: right;
  26. }
  27. div.NES-palette{
  28. font-size:0.55em;
  29. }
  30. .NES-palette button{
  31. width:2rem;
  32. }
  33. span.color-NES-06{
  34. background-color:#000;
  35. color:#A80020;
  36. }
  37. /* NOTE: Modal styles were borrowed from
  38. * https://www.w3schools.com/howto/howto_css_modals.asp
  39. * and modified.
  40. */
  41. /* The Modal (background) */
  42. .modal {
  43. display: none; /* Hidden by default */
  44. position: fixed; /* Stay in place */
  45. z-index: 1; /* Sit on top */
  46. left: 0;
  47. top: 0;
  48. width: 100%; /* Full width */
  49. height: 100%; /* Full height */
  50. overflow: hidden;
  51. background-color: rgb(0,0,0); /* Fallback color */
  52. background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  53. }
  54. .modal-visible {
  55. display: block;
  56. }
  57. /* Modal Content/Box */
  58. .modal-content {
  59. background-color: #fefefe;
  60. margin: 15% auto; /* 15% from the top and centered */
  61. padding: 20px;
  62. border: 1px solid #888;
  63. width: 80%; /* Could be more or less, depending on screen size */
  64. }