styles.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. @font-face {
  2. font-family: 'Monopoly';
  3. src: url('kabel.ttf') format('truetype');
  4. font-weight: normal;
  5. font-style: normal;
  6. }
  7. body {
  8. font-family: 'Monopoly', sans-serif;
  9. text-align: center;
  10. margin: 0;
  11. padding: 0;
  12. }
  13. h1 {
  14. font-size: 36px;
  15. color: white;
  16. background-color: red;
  17. text-transform: uppercase;
  18. margin: 20px auto;
  19. max-width: 600px;
  20. padding: 20px;
  21. border: 5px solid black;
  22. }
  23. h2 {
  24. font-size: 24px;
  25. margin-bottom: 10px;
  26. }
  27. /* INPUTS */
  28. input[type="number"] {
  29. width: 80px;
  30. height: 20px; /* Adjust the height as needed */
  31. }
  32. /* Media query for smaller screens (e.g., mobile devices) */
  33. @media screen and (max-width: 480px) {
  34. input[type="number"] {
  35. height: 30px; /* Adjust the height for mobile devices */
  36. }
  37. }
  38. /* LAYOUT */
  39. form,
  40. .wrap {
  41. margin: 20px auto;
  42. max-width: 600px;
  43. padding: 20px;
  44. border: 1px solid gray;
  45. }
  46. .centered-table {
  47. margin: 0 auto;
  48. }
  49. .section {
  50. margin: 20px auto;
  51. max-width: 600px;
  52. padding: 20px;
  53. border: 5px solid lightblue;
  54. border-radius: 1px;
  55. background-color: #c2e4d3;
  56. }
  57. #output {
  58. text-align: center;
  59. }
  60. /* RULES */
  61. #chosenRulesList {
  62. list-style: none;
  63. padding: 0;
  64. margin: 0;
  65. }
  66. /* Style each rule item */
  67. .ruleItem {
  68. display: flex;
  69. align-items: center;
  70. justify-content: space-between;
  71. margin-bottom: 5px;
  72. }
  73. .ruleText {
  74. flex: 1;
  75. }
  76. .deleteButton {
  77. margin-left: 10px;
  78. }
  79. /* PROPERTY */
  80. #propertyItems li {
  81. display: flex;
  82. align-items: center;
  83. justify-content: space-between;
  84. margin-bottom: 10px;
  85. }
  86. .ownershipDropdown {
  87. padding: 5px;
  88. font-size: 14px;
  89. }
  90. /* MISC. ELEMENTS */
  91. #footer {
  92. font-family: sans-serif;
  93. margin: 20px auto;
  94. max-width: 600px;
  95. padding: 20px;
  96. }