add styling

This commit is contained in:
Marius Cerchez
2026-02-27 13:43:14 +02:00
parent 9148676625
commit 82bd8786cc
2 changed files with 34 additions and 10 deletions

View File

@@ -12,16 +12,40 @@ body {
.calculator {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
border-collapse: collapse;
border-radius: 0;
}
.display {
#display {
grid-column: 1 / 5;
height: 50px;
width: 200px;
height: 100px;
width: 400px;
background-color: black;
color: white;
text-align: right;
font-size: 75px;
}
button {
height: 50px;
height: 100px;
font-size: 50px;
background-color: #d8d9db;
border: 1px solid black;
padding: 0;
}
button:hover {
background-color: #ebebeb;
}
.operator {
background-color: #df974c;
color: white;
}
.operator:hover {
background-color: #dfb07e;
}
.clear {