Added Rules functionality
This commit is contained in:
72
styles.css
72
styles.css
@@ -12,14 +12,6 @@ body {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#footer {
|
||||
font-family: sans-serif;
|
||||
margin: 20px auto;
|
||||
max-width: 600px;
|
||||
padding: 20px;
|
||||
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 36px;
|
||||
color: white;
|
||||
@@ -31,10 +23,25 @@ h1 {
|
||||
border: 5px solid black;
|
||||
}
|
||||
|
||||
input[type="number"] {
|
||||
width: 80px;
|
||||
h2 {
|
||||
font-size: 24px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
|
||||
/* INPUTS */
|
||||
input[type="number"] {
|
||||
width: 80px;
|
||||
height: 20px; /* Adjust the height as needed */
|
||||
}
|
||||
/* Media query for smaller screens (e.g., mobile devices) */
|
||||
@media screen and (max-width: 480px) {
|
||||
input[type="number"] {
|
||||
height: 30px; /* Adjust the height for mobile devices */
|
||||
}
|
||||
}
|
||||
|
||||
/* LAYOUT */
|
||||
form,
|
||||
.wrap {
|
||||
margin: 20px auto;
|
||||
@@ -47,11 +54,7 @@ form,
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#setup,
|
||||
#balances,
|
||||
#transactions,
|
||||
#levies,
|
||||
#propertyList {
|
||||
.section {
|
||||
margin: 20px auto;
|
||||
max-width: 600px;
|
||||
padding: 20px;
|
||||
@@ -60,19 +63,31 @@ form,
|
||||
background-color: #c2e4d3;
|
||||
}
|
||||
|
||||
#setup h2,
|
||||
#balances h2,
|
||||
#transactions h2,
|
||||
#levies h2,
|
||||
#propertyList h2 {
|
||||
font-size: 24px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#output {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* RULES */
|
||||
#chosenRulesList {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
/* Style each rule item */
|
||||
.ruleItem {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.ruleText {
|
||||
flex: 1;
|
||||
}
|
||||
.deleteButton {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
/* PROPERTY */
|
||||
#propertyItems li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -83,3 +98,12 @@ form,
|
||||
padding: 5px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* MISC. ELEMENTS */
|
||||
#footer {
|
||||
font-family: sans-serif;
|
||||
margin: 20px auto;
|
||||
max-width: 600px;
|
||||
padding: 20px;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user