MonopolyLedger/styles.css
2023-07-20 17:02:16 +01:00

110 lines
1.7 KiB
CSS

@font-face {
font-family: 'Monopoly';
src: url('kabel.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
body {
font-family: 'Monopoly', sans-serif;
text-align: center;
margin: 0;
padding: 0;
}
h1 {
font-size: 36px;
color: white;
background-color: red;
text-transform: uppercase;
margin: 20px auto;
max-width: 600px;
padding: 20px;
border: 5px solid black;
}
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;
max-width: 600px;
padding: 20px;
border: 1px solid gray;
}
.centered-table {
margin: 0 auto;
}
.section {
margin: 20px auto;
max-width: 600px;
padding: 20px;
border: 5px solid lightblue;
border-radius: 1px;
background-color: #c2e4d3;
}
#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;
justify-content: space-between;
margin-bottom: 10px;
}
.ownershipDropdown {
padding: 5px;
font-size: 14px;
}
/* MISC. ELEMENTS */
#footer {
font-family: sans-serif;
margin: 20px auto;
max-width: 600px;
padding: 20px;
}