Skip to content

Commit

Permalink
Made AQI Calculator responsive (#1258)
Browse files Browse the repository at this point in the history
  • Loading branch information
m3kvt authored Jun 11, 2024
1 parent ae3589c commit ec835f6
Showing 1 changed file with 37 additions and 2 deletions.
39 changes: 37 additions & 2 deletions Calculators/Air-Quality-Index-Calculator/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,16 @@ body {
color: rgb(10, 10, 10);
text-align: center;
width: 40%;
height: 40%;
height: fit-content;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding-top: 50px;
}

#input-label {
font-size: 20px;
font-size: 23px;
font-weight: 500;
color: #000000;
margin-bottom: 20px;
}

#input-id {
Expand Down Expand Up @@ -72,3 +73,37 @@ button:hover {
justify-content: center;
font-weight: bold;
}

@media (max-width: 992px) {
.container {
width: 60%;
}
}

@media (max-width: 768px) {
.container {
width: 60%;
}

#input-id {
margin-top: 20px;
}
}

@media (max-width: 576px) {
.container {
width: 70%;
padding: 20px;
height: fit-content;
}

#input-id {
margin-top: 20px;
margin-bottom: 0px;
margin-left: 0px;
}

#input-label {
font-size: 15px;
}
}

0 comments on commit ec835f6

Please sign in to comment.